รบกวนขอสคริป Login หน้าเวป [You must be registered and logged in to see this link.] หรือเวปต่างๆ
ผมอยากได้แต่เขียนไม่เป็นช่วยแนะนำหน่อยนะครับ
ผมอยากได้แต่เขียนไม่เป็นช่วยแนะนำหน่อยนะครับ
sandweekly พิมพ์ว่า:รบกวนขอสคริป Login หน้าเวป [You must be registered and logged in to see this link.] หรือเวปต่างๆ
ผมอยากได้แต่เขียนไม่เป็นช่วยแนะนำหน่อยนะครับ
#NoTrayIcon
Local $pid = Run(@ProgramFilesDir & "\Camfrog\Camfrog Video Chat\Camfrog Video Chat.exe")
If $pid = @error then Exit
if ProcessExists($pid) then
if WinWaitActive("Camfrog Video Chat") then ;active program
Local $Password = "xxx123"
If ControlGetText("Camfrog Video Chat", "", "[CLASS:CEditTS; INSTANCE:1]")<> $Password Then ;checked password
ControlSetText("Camfrog Video Chat", "", "[CLASS:CEditTS; INSTANCE:1]", $Password) ;send password
ControlFocus("Camfrog Video Chat", "", "[CLASS:CButtonTS; INSTANCE:3]") ;focus control passw
ControlSend("Camfrog Video Chat", "", "[CLASS:CButtonTS; INSTANCE:3]", "{Enter}") ;send ctrl logon
Else
ControlFocus("Camfrog Video Chat", "", "[CLASS:CButtonTS; INSTANCE:3]") ;focus ctrl
ControlSend("Camfrog Video Chat", "", "[CLASS:CButtonTS; INSTANCE:3]", "{Enter}") ;send ctrl logon
EndIf
EndIf
EndIf
if Not ProcessExists($pid) then Exit
|
|