Re: Script Editor - Feature Request
Re: Script Editor - Feature Request
- Subject: Re: Script Editor - Feature Request
- From: Tim Bumgarner <email@hidden>
- Date: Thu, 6 Nov 2003 08:49:13 -0500
Hi David,
If you switch to the "Event Log" tab in the script window or open the
"Event Log History" window, you can see all of the events and their
results as they are executing. In addition you can use 'log myVariable'
in your script and you will see the result in the event log as well.
I think this should give you what you are looking for.
Tim Bumgarner
AppleScript Engineering
On Nov 5, 2003, at 9:28 PM, David Hoerl wrote:
I'm just starting to learn Applescript with serious intent, and find
that there is one glaring ommission - some way to print messages to a
console.
For those people who grew up with UNIX shells, and programmed them, it
was always great to be able to write status messages to the terminal
so you could preflight a script and see what it was going to do before
you let it loose.
while reading "Applescript for Absolute Starters" what I really wanted
to do was play around with the various constructs, and print or log
output to a window, to see in real time what was going on.
My suggestion is to add a means to write to the results window - this
would do it! Right now, only the return value of the final command
shows up. What I'm looking for is a "log" function to send text to
this window. The final return value could still be there.
I was able to kludge this by declaring a global variable, and then
appending messages to it, then using this variable in the final line
of the script to get the complete output.
David
_______________________________________________
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.
_______________________________________________
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.