Snow Leopard, Files and AppleScript
Monday, September 14th, 2009Snow Leopard’s broken some of my AppleScripts in some weird way I don’t yet understand. After some debugging the problem seems to lie in files. Specifically files treated as strings. This no longer works:
set libraryFile to file "Macintosh HD:Users:elharo:Cafe Au Lait:support:CafeLib.scpt"
Nor does this:
set libraryFile to alias "Macintosh HD:Users:elharo:Cafe Au Lait:support:CafeLib.scpt"
They both die with
error “File alias Macintosh HD:Users:elharo:Cafe Au Lait:support:CafeLib.scpt of «script» wasn’t found.” number -43
Any ideas?
(more…)