Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Newbie: Repeat "ctrl+alt+f" periodically?


  • Please log in to reply
2 replies to this topic
brianhclo
  • Members
  • 1 posts
  • Last active: Oct 30 2015 10:39 AM
  • Joined: 30 Oct 2015

hi guys,

 

i need a program that could repeatedly execute "ctrl+alt+f" every 5 minutes for a specified period of time.

is this achievable with autohotkey? i havent downloaded autohotkey yet, would like to confirm it is possible first.

 

thanks alot!

 

 



Jackie Sztuk _Blackholyman
  • Spam Officer
  • 3757 posts
  • Last active: Apr 03 2016 08:47 PM
  • Joined: 28 Feb 2012
it's possible

example
#Persistent
SetTimer, Label, -300000 ; 5 mins in milliseconds
gosub label ; go to subrotuine at start up
return

Label:
Send ^!f ; ctrl = ^,	alt = !,	f = f,
return

esc::ExitApp ;exit the script

Helping%20you%20learn%20autohotkey.jpg?d

[AHK] Version. 1.1+ [CLOUD] DropBox ; Copy [WEBSITE] Blog ; About

Exaskryz
  • Members
  • 3249 posts
  • Last active: Nov 20 2015 05:30 AM
  • Joined: 23 Aug 2012

Of note, Jackie's code there will only send Ctrl+Alt+f two times. You mentioned in the original post you wanted it done every five minutes. You can do that by changing that -300000 into 300000.