Set focus on specific group or reference
Posted: Tue Dec 17, 2019 9:03 am
Is it possible to set the focus (using AppleScript) on a specific group or references of the front window?
I know how to get selected references (using "set ePubList to (selected publication items"), but I want to the opposite.
The reason is that once I select a given reference I want to trigger the "Autofill from Internet" --> "All fields (shit+Command+A) using:
Thanks!
I know how to get selected references (using "set ePubList to (selected publication items"), but I want to the opposite.
The reason is that once I select a given reference I want to trigger the "Autofill from Internet" --> "All fields (shit+Command+A) using:
Code: Select all
tell application "System Events"
tell application "Bookends" to activate
delay 0.5
key code 125
delay 0.5
keystroke "A" using {command down, shift down}
delay 2
end tell
Thanks!