• 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: Help -- going posix space crazy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help -- going posix space crazy


  • Subject: Re: Help -- going posix space crazy
  • From: John Delacour <email@hidden>
  • Date: Sat, 22 Feb 2003 09:38:24 +0000
  • Mac-eudora-version: 6.0a7

At 2:37 pm -0800 21/2/03, Chris Espinosa wrote:

Have you heard of the 'quoted form' property for strings and Unicode text?
It is very useful for creating things that can be used as parameters in do
shell script or sent to Terminal.

This is no good if you have a relative pathname such as "~/desktop/some file"

set f to quoted form of "~/desktop/some file"
try
do shell script "open " & f
on error e
e
end try
--> open[1138] No such file: ~/desktop/some file"

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

References: 
 >Re: Help -- going posix space crazy (From: "Chris Espinosa" <email@hidden>)

  • Prev by Date: Re: Help -- going posix space crazy
  • Next by Date: Re: Help -- going posix space crazy
  • Previous by thread: Re: Help -- going posix space crazy
  • Next by thread: Re: Help -- going posix space crazy
  • Index(es):
    • Date
    • Thread