Hi Christiaan,

with the new version, the attached script to open and/or reload a file (based on a Wiki entry) does not open the file anymore.

The call (Bash script from Terminal)

/usr/bin/osascript -e 'set theFile to POSIX file "/private/tmp/lyx_tmpdir267EkRsIg/lyx_tmpbuf0/ths_master.pdf" as alias' -e 'tell application "Skim"' -e activate -e 'set theDocs to get documents whose path is (get POSIX path of theFile)' -e 'if (count of theDocs) > 0 then revert theDocs' -e 'open theFile' -e 'end tell' -

results in

247:259: execution error: Skim got an error: NSInternalScriptError (8)

Any idea?

Regards,
Konrad

Attachment: SkimReload.sh
Description: Bourne shell script

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to