Page 1 of 1

Why does ctrl+win+left not work?

Posted: 22 Jun 2021, 20:27
by milkygirl90

Code: Select all

::^#{Left}:: ;Snap Window to upper left quarter
msgbox, a ;doesn't activate unless I change to some other shortcut, such as ctrl+z
SendInput #{Left 2}{Up} ; how to simulate holding down win button? I tried ~ but it doesn't work too
return

Re: Why does ctrl+win+left not work?

Posted: 22 Jun 2021, 20:53
by boiler
That’s the syntax for a hotstring, not a hotkey (and not valid for either). Here’s the hotkey definition:

Code: Select all

^#Left::

Re: Why does ctrl+win+left not work?

Posted: 22 Jun 2021, 21:37
by milkygirl90
boiler wrote:
22 Jun 2021, 20:53
That’s the syntax for a hotstring, not a hotkey (and not valid for either). Here’s the hotkey definition:

Code: Select all

^#Left::
Thank you. how about the 2ⁿᵈ question?

Code: Select all

Send ~#{Left 2}{Up}

Re: Why does ctrl+win+left not work?

Posted: 22 Jun 2021, 21:42
by boiler

Code: Select all

Send {LWin down}{Left 2}{Up}{LWin up}

Re: Why does ctrl+win+left not work?

Posted: 23 Jun 2021, 04:13
by milkygirl90
works great, thanks!