Why does ctrl+win+left not work?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

Why does ctrl+win+left not work?

Post by milkygirl90 » 22 Jun 2021, 20:27

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
User avatar
boiler
Posts: 17043
Joined: 21 Dec 2014, 02:44

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

Post by boiler » 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::
User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

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

Post by milkygirl90 » 22 Jun 2021, 21:37

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}
User avatar
boiler
Posts: 17043
Joined: 21 Dec 2014, 02:44

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

Post by boiler » 22 Jun 2021, 21:42

Code: Select all

Send {LWin down}{Left 2}{Up}{LWin up}
User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

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

Post by milkygirl90 » 23 Jun 2021, 04:13

works great, thanks!
Post Reply

Return to “Ask for Help (v1)”