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 Jon.
I looked into the possibility of using GUI scripting, but I couldn't find any "link" to specific group neither in the menubar menus nor by using "UI Browser" (https://pfiddlesoft.com/uibrowser).
It seems to me that "groups" are a kind of "ghost" in Bookends.
Any help would be very appreciated.
Thanks!
L.
As a suggestion, you could use "Keyboard Maestro" for such macro tasks in the GUI of any app.
I.e., record a macro that would click on the group that you need, or use Bookends' "Find a group" popup command and insert the group's name to search for it, all in KM's macro actions. KM also has actions that can execute menu commands in BE.
AppleScript can be included if you need to do more sophisticated things.
This is a bit of a "brute force" way of doing repeated tasks, and you watch the macro doing its steps, but it might save time nonetheless.