• 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
Filenames for Apple Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filenames for Apple Script


  • Subject: Filenames for Apple Script
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 19 Mar 2003 20:17:16 +0100

I am trying to use NSAppleScript.

And I want to do something like:

tell application "abc"
open "/tmp/aa" as alias
end tell

The problem is that AppleScript seems to want:
open "X10:private:tmp:aa" as alias

The question: how to convert a given filename into the AppleScript
format? Something like fileSystemRepresentationFitForAppleScript ?

Or: how to convince AppleScript to understand normal file notation?

Gerriet
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Filenames for Apple Script
      • From: Alex <email@hidden>
    • Re: Filenames for Apple Script
      • From: Seth Delackner <email@hidden>
  • Prev by Date: Re: How to distinguish if a file is a Document or an Application
  • Next by Date: Re: Filenames for Apple Script
  • Previous by thread: Re: How to distinguish if a file is a Document or an Application
  • Next by thread: Re: Filenames for Apple Script
  • Index(es):
    • Date
    • Thread