Hello.
What I want to do is
Send Up or Down key to Acrobat DC while I'm in Different app (Sibelius)
I searched many topic. but none of them works.
Help please. I really need this
Thank you
Help : Send Up or Down key to Acrobat DC
-
- Posts: 4
- Joined: 15 Jul 2019, 03:36
-
- Posts: 4
- Joined: 15 Jul 2019, 03:36
Re: Help : Send Up or Down key to Acrobat DC
^n::
ControlSend,, {Down}, ahk_class Acrobat.exe
Return
I tried many things including above. but it doesn't work.
Can anyone correct this?
Thanks
ControlSend,, {Down}, ahk_class Acrobat.exe
Return
I tried many things including above. but it doesn't work.
Can anyone correct this?
Thanks
Re: Help : Send Up or Down key to Acrobat DC
I cannot test it, but you could try:
But it will probably only work on active and inactive windows, not minimized ones.
Also, try to run script as admin, if Acrobat runs with elevated rights...
Code: Select all
^n::
ControlFocus, , ahk_class Acrobat.exe
ControlSend,, {Down}, ahk_class Acrobat.exe
Return
Also, try to run script as admin, if Acrobat runs with elevated rights...
-
- Posts: 4
- Joined: 15 Jul 2019, 03:36
Re: Help : Send Up or Down key to Acrobat DC
Thank you for posting
But it doesn't work. Nothing happened.
I also tried admin.
I never use acrobat in minimized. It's always in active windows.
But it doesn't work. Nothing happened.
I also tried admin.
I never use acrobat in minimized. It's always in active windows.
-
- Posts: 4
- Joined: 15 Jul 2019, 03:36
Re: Help : Send Up or Down key to Acrobat DC
I Solved
!^+,::
ControlFocus, , ahk_exe Acrobat.exe
ControlSend,ahk_parent, {Up} , ahk_exe Acrobat.exe
Return
Thank you
!^+,::
ControlFocus, , ahk_exe Acrobat.exe
ControlSend,ahk_parent, {Up} , ahk_exe Acrobat.exe
Return
Thank you
Re: Help : Send Up or Down key to Acrobat DC
Hello evryone
please Mr.whereissun, tell me how you solved it
How do I get this information through "Active Window Info"?
[ahk _ parent]
Help please. I really learn
Thank you
please Mr.whereissun, tell me how you solved it
How do I get this information through "Active Window Info"?
[ahk _ parent]
Help please. I really learn
Thank you
- Attachments
-
- learn.png (7.07 KiB) Viewed 1189 times
Re: Help : Send Up or Down key to Acrobat DC
You don't Only by reading the docs and then using trial and error.
It's an option of ControlSend's first parameter Control
Using ControlSend succesfully with random programs is not an exact science - it often depends on trying different things...https://www.autohotkey.com/docs/commands/ControlSend.htm#Parameters wrote:Control
Can be either ClassNN (the classname and instance number of the control) or the control's text, both of which can be determined via Window Spy. When using text, the matching behavior is determined by SetTitleMatchMode. If this parameter is blank or omitted, the target window's topmost control will be used. If this parameter is ahk_parent, the keystrokes will be sent directly to the target window instead of one of its controls (see Automating Winamp for an example).
[...]
Who is online
Users browsing this forum: Araphen, Dobbythenerd1 and 314 guests