Automate windows operations to run when an F key is pressed This topic contains 1 reply, has 2 voices, and was last updated by Matt Bloomfield 2 years, 3 months ago. Author Posts November 19, 2015 at 9:45 am #32143 CHARALABOSParticipant Hello community Is there any way to automate a windows operation (eg sleep computer) when user presses an F key from the keyboard? How can this be scheduled? Thanks in advance... November 21, 2015 at 3:00 pm #32176 Matt BloomfieldParticipant I'm afraid it's not a PowerShell solution but have a look at AutoHotKey. Author Posts You must be logged in to reply to this topic.