• 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: GraphicConverter scripting help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GraphicConverter scripting help


  • Subject: Re: GraphicConverter scripting help
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 24 Sep 2004 17:32:36 -0700


On Sep 24, 2004, at 5:26 PM, Russell McGaha wrote:

How do I get just the path TO the current application, without including the application?
here's what I get now:
"Russell's TiBook:Applications:GraphicConverter US:GraphicConverter.appBHC-Pics:BPT20-112D.tiff"
here's what I want to get:
"Russell's TiBook:Applications:GraphicConverter US:BHC-Pics:BPT20-112D.tiff"

Ok, you get Russell's TiBook:Applications:GraphicConverter US:GraphicConverter.app from "set thePath to path to frontmost application as text"


There are a number of ways to do that.  This is probably the easiest:

tell application "Finder" to get folder of (path to frontmost application) as text

-- Michelle

--
A hula hoop with a nail in it is a navel destroyer.  -- Joe Parks

_______________________________________________
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


References: 
 >GraphicConverter scripting help (From: Russell McGaha <email@hidden>)
 >Re: GraphicConverter scripting help (From: Russell McGaha <email@hidden>)

  • Prev by Date: Re: GraphicConverter scripting help
  • Next by Date: Re: GraphicConverter scripting help
  • Previous by thread: Re: GraphicConverter scripting help
  • Next by thread: Re: GraphicConverter scripting help
  • Index(es):
    • Date
    • Thread