3dit Posted May 6, 2010 Posted May 6, 2010 Newbie to autoit and trying to figure out a way to run an autoit file that will control the mouse clicks of a flash presentation that has been published as a .exe file. Trying to make a right mouse click become a right arrow press on the keyboard. Right now a right mouse click brings up a context window (hard wired in Flash). Working in VISTA environment.
DW1 Posted May 6, 2010 Posted May 6, 2010 maybe #Include <Misc.au3> While 1 Sleep(10) If _IsPressed(0x02) Then Send('{esc}'); leave the context menu Send('{right}'); press right EndIf WEnd AutoIt3 Online Help
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now