Search found 4 matches

by lucius
Thu Dec 19, 2019 1:35 pm
Forum: Looking for AppleScripts…
Topic: Get every publication item from a smart group
Replies: 4
Views: 12950

Re: Get every publication item from a smart group

What do you mean ? Instead of the full list of groups ? Here you go: use AppleScript version "2.4" -- Yosemite (10.10) or later use scripting additions tell application "Bookends" tell front library window set GroupName to "read_it" set myPubs to publication items of gr...
by lucius
Wed Dec 18, 2019 3:00 am
Forum: Looking for AppleScripts…
Topic: Set focus on specific group or reference
Replies: 4
Views: 12631

Re: Set focus on specific group or reference

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...
by lucius
Tue Dec 17, 2019 9:23 am
Forum: Looking for AppleScripts…
Topic: Get every publication item from a smart group
Replies: 4
Views: 12950

Re: Get every publication item from a smart group

Try this: use AppleScript version "2.4" -- Yosemite (10.10) or later use scripting additions tell application "Bookends" tell front library window set GroupsList to every group item's name set the_selection to choose from list GroupsList if the_selection is false then error numbe...
by lucius
Tue Dec 17, 2019 9:03 am
Forum: Looking for AppleScripts…
Topic: Set focus on specific group or reference
Replies: 4
Views: 12631

Set focus on specific group or reference

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 t...