Hi,
I am trying to open up Internet Explorer using Pixel Search,
But i keep getting Error.
Here is my script :
I am trying to open up Internet Explorer using Pixel Search,
But i keep getting Error.
Here is my script :
It finds the color then double clicks on it,but it cannot find the color,i hope some one can help me, +k for any one who canQuote:
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{Esc}", "Terminate")
HotKeySet("{HOME}","Start")
$InternetExplorer = 0x2A9EE6 ; Internet Explorers Color
MsgBox(4096,"","Go to DeskTop Before Pressing Home.")
While 1
sleep(10)
wend
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused".To resume press "Pause" again',0,0)
wend
ToolTip("")
EndFunc
Func Terminate()
MsgBox(4096,"","Press ok To close IE opener.")
Exit 0
EndFunc
Func Start()
If PixelSearch(@desktopwidth,@desktopheight,30,100,$I nternetExplorer) Then
ControlClick("Program Manager","",$Headkick,"Left","2",)
Else
MsgBox( 64, "Error", "Not found")
EndIf
EndFunc