• 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 & saving files in new places
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GraphicConverter & saving files in new places


  • Subject: Re: GraphicConverter & saving files in new places
  • From: Rob Jorgensen <email@hidden>
  • Date: Tue, 10 Dec 2002 13:50:45 -0500

At 9:40 PM -0500 11/8/02, Geoffrey F. Green wrote:

and then, in GC, I try to save the file in a new location

=====
on process_item(this_item, the_name, newSize, saveFolder)
tell application "GraphicConverter"
activate
-- photos manipulations snipped . . .
set JPEG quality of window 1 to 75
if ((name of window 1 ends with ".jpg")) is false then
set name of window 1 to name of window 1 & ".jpg"
end if
save window 1 in saveFolder as JPEG with wwwready
close window 1
end tell
end process_item

======
It seems to succeed until it reaches the "save" command -- the name of the
window indeed does change. But then I'm informed that a type "-1" error
occurred, and that I should go away.

Thanks for everyone's help. I can provide the entire script if anyone
thinks that will prove insightful. I'm running GC 4.4.4, though I don't
think the save functionality had changed before then for a while or has
changed since.

I'm running GC 4.4.4 in OS X 10.2.2 and I have the exact same problem. I've tried several variations and I am unable to script a save to a new location/non-existent file. Were you ever able to resolve this? If not, I guess I'll contact the GC developer to see if it's a known bug.

--

Rob Jorgensen
Ohio, USA
_______________________________________________
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.

  • Prev by Date: funny FM/AS/OE behavior - Help!
  • Next by Date: Re: funny FM/AS/OE behavior - Help!
  • Previous by thread: Re: funny FM/AS/OE behavior - Help!
  • Next by thread: Re: GraphicConverter & saving files in new places
  • Index(es):
    • Date
    • Thread