• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Script Editor - Feature Request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script Editor - Feature Request


  • Subject: Script Editor - Feature Request
  • From: David Hoerl <email@hidden>
  • Date: Wed, 5 Nov 2003 21:28:45 -0500

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.

  • Follow-Ups:
    • Re: Script Editor - Feature Request
      • From: Emmanuel <email@hidden>
    • Volume index bug in Panther?
      • From: Bill Briggs <email@hidden>
    • Re: Script Editor - Feature Request
      • From: Steve Mills <email@hidden>
    • Re: Script Editor - Feature Request
      • From: Tim Bumgarner <email@hidden>
  • Prev by Date: Converting Associative List to Record
  • Next by Date: Re: Script Editor - Feature Request
  • Previous by thread: Re: Converting Associative List to Record
  • Next by thread: Re: Script Editor - Feature Request
  • Index(es):
    • Date
    • Thread