Let me start off by saying that i am not even kind of good at this but have been slowly learning different things on my own. currently i have a program that i am running and i need a script that after i press and release the enter button there is a 5 second delay and then left click a specific coordinate. i have been trying to research this in the help section and reading over lots of material but i cant seem to figure this out. please help

need script to perform action after specific key press
Started by
durtydingus
, Oct 12 2015 02:19 AM
1 reply to this topic
Hi dirty dingus this is a wrong section
The correct is subforum Ask Questions
And so you will answer before
We used this?
#NoEnv #persistent #singleinstance force settitlematchmode,2 ; A window's title can contain WinTitle anywhere inside it to be a match. CoordMode, Screen xPos := 300 yPos := 500 Return #If WinActive("test") ; Only window contain in WinTitle "test" ~Enter:: KeyWait, Enter ; Wait until key Enter released. Sleep , 5000 ; Wait 5 seconds Click %xPos% , %yPos% ; Left click to xPos and Ypos coordinates Return #If
#2
-
Posted 13 October 2015 - 07:23 AM
