Getting reference type via Applescript

Users asking other users for AppleScripts that work with Bookends.
Post Reply
kseggleton
Posts: 43
Joined: Fri Jan 01, 2016 6:47 am

Getting reference type via Applescript

Post by kseggleton »

I was wondering if there is any way of getting the reference type via Applescript e.g. Journal, Book Chapter etc. It appears that reference type is stored as «class RIST» but I don't seem to be able to access it.
Jon
Site Admin
Posts: 10048
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Getting reference type via Applescript

Post by Jon »

You would ask Bookends to send you the reference in RIS format (the GUID AppleEvent). The reference type is given after the tag TY - that begins each reference.

Jon
Sonny Software
kseggleton
Posts: 43
Joined: Fri Jan 01, 2016 6:47 am

Re: Getting reference type via Applescript

Post by kseggleton »

Thanks Jon, that will do the trick
Post Reply