• 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
Re: creating logs of all actions performed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating logs of all actions performed


  • Subject: Re: creating logs of all actions performed
  • From: Graham Sprague <email@hidden>
  • Date: Wed, 29 Sep 2004 13:54:20 -0400

you can use "do shell script" command to create a log.

You can use it anywhere in your script with one exception, tell blocks
for classic apps will not understand it.


set logEntry to "Starting Up"
do shell script ("echo `date` "&logEntry)

set logEntry to "Ended"
do shell script ("echo `date` "&logEntry)

----- Original Message -----
From: Jasneet Kaur <email@hidden>
Date: Wed, 29 Sep 2004 15:29:58 +0530
Subject: creating logs of all actions performed
To: email@hidden




Hi,

I need to create logs of all the actions being performed as an apple
script is run, that is, not just on error, but in all cases. The log
should be made of each and everything that the script does.

Kindly help.





Thanks and Regards,

 Jasneet

For all the negative things we have to say to ourselves, God has a
positive answer.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden





--
Graham Sprague
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: creating logs of all actions performed
      • From: Johnny AppleScript <email@hidden>
References: 
 >creating logs of all actions performed (From: Jasneet Kaur <email@hidden>)

  • Prev by Date: Re: ftp transfer
  • Next by Date: Re: ftp transfer
  • Previous by thread: creating logs of all actions performed
  • Next by thread: Re: creating logs of all actions performed
  • Index(es):
    • Date
    • Thread