• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: David Marshall <email@hidden>
  • Date: Sun, 10 Apr 2005 22:50:26 -0400

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
_______________________________________________
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


  • Follow-Ups:
    • Re: Shell script
      • From: Matthew Smith <email@hidden>
  • Prev by Date: Re: Make an alias file to a Finder item
  • Next by Date: Re: Shell script
  • Previous by thread: Re: Make an alias file to a Finder item
  • Next by thread: Re: Shell script
  • Index(es):
    • Date
    • Thread