Hi
I've worked up an Applescript to produce a calendar view as was requested a week or so ago, but I'm running into one problem: I can't actually add selected publications to a group.

Here's the approach I'm using:

tell application "BibDesk"
        tell document 1
                set targetGroup to make new static group with properties 
{name:"temp"}
                set thePublication to publication 1
                add thePublication to targetGroup
        end tell
end tell

which returns the following Applescript error: "BibDesk got an error: An error of type 6 has occurred."



I also found a problem with Applescript access to smart groups.

tell application "BibDesk"
        tell document 1
                set targetGroup to group 5
                publications of targetGroup
        end tell
end tell

(where group 5 is a smart group containing 20 items)
returns all the publications in the document, not just the ones included in the group, i.e. it doesn't respect the search conditions for the group.

Many thanks to the developers for adding group Applescript access....hopefully the adding and smart group read issues will be easy to fix.

Derick


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to