The Artima Developer Community
Sponsored Link

Java Buzz Forum
Snow Leopard, Files and AppleScript

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Elliotte Rusty Harold

Posts: 1573
Nickname: elharo
Registered: Apr, 2003

Elliotte Rusty Harold is an author, developer, and general kibitzer.
Snow Leopard, Files and AppleScript Posted: Sep 14, 2009 5:29 AM
Reply to this message Reply

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
Latest Java Buzz Posts
Latest Java Buzz Posts by Elliotte Rusty Harold
Latest Posts From Mokka mit Schlag

Advertisement

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

Any ideas?


Read: Snow Leopard, Files and AppleScript

Topic: 10 Ways Orkut Can Compete with Facebook Previous Topic   Next Topic Topic: Roamware acquisition outlines strategy to lead in global mobile financial services

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use