Search found 26 matches

by victorv
03 Feb 2019, 14:29
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

rommmcek wrote:
02 Feb 2019, 07:48
How strange! What about without tilde (both scripts)?
I didn't understand where to put tilde.
by victorv
03 Feb 2019, 14:28
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

Could you test the hotkeys with another keyboard? Some keyboards can't handle particular combinations of three keys, which is known as "key jamming and ghosting". https://en.wikipedia.org/wiki/Rollover_(key) The behavior is the same on the native keyboard (Dell XPS 9370) and with wireless keyboard ...
by victorv
02 Feb 2019, 07:45
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

LWin & Right:: ; ss := GetKeyState("Shift") ; ToolTip %ss% if GetKeyState("Shift") = 1 Send +{End} Else Send {End} Return LWin up::return LWin::return LWin & ~Shift up:: return ~Shift & LWin:: return LWin & ~Shift:: return This is almost the same behavior except that start menu is opened sometimes ...
by victorv
02 Feb 2019, 07:40
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

LWin & Right:: if ShiftState Send +{End} Else Send {End} ShiftState:= "" Return LShift & LWin:: LWin & ~LShift::ShiftState:= GetKeyState("Shift") This gives the same behavior. If I press first Shift then Win then Right, the cursor moves to the end of line selecting the text. But if I first press Wi...
by victorv
01 Feb 2019, 16:27
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

In the OP I might have missed other code. Here is the full version: LWin & Right:: ; ss := GetKeyState("Shift") ; ToolTip %ss% if GetKeyState("Shift") = 1 Send +{End} Else Send {End} Return LWin up::return LWin::return LWin & Shift up:: return Shift & LWin:: return LWin & Shift:: return If I press f...
by victorv
31 Jan 2019, 09:55
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

Nope, this also opens start menu.

Would you be available for Skype call for me to share my screen. Or for a TeamViewer session?
by victorv
30 Jan 2019, 14:12
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

I rename Cortana app dir so that it would not start. No it's gotten worse -- start menu is opens and doesn't go away.
Not sure it's worth to waste your and my time with this.
by victorv
30 Jan 2019, 05:33
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

This versions works the best: <#+Right:: Send, +{End}{Ctrl down} KeyWait, LWin Sleep, 25 ; wait a bit while Ctrl is still down blocking Start Menu Send, {Ctrl up} WinClose, ahk_exe SearchUI.exe ; deffinitly closes Start Menu if it was not blocked return ~LWin::Send {Blind}{vk07} LWin up::return I am...
by victorv
30 Jan 2019, 05:25
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

rommmcek wrote:
30 Jan 2019, 03:37
Just combine it with the best we have thill now:

Code: Select all

<#+Right::
	Send, +{End}{Ctrl down}{Esc up}
	KeyWait, LWin
	Send, {Ctrl up}{Esc up}
return
P.s.: Try to switch Esc & Ctrl keys too.
The same behaviour: sometimes works, sometimes not.
by victorv
30 Jan 2019, 02:39
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

<#+Right:: Send, +{End}{Ctrl down} KeyWait, LWin Send, {Ctrl up} return This works, but not always: sometimes flawlessly, sometimes you see start menu flickering, in rare cases the menu doesn't close. VK SC Type Up/Dn Elapsed Key Window --------------------------------------------------------------...
by victorv
29 Jan 2019, 13:13
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

Nothing of this fixes appearing of start menu.
It's too much to write to each attempt how it behaves.
https://stackoverflow.com/questions/50454872/using-autohotkey-on-windows-10-allows-window-key-to-open-start-menu -- a similar problem. Looks it's smth with Windows internals.
by victorv
28 Jan 2019, 04:14
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

<#+Right:: Send, +{End} Send, {Esc Up} Return VK SC Type Up/Dn Elapsed Key Window ------------------------------------------------------------------------------------------------------------- 5B 15B d 3.83 LWin shortcuts.ahk - SciTE4AutoHotkey A0 02A d 0.17 LShift 27 14D h d 0.14 Right 5B 15B i u 0...
by victorv
21 Jan 2019, 12:36
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

BTW, how I set up this site to send me email notifications about new replies?
by victorv
21 Jan 2019, 12:34
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

VK SC Type Up/Dn Elapsed Key Window ------------------------------------------------------------------------------------------------------------- 24 147 d 10.06 Home ... - PyCharm 24 147 u 0.08 Home 5B 15B d 0.94 LWin A0 02A d 0.14 LShift 27 14D h d 0.16 Right A0 02A i d 0.00 LShift 5B 15B i u 0.05...
by victorv
19 Jan 2019, 02:56
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

This explains it pretty well:https://autohotkey.com/docs/Hotkeys.htm#combo So for Control, Shift, Alt or Windows, I'd stick with ^, +, ! and #. I tried it both ways -- the behavior in my case is the same. My problem now is that after I press LWin&Shift&Right, the text is selected till the end of th...
by victorv
18 Jan 2019, 04:01
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

Nextron wrote:
16 Jan 2019, 12:34
Any reason you're using custom combination hotkeys for modifier keys instead of the conventional way?

Code: Select all

<#Right::Send {End}
<#+Right::Send +{End}
No particular reason. I am a novice and that way seemed to me more explicit. Is there a difference?
by victorv
15 Jan 2019, 10:10
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

Yes, it was a bad idea for Alt to be used for this purpose.
by victorv
15 Jan 2019, 04:54
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

I started SciTE4AutoHotkey as administrator then started the script from there. The behaviour is the same.
by victorv
15 Jan 2019, 04:22
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

I decided to switch to `Alt + Arrow` instead of using Win key. It works. Will see if any app uses Alt + Arrow for its purposes and it is inconvenient for me.

Thank you for your help!
by victorv
12 Jan 2019, 15:31
Forum: Ask for Help (v1)
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 12658

Re: Order of pressing modifier keys affects the result

Two things: - you forgot to include "physical" parameter. - did you close all other AutoHotkey scripts? P.s:: For me it works w/o problems. "P" makes not difference for this simple script. I have only one file. Editing it and reloading in SciTE4AutoHotkey. I have no idea why it works for you. AutoH...

Go to advanced search