I am trying to quit an application so far I have this:
tell application "iChat" quit end tell
Its simple I know but I am really new to Applescript!!
I can run this but if there is an av chat running, the Finder or System Events (I think) throws up a dialog. I have found this in the library but I don’t know how to use it. Can someone please help me?
quit‚v : Quit the application.
[saving yes/no/ask] : Whether or not changed documents should be saved before closing.