View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#365
Originally Posted by techie View Post
Umm..that would mean
1. not setting @sight on at all resulting in execution of commands not intended to run when locked.
2. if @sight is set then all I can do is use $QBW_ON_SIGHTto check its status but that won't help me get it to run at regular intervals.
Look at my code and intended outcome, you will get my point
Meta code here:

Commands gets executed @timer and @DBUS lock/unlock event

Code:
$QBW_EXEC_REASON == QBW_TIMER_UPDATE?
   Yes:
      CheckTemp
      Underclock(Temp)
      exit
$QBW_EXEC_REASON == QBW_DBUS_MONITOR?
   Yes:
      Event == locked?
         Yes: Underclock()
         No: NormalClock()
      exit
Same widget makes it all!!!
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post: