Re: Writing To A File
Re: Writing To A File
- Subject: Re: Writing To A File
- From: Randy Beaudreault <email@hidden>
- Date: Mon, 29 Sep 2003 23:40:35 -0700
Thanks to everyone here for posting their
thoughts. I found my solution by going back to a
one-time attempt using "do shell script." I
simplified my previous attempt and I have this as
the result:
set Current_Date to (day of (current date)) as string
do shell script "cat /Users/maccult/Library/Preferences/once-a-day"
if (result Current_Date) then
do shell script "echo " & Current_Date &
" > /Users/maccult/Library/Preferences/once-a-day"
run application "CaminoKnight"
delay 5
run application "MacJanitor"
delay 5
run application "Carbon Copy Cloner"
end if
This does exactly what I want.
--
Randy
OS X - UNIX for the rest of us
NetBSD - Catch the Power!
_______________________________________________
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.