0

I have a very simple question, any discussion about which I could not find anywhere: Can a Bibdesk Web group be made static?

Bibdesk Web group

As in the picture, I have google scholar. But when I quit it disappears. So, every time I have to go through: Bookmarks > Google Scholar. Is it possible to have (External) web groups permanently as of the Smart or Static groups?

2 Answers2

2

No. Static groups are groups of publications that have already been imported, and a set of static groups is saved as a property list in a BibTeX comment when you save a .bib file, as you can see if you open the .bib file in a text editor. Search groups and web groups only exist when BibDesk is running; they are not saved in the .bib file like static groups.

However, using AppleScript there are probably various ways to automate the opening of search groups and web groups. For example, if you wanted to open several search groups and web groups with one command, you could create an AppleScript that uses GUI scripting, something like the script below, and then save it in your BibDesk Scripts menu, and then assign it a keyboard shortcut in the Keyboard System Preferences, so you can open all the groups with one keyboard shortcut.

if application "BibDesk" is running then
    tell application "BibDesk" to activate
    try
        tell application "System Events" to tell process "BibDesk" to click menu item "Google Scholar" of its menu of menu bar item "Bookmarks" of menu bar 1
    end try
    try
        tell application "System Events" to tell process "BibDesk" to click menu item "Library of Congress" of its menu of menu bar item "Searches" of menu bar 1
    end try
end if
Big Mac
  • 410
1

Well, I got an answer in the Bibdesk web users group (bibdesk-users@lists.sourceforge.net) and it's even more precise (does not need for another step such as a keyboard shortcut as Big Mac's answer. This is from one of the core developer Christiaan:

  1. First make a script in the script editor with:
property startURL : "https://scholar.google.com"

using terms from application "BibDesk" on perform BibDesk action with publications thePubs for script hook theScriptHook set theDoc to get document of theScriptHook tell theDoc set URL of first web group to startURL end tell end perform BibDesk action with publications end using terms from

  1. Then go to Preferences > Script Hooks > point the Open Documents field to the script file.

Next time, open BibDesk & the opens automatically

  • 1
    I expected that there were other ways to do it with AppleScript, so I'm glad Christiaan shared this expert answer. Makes me look like the amateur that I am! – Big Mac Oct 11 '21 at 19:38