Link in Zwischenablage kopieren
Kopiert
This script executes first entry from a Scripts with name starting with "f".
RWin::Send, !frf
How to press second entry (script) which name starts with f?
Example, Scriprs menu commans (scripts):
... exportDocs fitAndCenter fitSelection fitAndScale ...
Currently that script executes firAndCenter, but I need fitSelection.
1 richtige Antwort
it might not be possible. As an alternative, after pressing Alt+F, R, press the down arrow as many times as needed to highlight your menu item, then press Enter
Entdecken Sie verwandte Tutorials und Artikel
Link in Zwischenablage kopieren
Kopiert
it might not be possible. As an alternative, after pressing Alt+F, R, press the down arrow as many times as needed to highlight your menu item, then press Enter
Link in Zwischenablage kopieren
Kopiert
CarlosCanto's way of doing things made it possible. However, it could not be executed with the Windows key alone in my environment, so the following code is triggered with the Windows key + A.
; Syntax of AutoHotkey 2.0
#HotIf WinActive("ahk_exe Illustrator.exe")
#A::{
send("{Alt}frf{Down}{Enter}")
return
}
Link in Zwischenablage kopieren
Kopiert
@sttk3 it seems that
frf{Down}{Enter}
still executes the first script on f, at least for the first version of AutoHotkey
Link in Zwischenablage kopieren
Kopiert
It is written in AutoHotkey 2.0 syntax, so it should be run in 2.0.
And the fact that you chose CarlosCanto's method as the correct answer probably means that you have successfully rewritten it to AutoHotkey 1 syntax to make it work. Kindly leave a record of your results here. It will help us all.
Link in Zwischenablage kopieren
Kopiert
in my case accesing second script in the whole list was done by !fr{Down}{Enter} that's why it's strange that your option works, even despite the difference in syntax, the basic commands are the same

