Re: GraphicConverter scripting help
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