• 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: Use an app by path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use an app by path


  • Subject: Re: Use an app by path
  • From: JJ <email@hidden>
  • Date: Thu, 21 Feb 2002 18:58:56 +0100

> This sounds really simple but for now I can't seem to remember how to
> write this pseudo-code:
>
> tell application "path of app as string"
> do thing
> end
>
> This is for a generic applet, so don't tell me about the trick with
> creator code since it won't work.
> So, is it possible to tell an app by path w/o having the stupid
> 'where is app?' dialog?

If you know the path, then you know the app's name.

But
under {OS 9.1, AS 1.5.5} this code works:

tell application "HD:Desktop Folder:Applet"
run
end tell

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

  • Prev by Date: Re: Use an app by path
  • Next by Date: Re: Can't re-name file with time stamp
  • Previous by thread: Re: Use an app by path
  • Next by thread: Run one script from another
  • Index(es):
    • Date
    • Thread