I took a glance at caffeine, and find that it is a menu bar item. I don't know how to write an AppleScript that will act on such items, though I do know what to do to access ordinary menu items. I would find such a script useful in other situations.
Once one has a suitable AppleScript, it has to be turned into a shell script, but that is easy. If it is important enough to you, and no-one provides a suitable AppleScript, get Jiggler as well and I can give you the details of a script. -- danco ------------------------------------------------------------------------ danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=42945 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
