AppleScript Editor, write message to the "Result" window

topskip picture topskip · May 1, 2010 · Viewed 59k times · Source

I am using the Mac OS X Apple Script Editor and (while debugging) instead of writing a lot of display dialog statements, I'd like to write the results of some calculation in the window below, called "Result" (I have the German UI here, so the translation is a guess). So is there a write/print statement that I can use for putting messages in the "standard out" window? I am not asking to put the messages in a logfile on the file system, it is purely temporary.

Answer

Paul R picture Paul R · May 1, 2010

You can use the log command, which puts messages into the Log History window, e.g.:


enter image description here