alt does not work

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
howiesun
Posts: 13
Joined: 15 Dec 2017, 15:35

alt does not work

16 Dec 2017, 22:06

I have tried

Numpad0::
send, +{Numpad1}
return

Numpad0::
send, {alt}{Numpad1}
return

Numpad0::
send, {LAlt Down}{Numpad1}
return
this one works but my Alt is stuck has to get unstuck by hitting alt physically

Numpad0::
send, {LAlt Down}{Numpad1}{LAlt Down}
return
doesnt work


help。。。。
User avatar
Dumitas
Posts: 167
Joined: 14 Dec 2017, 21:32

Re: alt does not work

16 Dec 2017, 22:14

This is one script or a few? what do you need it for? I mean you can't duplicate hotkeys.
Image
howiesun
Posts: 13
Joined: 15 Dec 2017, 15:35

Re: alt does not work

16 Dec 2017, 22:21

this is different ways I tested
Osprey
Posts: 453
Joined: 18 Nov 2017, 05:50

Re: alt does not work

16 Dec 2017, 23:23

I believe that you're looking for:

Code: Select all

Send, {alt down}{Numpad1}{alt up}
User avatar
Dumitas
Posts: 167
Joined: 14 Dec 2017, 21:32

Re: alt does not work

16 Dec 2017, 23:35

First add $ prefix if you are going to send the same key otherwise it triggers the script again (loop)



Also try KeyWait

Code: Select all

$Numpad0::
Send {LAlt}{Numpad1}
KeyWait, Numpad0
return
Image
howiesun
Posts: 13
Joined: 15 Dec 2017, 15:35

Re: alt does not work

17 Dec 2017, 00:24

Osprey wrote:I believe that you're looking for:

Code: Select all

Send, {alt down}{Numpad1}{alt up}

I did this but doesn't work
it does send 1 thru (on note pad I can see)
User avatar
Dumitas
Posts: 167
Joined: 14 Dec 2017, 21:32

Re: alt does not work

17 Dec 2017, 00:52

Oh.. now I undestand what you want.

This right? → ☺

Then do this:

Code: Select all

$Numpad0::
Send {Alt down}
Send {Numpad1}
Send {Alt up}
KeyWait, Numpad0
return
Image
Osprey
Posts: 453
Joined: 18 Nov 2017, 05:50

Re: alt does not work

17 Dec 2017, 01:23

howiesun wrote:I did this but doesn't work
it does send 1 thru (on note pad I can see)
It works for me when I use a different key. If you need to use Numpad0, have you tried NumpadIns (the name of the key when NumLock is off), instead?

Code: Select all

NumpadIns::Send {alt down}{Numpad1}{alt up}
That works for me. As the above poster noted, it produces a smiley face.
howiesun
Posts: 13
Joined: 15 Dec 2017, 15:35

Re: alt does not work

17 Dec 2017, 06:26

need additional help.
it works on note pad. typing etc.. but doesn't work properly in adobe premiere pro
i have to hold the button for half a second (feels like waiting for repeat...
John316
Posts: 13
Joined: 15 Dec 2017, 08:53

Re: alt does not work

17 Dec 2017, 06:33

Are any of those keys used in adobe premiere pro for hotkeys? Like Ctrl+N = Create new project. Does NumpadIns or Numpad1 have a function in premiere?
howiesun
Posts: 13
Joined: 15 Dec 2017, 15:35

Re: alt does not work

17 Dec 2017, 07:20

nope absolutely no shortcuts associated with numbers (numpad) and I double checked
(other than the command I am trying to send that's bind to alt
Osprey
Posts: 453
Joined: 18 Nov 2017, 05:50

Re: alt does not work

17 Dec 2017, 13:44

I would also try:

Code: Select all

NumpadIns::Send {alt down}{NumpadEnd}{alt up}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], mcd and 192 guests