Quote from ib7746:
I'm using Vista 64-bit and I get an error message when I try to open the file. Any options?
This should work on any windows x64 system.
Basically I re-wrote the same exact script for AutoIt which is the "Parent" of Autohotkey.
They share very similar Language and Functions, but AutoIt fully supports 64 bit arch.(at least,so they say)
You'll find X64, x32 and source file + ReadMe
Run X64 ofc.
as you can see the core of the script is not very different from AHK:
While 1
WinWait ("Order Confirmation")
Opt("MouseCoordMode", 1)
$pos = MouseGetPos()
if $pos[0] >= 300 Then
Opt("MouseCoordMode", 0)
MouseClick("primary", 278, 104, 1, 0)
Else
Opt("MouseCoordMode", 0)
MouseClick("primary", 50, 104, 1, 0)
EndIf
Opt("MouseCoordMode", 1)
Mousemove( $pos[0] ,$pos[1], 0)
WinWaitClose("Order Confirmation")
WEnd
Lemme know how it works, I currently don't use any 64 bit sys, so I couldn't test it, the 32 bit code works perfectly here