Search found 18 matches

by blza
12 Sep 2017, 10:54
Forum: Bug Reports
Topic: Can't restore the native function of a prefix key when #InputLevel is set to nonzero value
Replies: 1
Views: 275

Can't restore the native function of a prefix key when #InputLevel is set to nonzero value

I'm using the latest version of AHK (1.1.26.01) and the following script fails to send Space key to the active window when I release Space key. So Space key gets disabled. #InputLevel 1 Space & LAlt:: OutputDebug, %A_ThisHotkey% return Space:: OutputDebug, %A_ThisHotkey% Send, {Space} return Without...
by blza
11 Sep 2017, 15:27
Forum: Ask For Help
Topic: #InputLevel bug?
Replies: 4
Views: 232

Re: #InputLevel bug?

So does anybody have some information?
by blza
10 Sep 2017, 11:07
Forum: Ask For Help
Topic: #InputLevel bug?
Replies: 4
Views: 232

Re: #InputLevel bug?

What I want is to be able to use 'Space & LAlt' as a hotkey and preserve Space default function . Using ~Space or ~Space Up will result in sending 'Space' to active window when using 'Space & LAlt' hotkey, so it's not an option . So which is it? When pressing Space , you can't know up front, whethe...
by blza
08 Sep 2017, 13:04
Forum: Ask For Help
Topic: #InputLevel bug?
Replies: 4
Views: 232

Re: #InputLevel bug?

So which is it? When pressing Space , you can't know up front, whether LAlt is going to be pressed next. You can use *Space up::Send {Space} , to get some things to work, but it's not 'native'. It's a little more complicated. Hitting Space must definitely send Space. No matter if it will be sent up...
by blza
08 Sep 2017, 09:08
Forum: Ask For Help
Topic: #InputLevel bug?
Replies: 4
Views: 232

#InputLevel bug?

Hello, I have the following example script #InputLevel 1 Space & LAlt:: OutputDebug, %A_ThisHotkey% return *Space:: OutputDebug, %A_ThisHotkey% Send {Blind}{Space} return What I want is to be able to use 'Space & LAlt' as a hotkey and preserve Space default function. I have 'RWin & Space' hotkey def...
by blza
04 Sep 2015, 14:11
Forum: Ask For Help
Topic: Help get better this code
Replies: 1
Views: 426

Re: Help get better this code

You should roll out your own GUI. Take a look at Gui command in an the Autohotkey help file.
by blza
04 Sep 2015, 14:07
Forum: Ask For Help
Topic: Get info from a - ListView!
Replies: 2
Views: 534

Re: Get info from a - ListView!

Check LV_ functions in Autohotkey help file. You need LV_GetCount and LV_GetText in particular.
by blza
04 Sep 2015, 14:02
Forum: Ask For Help
Topic: ControlClick2 and OBS Multiplatform
Replies: 4
Views: 963

Re: ControlClick2 and OBS Multiplatform

You can always find out new class names using Window Spy (any AHK script running has an option to invoke it by right clicking on a tray icon). Have you set up new class names?
by blza
04 Sep 2015, 13:56
Forum: Ask For Help
Topic: trackpad detection?
Replies: 4
Views: 789

Re: trackpad detection?

1. Thank you both of your suggestions seem like interesting ones! 2. However, am I correct in thinking that both of your solutions will essentially target specific hardware devices and not be a generic solution that can detect either "any mouse" or "any trackpack" presence? Can't tell you. What's t...
by blza
04 Sep 2015, 05:29
Forum: Ask For Help
Topic: trackpad detection?
Replies: 4
Views: 789

Re: trackpad detection?

If it will not help you can google 'ahk two cursors', you will find a bunch of scripts that determines the presence of two pointing devices and handles commands coming from them differently.
by blza
04 Sep 2015, 05:25
Forum: Ask For Help
Topic: trackpad detection?
Replies: 4
Views: 789

Re: trackpad detection?

you can check this particular library if it will be of any help for you
http://www.autohotkey.com/board/topic/3 ... functions/
by blza
03 Sep 2015, 05:23
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Re: Can't remap anything to RButton if other scripts run in parallel

And btw it produces strange results in Key history:
Sometimes it's just single

Code: Select all

02  000	h	d	0.56	RButton    
sometimes

Code: Select all

02  000	h	d	2.37	RButton        	
02  000	s	u	0.00	RButton    
by blza
03 Sep 2015, 05:10
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Re: Can't remap anything to RButton if other scripts run in parallel

If you replace SendMode Input with the following, is there any change in behaviour with either one script or both scripts running? SendMode Event ; (this is the default setting) SetKeyDelay -1, 0 Yes, it produces a lot of repetition of h, u, a, s Rbutton events in Key History for a single press, bu...
by blza
02 Sep 2015, 09:27
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Re: Can't remap anything to RButton if other scripts run in parallel

The fact that you are seeing different behavior to everyone else is certainly an indicator that there is something odd about your setup. I know you tried the "Enable UI Access" code, but have you also tried running all the scripts as admin? Not that I am suggesting that as a solution, just as an at...
by blza
02 Sep 2015, 09:10
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Re: Can't remap anything to RButton if other scripts run in parallel

My guess is the second line won't show up, regardless if it's the only script running. Every thing shows up regardless of parallel scripts running (tested with and without). Even SendPlay works Run,Notepad.exe,,,PID WinWaitActive,ahk_pid %PID% SendInput SendInput works`n SendEvent SendEvent works t...
by blza
02 Sep 2015, 08:25
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Re: Can't remap anything to RButton if other scripts run in parallel

Are you aware / do you care that this code does not in fact "pass through" the right mouse button correctly? Yes, I'm aware that my code is not fully functional, in particular it does not support right mouse button dragging. All I wanted to show with it is that It seem to block RButton events from ...
by blza
02 Sep 2015, 03:08
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Re: Can't remap anything to RButton if other scripts run in parallel

I would expect this behaviour with SendMode InputThenPlay , but not SendMode Input . SendInput falls back to either SendEvent or SendPlay when you have another script which uses a hook (such as $Numpad0::Enter ), and SendPlay typically does not work at all if UAC is enabled. UAC is typically always...
by blza
01 Sep 2015, 09:48
Forum: Ask For Help
Topic: Can't remap anything to RButton if other scripts run in parallel
Replies: 12
Views: 1330

Can't remap anything to RButton if other scripts run in parallel

Hello, I want to extend the functionality of mouse buttons in a way Adam Push's in Rocker.ahk made it http://lifehacker.com/257609/navigate-backward-and-forward-with-rocker . I remember successfully using the original script but with the latest version (1.1.22.04) of Ahk it's somehow broken. Cutting...

Go to advanced search