• 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: 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

  • Follow-Ups:
    • Re: GraphicConverter scripting help
      • From: Johnny AppleScript <email@hidden>
    • Re: GraphicConverter scripting help
      • From: Michelle Steiner <email@hidden>
References: 
 >GraphicConverter scripting help (From: Russell McGaha <email@hidden>)

  • Prev by Date: Re: Make New Window in Terminal...
  • 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