• 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: Stay open Apple Script to track all events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stay open Apple Script to track all events


  • Subject: Re: Stay open Apple Script to track all events
  • From: What does not kill you only makes you stronger <email@hidden>
  • Date: Sat, 10 Feb 2001 11:10:51 -0600

on 02/09/01 12:09 PM, email@hidden wrote:

> I there a script out there that stays open and just records any apple
> events that occur?
>
> I am trying to make sure that scripts are indeed firing off over night
> at the appropiat times.
>
> It would also need to record shut down and restarts as well.
>
> thanx

Why not just make your script write to a text file, and append a date/time
string to the same line..

That way you can check the text file to see exactly what is happening, and
what is not. I would also add to the error trapping to write errors to the
same file.. This should provide you with a pretty accurate idea of what is
happening..

(BTW: If you were to record apple events you would probably get far more
data than you bargained for. ;@)


on run
--do stuff
--write to text file time script started
end run

on idle
--do stuff
--write to text file time something was done
end

on quit
--write to text file time script quit
continue quit
end


References: 
 >Stay open Apple Script to track all events (From: Tod Hallberg <email@hidden>)

  • Prev by Date: Re: Keychain Scripting (Was Re: Keeping a volume Mounted)
  • Next by Date: Re: Keychain Scripting (Was Re: Keeping a volume Mounted)
  • Previous by thread: Stay open Apple Script to track all events
  • Next by thread: Ascii code freeware for keys/combos
  • Index(es):
    • Date
    • Thread