• 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: Shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script


  • Subject: Re: Shell script
  • From: David Marshall <email@hidden>
  • Date: Sun, 10 Apr 2005 22:56:39 -0400

On April 10, 2005 10:50:26 PM EDT, David Marshall courted disfavor by omitting the subject line "Re: Shell script" from the following message:

On Sat, 9 Apr 2005 20:21:51 -0400, Neil Faiman wrote:

The "path to me" command in an AppleScript Studio application will
return the path to the application bundle itself, so you could probably
use


		return (do shell script (path to me) &
"/Contents/Resources/shellscript -un " & var) as string

Don't you need to hand a POSIX path to the do shell script command, though?


set objectFolder to (path to me) as string
	return (do shell script ((POSIX path of (objectFolder)) & ¬
		"/Contents/Resources/shellscript -un " & var))

- - - - -

Dave


Apologies to all.

- - - - -

Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: (no subject)
  • Next by Date: Re: Shell script
  • Previous by thread: Re: Shell script
  • Next by thread: InDesign: Copy graphic from one rectangle to another
  • Index(es):
    • Date
    • Thread