Re: GraphicConverter scripting help
Re: GraphicConverter scripting help
- Subject: Re: GraphicConverter scripting help
- From: Russell McGaha <email@hidden>
- Date: Fri, 24 Sep 2004 19:26:46 -0500
Folks;
I've about got it working; I now need some help setting a path. With the following:
set theFilename to "BHC-Pics/BPT20-112D.tiff"
tell application "GraphicConverter"
activate
set thePath to path to frontmost application as text
set thePath to thePath & "BHC-Pics"
new image from clipboard
save window 1 in(thePath & theFilename) as TIFF
close window 1
end tell
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" _______________________________________________
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