applescript newbie

Discussion in 'Mac Apps and Mac App Store' started by sahnert, Nov 30, 2003.

  1. sahnert macrumors 6502

    Oct 20, 2003
    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?
  2. MoparShaha macrumors 68000


    May 15, 2003
    San Francisco
    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.

Share This Page