- ©«¤l
- 32
- ¥DÃD
- 14
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2010-5-31
- ³Ì«áµn¿ý
- 2025-2-19
|
[µo°Ý] ¦Û¤w¼gªº¥é«öºë¥\¯àvba¡A¦Û°Êµn¤Jºô¶§@¤@³s¦êªº°Ê§@¡A¥Ø«e¤Ö¤F§PÂ_¸ü¤J§¹¦¨°Ê§@
¥»©«³Ì«á¥Ñ ¥®¸X¶é¸¤Ñ½Þ ©ó 2010-8-11 13:41 ½s¿è
¬ã¨s¤F1¤Ñ24¤p®É¨SºÎ~~
¥²³º¦Û¤wÀ´ªº¤£¦h~
¥u¦n¤W¨Ó¨D§U~~
¦]¬°¬Y¨Ç¨î¥u¯à¥Îvba¨Ó°õ¦æ~~
©ó¬O´N¼g¤FÃþ¦ü«öºëªºvba¨Ó¦Û°Ê°õ¦æ¤@¨Çµ{§Ç~
³oÓ½d¨Ò¬O·Q¥Î¦Û°Êµn¤Jºô¶~µn¤J«á·Qn¦b¥Î¦Û©wÁä½L·Æ¹«¼Ð°Ê§@¥h±o¨ì¦Û¤w·Qnªº¸ê®Æ
¥Ø«e¥d¦bªº¦a¤è¡A´N¬O·í¹«¼Ð¥hÂI§¹µn¤J«áªººô¶¡A«o¤£ª¾¤U¤@Ó¶±¦ó®É¥[¸ü§¹~
¤£ª¾¦p¦ó¥[¤Jµ{¦¡½X¨Ó§PÂ_¥[¸ü§¹¦¨¡AµM«á°õ¦æ¤U¤@ӷƹ«¼Ð°Ê§@
ºô¯¸³¡¤À¥Hyahoo«H½c¬°¨Ò
¥H¤U¬O§Úªºvba
'ºô¶--------¦¹³B¦³¿ìªk§PÂ_µn¤J§¹¦¨----------------
With CreateObject("InternetExplorer.Application")
.Visible = True
.navigate [ºô¶ºô§}]
Do Until .Readystate = 4
DoEvents
Loop
.Document.Forms(0).All("username").Value = [ºô¶±b¸¹] 'All("username").§äºô¶ªºì©lÀɦW¤l
.Document.Forms(0).All("passwd").Value = [ºô¶±K½X] 'All("username").§äºô¶ªºì©lÀɦW¤l
.Document.Forms(0).All(".save").Click 'All("username").§äºô¶ªºì©lÀɦW¤l
End With
'ºô¶------------------------
µn¤J«á¡A¤£ª¾µn¤J«áªº¥[¸ü¦ó®É§¹¦¨¡A¦]¬°¥H¤U±N¬°¹«¼Ð°Ê§@¡A¹«¼Ð°Ê§@«á±ÁÙ¦³¹«¼Ð°Ê§@
°ÝÃDÂI¦b©ó
With CreateObject("InternetExplorer.Application")
.Visible = True
.navigate [ºô¶ºô§}]
Do Until .Readystate = 4 ³o¬q½X§Úª¾¬Oµ¥«Ý¥[¸ü§¹¡A¦ý§Ú¹«¼Ð°Ê§@«á±ªººô¶¥[¸ü¡A³£¬°¦P¤@µøµ¡¡A¦Ó¥B¤]¤£»Ý·s¶}ºô¶¡A§Ú¸Ó¦p¦óקïÅý¥L§PÂ_¥[¸ü§¹¦¨¡A¦b±µ¤U¹«¼Ð°Ê§@DoEvents
Loop
.Document.Forms(0).All("username").Value = [ºô¶±b¸¹] 'All("username").§äºô¶ªºì©lÀɦW¤l
.Document.Forms(0).All("passwd").Value = [ºô¶±K½X] 'All("username").§äºô¶ªºì©lÀɦW¤l
.Document.Forms(0).All(".save").Click 'All("username").§äºô¶ªºì©lÀɦW¤l
End WithSleep 3000
For r = 3 To [¦h¤Ö«ü¥O] + 2
'·Æ¹«°Ê§@-------------------------------------------------
m = Cells(r, 1)
If m = "" Then
AppActivate [µ{¦¡¦W¤l]
GoTo noms
Else
AppActivate [µ{¦¡¦W¤l]
SetCursorPos Cells(r, 2), Cells(r, 3)
Sleep 200
'·Æ¹«°Ê§@-§PÂ_¥ª¥kÁä
If Cells(r, 1) = "¥ªÁä1" Then
¥ªÁä1
ElseIf Cells(r, 1) = "¥ªÁä2" Then
¥ªÁä2
ElseIf Cells(r, 1) = "¥kÁä1" Then
¥kÁä1
End If
'·Æ¹«°Ê§@-§PÂ_¥ª¥kÁä
'·Æ¹«°Ê§@-------------------------------------------------
End If
noms: '·Æ¹«°Ê§@¬°ªÅ¥Õ¸õ¨ì³o
'Áä½L°Ê§@-------------------------------------------------
x = Cells(r, 6)
If x = "" Then
Sleep [¼È°±]
GoTo nokey
Else
'Áä½L°Ê§@¦¸¼Æ-------------------------------------------------
y = Cells(r, 5)
If y = "" Then
Sleep 150
Application.SendKeys Cells(r, 6), True
Else
For n = 1 To Cells(r, 5)
Sleep 150
Application.SendKeys Cells(r, 6), True
Next n
End If
'Áä½L°Ê§@¦¸¼Æ
Sleep [¼È°±]
End If
'Áä½L°Ê§@-------------------------------------------------
nokey: 'Áä½L°Ê§@¬°ªÅ¥Õ¸õ¨ì³o
Next r |
-
-
auto.rar
(34.89 KB)
¥u¤í§PÂ_¡A«Ý°ª¤â«ü¾É¤F
|