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


  • Follow-Ups:
    • Re: GraphicConverter scripting help
      • From: Bill Briggs <email@hidden>
References: 
 >Re: GraphicConverter scripting help (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: GraphicConverter scripting help
  • Next by Date: [ANN] New FooDoo
  • Previous by thread: Re: GraphicConverter scripting help
  • Next by thread: Re: GraphicConverter scripting help
  • Index(es):
    • Date
    • Thread