• 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: save in alias, alias ignored
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GraphicConverter: save in alias, alias ignored


  • Subject: Re: GraphicConverter: save in alias, alias ignored
  • From: Simon Forster <email@hidden>
  • Date: Tue, 2 Mar 2004 16:16:40 +0000

On 2 Mar 2004, at 15:13, Walter Ian Kaye wrote:

I'm trying to script GC, but when I tell it to save a window in a file, it instead saves it into the original file, overwriting it. :/

Raiding the pantry:

--Saves frontmost window to file "theFile" as jpeg
--PicSaveJPEG("Warwick:Users:simonfor:Desktop:test.jpg")
--Returns true if successful
on PicSaveJPEG(theFile)
try
tell application "GraphicConverter" to save window 1 in theFile as JPEG with wwwready
on error
return false
end try
return true
end PicSaveJPEG

HTH

Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >GraphicConverter: save in alias, alias ignored (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: Re: Home directory
  • Next by Date: Re: File path info
  • Previous by thread: Re: GraphicConverter: save in alias, alias ignored
  • Next by thread: RE: GraphicConverter: save in alias, alias ignored
  • Index(es):
    • Date
    • Thread