Hello.
I'm hoping someone can point me in the right direction to get me started...
I want to write a perl script that can gather the following simple info:
Has the screen blanker blanked the screen?
What's the front-most application?
What's it's window title?
I've been using a mac for a couple of years now but never needed to do
any mac-specific development. Mac-Glue and Mac-Carbon distributions
look wonderful (thanks Chris!) but somewhat daunting to the OSX novice.
I'm sure it's trivial. Hopefully someone can show me just how trivial ;-)
Tim.
p.s. I'm planning to implement a little script that'll log the info at
regular intervals and, from time to time, dump it into a SQLite db.
Another script will extract and summarize the info - including
determining what 'project' was being worked on - and report summary info
aggregated in various ways.