I want map the enter key to change to a double mouse click? How do I do this please?
Many thanks
Double left mouse click remap Topic is solved
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: Double left mouse click remap
Code: Select all
Enter::click 2
Re: Double left mouse click remap
Thats great mate thanks a lot and works as ive asked.....
But in my accountancy software if I have a customer list open add arrow key down to Customer A...
If I press enter it doesnt open Customer A it opens what ever customer my mouse is hovering over- is there a way to amend this?
Many Thanks in advance
But in my accountancy software if I have a customer list open add arrow key down to Customer A...
If I press enter it doesnt open Customer A it opens what ever customer my mouse is hovering over- is there a way to amend this?
Many Thanks in advance
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: Double left mouse click remap
Yes, you can fix that, but it depends on how exactly you want it to work. If you want it to work globally, minus specific windows, you could make an exception list. Alternatively, you could make it work only with a specific list of windows.
Or, you could do a manual toggle, but that's more of an inconvenience when you're doing things, rather than having it automatic.
Code: Select all
#if !winActive("Accounting Software") ; replace title as necessary (see WinTitle in the documentation)
; the ! prefix makes it work when the specified window is NOT active (it's the sign for a logical NOT), so to reverse that logic, just remove the !
; use && (logical AND) to add multiple function calls, like !winActive("Accounting Software") && !winActive("other window")
; if you don't use the !, use || (logical OR) instead for multiple calls, like winActive("window1") || winActive("window2")
Enter::click 2
#if
Re: Double left mouse click remap
Slight correction - you have your ands and ors backwards. It should be (false AND false AND false), or (true OR true OR true); (!WinActive || !WinActive) will always be true, and (WinActive && WinActive) will never be true, since only one window can be active at once.
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: Double left mouse click remap Topic is solved
This is true. Thanks for the catch, it's been a long day I've edited my post.
Who is online
Users browsing this forum: No registered users and 167 guests