Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sahnert

macrumors 6502a
Original poster
Oct 20, 2003
505
63
Seattle
wrote my first script today. It works when I run it from the script editor, but when I put it in the scripts folder for GraphicConverter and run it from inside the app, GC crashed. I've tried putting it in both the User scripts folder and the regular one. Any suggestions?

tell application "GraphicConverter"
change contrast of the front window to 100
end tell


GraphicConverter 4.5.2
OS X 10.2.8

Thanks in advance


also when I run it in script editor it comes up with a new window called "the result" and it says "0". what's that all about?
 
I'm not familiar with AppleScript, but the "0" at the end probably means the script executed properly. At least that's what it means in C. If you get a "1", that means there was an error.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.