No idea, your script works for me. Perhaps it's something involving symlinks. Or perhaps it's related to caching of the scripting dictionary. This release does not change any scripting support that's involved here. Perhaps it's
Christiaan On 23 Sep 2008, at 1:47 PM, Konrad Hofbauer wrote: > 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 > <SkimReload.sh> ------------------------------------------------------------------------- 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
