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

Re: Filenames for Apple Script


  • Subject: Re: Filenames for Apple Script
  • From: Alex <email@hidden>
  • Date: Wed, 19 Mar 2003 12:26:06 -0800

tell application "Finder"

set mypath to "/tmp/aa" as POSIX file
display dialog (get POSIX path of mypath)

end tell

See Scripting Additions dictionary in AppleScript Editor for further
information.

Alex

On Wednesday, March 19, 2003, at 11:17 AM, Gerriet M. Denkmann wrote:

> From: "Gerriet M. Denkmann" <email@hidden>
> Date: Wed Mar 19, 2003 11:17:16 AM US/Pacific
> To: email@hidden
> Subject: Filenames for Apple Script
>
> 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.

References: 
 >Filenames for Apple Script (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Filenames for Apple Script
  • Next by Date: Inactive notification
  • Previous by thread: Re: Filenames for Apple Script
  • Next by thread: Inactive notification
  • Index(es):
    • Date
    • Thread