• 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: osascript - path to me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osascript - path to me


  • Subject: Re: osascript - path to me
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 17 May 2002 16:58:21 -0700

On Friday, May 17, 2002, at 10:34 AM, Joakim Jardenberg wrote:

One of the many things that missbehave when I try to run a perfectly functional script thru osascript is (path to me)
It returns Application isn't running. (-600)

Ok, makes sense, kind of. But still - how do I get my script to learn where it is?

Ah, the implicit PATH bug rears its ugly head again. The API 'path to me' uses genuinely doesn't know where the executable is in this case (though -600 is a rather weird error code) because all it knows is the name "osascript".

If you run osascript using the full path (i.e., /usr/bin/osascript), it should work.



--Chris Nebel
AppleScript Engineering
_______________________________________________
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: 
 >osascript - path to me (From: Joakim Jardenberg <email@hidden>)

  • Prev by Date: Re: text offset slow in quark 4.11
  • Next by Date: Re: osascript - path to me
  • Previous by thread: osascript - path to me
  • Next by thread: Re: deep archives
  • Index(es):
    • Date
    • Thread