This post originated from an RSS feed registered with Java Buzz
by Elliotte Rusty Harold.
Original Post: Snow Leopard, Files and AppleScript
Feed Title: Mokka mit Schlag
Feed URL: http://www.elharo.com/blog/feed/atom/?
Feed Description: Ranting and Raving
Snow 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