Send, !Left or Alt + Left arrow, doesn't work Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
mls
Posts: 2
Joined: 04 Apr 2017, 15:48

Send, !Left or Alt + Left arrow, doesn't work

04 Apr 2017, 16:46

I downloaded your program a week ago, I am running on a PC with Windows 10
This Hot Key is run after signing into my Amazon Seller account. Starting from a order listing report and twice selecting hyperlinks brings me to a page containing an order's details .
The first two lines work fine, the order details are copied to the clipboard.
The last three lines are read, because I inserted a msgbox which does show on screen at end.
But no error messages show or anything else except I haven't been returned to the order listing report screen, I remain on the order details screen.

I did find this: Send may have no effect on Windows Vista or later if the active window is running administrative privileges and the script is not.
This is due to a security mechanism called User Interface Privilege Isolation.

Does any one know how to get this to work?
First try:

Code: Select all

!z::
send, ^a
send, ^c
send, LButton
send, !Left
send, !Left
msgbox After 2nd Alt Left arrow command 
Return
I also tried using instead of, send, !Left but this didn't work either

Code: Select all

send, Browser_Back
send, Browser_Back
Also tried , but this didn't work either

Code: Select all

Send, RButton
Send, b
Send, RButton
Send, b
Also tried Sleep, 1000 after each statement to no avail

I tried searching and read answers on Stackoverflow and SuperUser

I can perform all these using the keyboard and they do
Control + a = Select All
Control + c = Copy
Click Left Mouse button = everything selected is deselected
Press right mouse button = right menu appears
Select Back = Browser returns to prior screen
Press right mouse button = right menu appears
Select Back = Browser returns to screen I started at

[Mod edit: Added [code][/code] tags.]
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: Send, !Left or Alt + Left arrow, doesn't work  Topic is solved

04 Apr 2017, 17:49

Try Send !{Left}. Otherwise,you are doing Send Alt+L and then e then f then t.
mls
Posts: 2
Joined: 04 Apr 2017, 15:48

Re: Send, !Left or Alt + Left arrow, doesn't work

04 Apr 2017, 19:30

Adding those { } WORKED!!
Thank you SOOOOOOOOOOOOO much.
LAPIII
Posts: 669
Joined: 01 Aug 2021, 06:01

Re: Send, !Left or Alt + Left arrow, doesn't work

10 Jul 2022, 10:47

Can you help me? How can I write:

Code: Select all

!{Left}::
SendInput, x
return
User avatar
child_fs
Posts: 5
Joined: 05 Feb 2022, 12:58
Contact:

Re: Send, !Left or Alt + Left arrow, doesn't work

10 Jul 2022, 12:49

LAPIII wrote:
10 Jul 2022, 10:47
Can you help me? How can I write:

Code: Select all

!{Left}::
SendInput, x
return
You should not use the curly braces when writing the labels to hotkeys. So I'm betting you probably want something like:

Code: Select all

!Left::
SendInput, x
Return
Which will SendInput the "x" character everytime you press Alt+Left Arrow Key
ScooberDiver
Posts: 1
Joined: 10 May 2024, 00:07

Re: Send, !Left or Alt + Left arrow, doesn't work

10 May 2024, 00:11

By the way, both of these AHK commands stopped working in Chrome after installing Logitech's MyHarmony software for programming my universal infrared remote control. The problem went away after removing their app. It's kind of funky. These still worked fine in Edge browser and Windows File Explorer. It only breaks it in Chrome. So weird! I hope this helps someone.

Send !{Left}

Send {XButton1}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: mikeyww and 97 guests