Jump to content
Sign in to follow this  
karolkapota

hot key

Recommended Posts

karolkapota

i need to put a hot key to this scrip but whit only 1 letter lets say ( letter p ) someone help please

#region ---Au3Recorder generated code Start ---

Opt("WinWaitDelay",100)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

_WinWaitActivate("Tagged - Pets | Home - Opera","")

MouseMove(305,393)

MouseDown("left")

MouseMove(308,390)

MouseUp("left")

MouseMove(357,547)

MouseDown("left")

MouseMove(358,543)

MouseUp("left")

#region --- Internal functions Au3Recorder Start ---

Func _WinWaitActivate($title,$text,$timeout=0)

WinWait($title,$text,$timeout)

If Not WinActive($title,$text) Then WinActivate($title,$text)

WinWaitActive($title,$text,$timeout)

EndFunc

#endregion --- Internal functions Au3Recorder End ---

#endregion --- Au3Recorder generated code End ---

Share this post


Link to post
Share on other sites
Paulie

Check out HotKeySet in the helpfile.

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  

×