Search found 46 matches

by Randy31416
22 Jan 2015, 22:28
Forum: Ask For Help
Topic: Is it possible to map SHIFT?
Replies: 7
Views: 3228

Re: Is it possible to map SHIFT?

I have used "~LShift Up::RunSomeFunction()" successfully; I don't know if I've tried plain "~LShift::RunSomeFunction()". The ~ says to pass the keystroke along normally. This is in a very large complex script with many layers of hotkeys, so it sometimes has taken trial and error to get a key like th...
by Randy31416
21 Jan 2015, 17:04
Forum: Scripts and Functions
Topic: Traceback() - get stack trace
Replies: 5
Views: 2754

Re: Traceback() - get stack trace

This function works very nicely with interpreted AHK, but when I compile it (with the current version 1.1.19.01) and run the .exe all I get is a blank page -- no trace at all.
by Randy31416
20 Nov 2014, 12:20
Forum: Ask For Help
Topic: #IfWinActive numbers not working?
Replies: 10
Views: 2319

Re: #IfWinActive numbers not working?

Numpad keys are weird and change their names based on the current NumLock state. Possibly you have NumLock off, and in this case the key you want is NumpadIns. [edit add] When I'm working with the Numpad keys, I usually wind up defining both names for the physical key so that I don't have to worry a...
by Randy31416
13 Sep 2014, 21:12
Forum: Ask For Help
Topic: Menu color operand not coloring left part of menu
Replies: 0
Views: 597

Menu color operand not coloring left part of menu

The following test program pops up a menu for which a color has been specified. On Windows 7 64-bit, the entire menu gets this color. On my new Windows 8.1 64-bit installation, the left edge of the menu, where icons would go if icons were specified, does not get colored but is left a pale white. Is ...
by Randy31416
14 Jul 2014, 21:54
Forum: Ask For Help
Topic: #If and ~LButton Up confusion
Replies: 4
Views: 1794

Re: #If and ~LButton Up confusion

Thanks again.
by Randy31416
13 Jul 2014, 21:58
Forum: Ask For Help
Topic: #If and ~LButton Up confusion
Replies: 4
Views: 1794

#If and ~LButton Up confusion

Here is a simple test script. Q::ExitApp #If (Test() = 1) ~LButton Up::OutputDebug, TEST LBUTTON UP %A_ThisHotkey% ; the first hotkey line #If LButton Up::OutputDebug, NORMAL LBUTTON UP %A_ThisHotkey% ; the second hotkey line Test() { Return 0 } When executed, the script shows "NORMAL LBUTTON UP ~LB...

Go to advanced search