Sign in to follow this  
Followers 0
dickjones007

how to make app from my script

5 posts in this topic

i made a script that works with site within internet explorer

is there some general way to make an app that works independent from IE?

Share this post


Link to post
Share on other sites



this is my script

While 1
ControlClick("Internet Explorer", "", "[CLASS:Button; TEXT:&Don't Send; INSTANCE:1]")
MouseClick("secondary",145,100)
Send("{down 3}")
Send("{enter}")
  If PixelGetColor(24, 140) == 0xF5DEB3 Then
   Sleep(1000)
   MouseClick("primary", 520, 265)
   Sleep(2000)
   MouseClick("primary", 520, 245)
  Else
   Sleep(1000)
  EndIf

$randtim = Random(2300, 4800, 1)
Sleep($randtim)
$checksum0 = PixelChecksum(86, 122, 127, 149)
$checksum1 = PixelChecksum(157, 124, 198, 151)
$checksum2 = PixelChecksum(199, 124, 240, 151)
$checksum3 = PixelChecksum(241, 124, 282, 151)
$checksum4 = PixelChecksum(283, 124, 324, 151)
$randomx1 = Random(163, 191, 1)
$randomx2 = Random(202, 237, 1)
$randomx3 = Random(245, 277, 1)
$randomx4 = Random(285, 320, 1)
$randomy1 = Random(126, 149, 1)
If $checksum0 = $checksum1 Then
  Sleep(1000)
  MouseClick("primary", $randomx1, $randomy1)
ElseIf $checksum0 = $checksum2 Then
  Sleep(1000)
  MouseClick("primary", $randomx2, $randomy1)
ElseIf $checksum0 = $checksum3 Then
  Sleep(1000)
  MouseClick("primary", $randomx3, $randomy1)
ElseIf $checksum0 = $checksum4 Then
  Sleep(1000)
  MouseClick("primary", $randomx4, $randomy1)
EndIf
Sleep(3000)
WEnd

its for something like "recognize the picture" project i am working on

so i want to put that into separate app

can my script work with "$oIE = _IECreateEmbedded ()" command somewhow

Share this post


Link to post
Share on other sites

can anyone help me?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0