a question about "shift" Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
Posts: 4
Joined: 25 Nov 2016, 23:38

a question about "shift"

21 Nov 2017, 11:12

I want to develop a function like this:
1. if I press shift only ,it runs a subfunction(named foo)
2.if I press shift and other key, it doesn't run foo

how can I do it?
User avatar
Posts: 1148
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win7 x64 AHK: Unicode x32

Re: a question about "shift"  Topic is solved

21 Nov 2017, 13:01

Code: [Select all] [Download] GeSHi © Codebox Plus

~Shift up::
If !InStr(A_Priorkey,"Shift")
;Do other stuff here
SoundBeep ;Example
The more I know:
The more I know,
I know nothing.

Return to “Ask For Help”

Who is online

Users browsing this forum: 68martin68, Elendiar, Exaskryz, Flipeador, MannyKSoSo, TheDewd and 52 guests