Re: creating logs of all actions performed
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