tell application "BibDesk"
external of (get first item of group selection)
end tell
Christiaan
On Apr 9, 2010, at 13:29, Fischlin Andreas wrote:
> Hi all,
>
> What is the best way to determine in an AppleScript that current selection is
> with external publications? I guess something similar to this
>
> tell application "BibDesk"
> set theBibDeskDocu to first document
> set thePubs to selection of theBibDeskDocu
> if thePubs is not {} then
> tell theBibDeskDocu
> tell first item of thePubs
> set theCiteKey to get cite key
> set selectionIsExternal to theCiteKey is "cite-key"
> end tell
> end tell
> end if
> end tell
>
> is not the proper method to determine the value of selectionIsExternal. Is
> there a better one?
>
> Thanks for your help and cooperation.
>
> Sincerely yours,
> Andreas Fischlin
>
> ETH Zurich
> Prof. Dr. Andreas Fischlin
> Systems Ecology - Institute of Integrative Biology
> CHN E 21.1
> Universitaetstrasse 16
> 8092 Zurich
> SWITZERLAND
>
> [email protected]<mailto:[email protected]>
> www.sysecol.ethz.ch<http://www.sysecol.ethz.ch>
>
> +41 44 633-6090 phone
> +41 44 633-1136 fax
> +41 79 221-4657 mobile
>
> Make it as simple as possible, but distrust it!
> ________________________________________________________________________
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Bibdesk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users