Re: GraphicConverter scripting help
Re: GraphicConverter scripting help
- Subject: Re: GraphicConverter scripting help
- From: Brian Johnson <email@hidden>
- Date: Thu, 23 Sep 2004 21:09:46 -0700 (PDT)
On Thu, 23 Sep 2004, Paul Berkowitz wrote:
...- just saving it in a text file path doesn't work either. I don't
know how that can be:
perhaps I misunderstand, but the line I botched before came from a larger
script that says (in condensed form, and tested on OS 10.1.5, AS 1.8.2,
GC 4.5.1):
set destFldr to (choose folder with prompt "Destination:") as text
set theName to "dummy" -- for example
tell application "GraphicConverter"
activate
-- snippage
save window 1 in (destFldr & theName & ".jpg") as JPEG
end tell
Isn't that a text file path? I've no objection to "as file specification"
but OMMs it doesn't seem to be necessary???
BTW, by 'touchy' I meant that some GC commands are a little odd. The same
script I quoted above has 'open {alias theFile}' (where theFile is 'aFile
as string') in it, which I recall being less-than-obvious syntax (to me).
I thought there were other examples, but in my brief look, I didn't find
any more. GC, in general, is one of my favorite apps.
-Brian
_______________________________________________
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