On Sep 10, 2010, at 18:40, Charles Turner wrote: > Hi all- > > I read with interest the recent thread about an application, but I went back > to fix an issue with my Applescript and found that this seems to be about all > you need to say to convert highlights: > > tell application "Skim" > convert notes document 1 > end tell > > I used to have to say something like: > > tell application "Skim" > convert notes document 1 > set theNotes to notes of document 1 > repeat with i in theNotes > if type of i is equal to highlight note then > set theRun to get text for (get selection of i) > set text of i to attribute run 1 of theRun > end if > end repeat > end tell > > So has the Applescript changed? If so, thanks so much! > > Best wishes, > > Charles >
No, this hasn't changed, except that you don't need to do the extra stuff anymore, because the text should already be set with the latest release. But Alex's gripe was that the AppleScript launches Skim, he wanted to convert notes without the need to do that. On the other hand, the AppleScript will still have some advantages over the (coming) tool. For instance, the tool won't be able to automatically set the text for highlights, it won't be able to handle password protected PDFs, and it won't be able to substitute some default properties (such as the font for anchored notes). Christiaan ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
