Is this script correct?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
andbusca
Posts: 2
Joined: 28 Oct 2017, 15:06

Is this script correct?

28 Oct 2017, 15:43

Hi! I need a script that send ctrl+up / down every 10 min. Is the following script correct to do this task?

SetTimer, ClickTimer, 2000
return

ClickTimer:
; If User has been idle for 10 mins
if (A_TimeIdle >= 600000)
send {control down}{up}{down}{control up}
return



Thanks everyone!
SpecialGuest
Posts: 26
Joined: 15 May 2016, 07:49

Re: Is this script correct?

28 Oct 2017, 15:53

Hello andbusca,
maybe try this instead:
send {control down}{up}{control up}{control down}{down}{control up}
otherwise it looks fine to me

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: mikeyww and 189 guests