Run Hazel when only connected to AC power

Posted:
Fri Apr 22, 2011 9:50 pm
by mikee754
is there a way to only run hazel rule (s) when my macbook is connect to AC power and not the battery?
Thanks
Re: Run Hazel when only connected to AC power

Posted:
Mon Apr 25, 2011 1:54 pm
by Mr_Noodle
No way to do that at the moment. Maybe you can record your user actions to an AppleScript/Automator and find a program that can detect switching from AC to battery to trigger it.
Also, keep in mind that the rule engine in version 3 is a lot more efficient and any battery drain should be minimal. Though if it is a big deal now you may want to look at your rules to see if anything you are doing is unnecessarily resource-intensive.