Pixel Search Click

04/10/2010 17:43 SaM.ThE.MaN#1
Hi,
I am trying to open up Internet Explorer using Pixel Search,
But i keep getting Error.
Here is my script :
Quote:
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
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 can
04/10/2010 18:54 Shadow992#2
Quote:
Originally Posted by SaM.ThE.MaN View Post
Hi,
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 can
There is a better way than yours to do this :
PHP Code:
ShellExecute("www.google.com"
04/10/2010 21:36 SaM.ThE.MaN#3
I dont wanna learn how to open websites -.-,I want to use pixel search and then after i find the color i want to click on it.
04/10/2010 21:54 Shadow992#4
Quote:
Originally Posted by SaM.ThE.MaN View Post
I dont wanna learn how to open websites -.-,I want to use pixel search and then after i find the color i want to click on it.
Sorry looked like :

Quote:
I am trying to open up Internet Explorer using Pixel Search,
04/11/2010 08:45 SaM.ThE.MaN#5
well this is there too :P
Quote:
using Pixel Search