• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OSX bug? is there a work around
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSX bug? is there a work around


  • Subject: Re: OSX bug? is there a work around
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 19 Oct 2001 11:01:24 -0700

On Friday, October 19, 2001, at 07:37 AM, Olivier Destrebecq wrote:

According to what i found this is not a bug, but a feature.

"When using the 'path to' scripting addition, if the request is for a system
folder that does not exist, it will not be created; instead, the error
'Folder is not available in this operating system version' is returned"

That's not a feature, that's a known bug.

Unfortunately, there isn't any particularly good workaround. The best I can suggest at the moment is to figure out where the folder ought to be somehow and then hard-code that location in your script, with a small bit of Finder scripting to create it if it doesn't exist.

The actual location of "temporary items" is a little weird, because it depends on your user id, but unless you're seriously concerned about multi-user security, anywhere in <startup disk>:private:tmp: will do.


--Chris Nebel
AppleScript Engineering


References: 
 >Re: OSX bug? is there a work around (From: Olivier Destrebecq <email@hidden>)

  • Prev by Date: Re: No 'Result Window' in Script Editor (Mac OS X)
  • Next by Date: Re: Converting an applescript from 68k app to PPC
  • Previous by thread: Re: OSX bug? is there a work around
  • Next by thread: Adding info to a Word doc
  • Index(es):
    • Date
    • Thread