![]() |
2008-07-03
, 23:16
|
Posts: 34 |
Thanked: 21 times |
Joined on Feb 2008
|
#31
|
The Following User Says Thank You to austin For This Useful Post: | ||
![]() |
2008-07-04
, 05:44
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#32
|
![]() |
2008-07-04
, 11:45
|
Posts: 34 |
Thanked: 21 times |
Joined on Feb 2008
|
#33
|
![]() |
2008-07-04
, 13:34
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#34
|
But now that I think about it, I might change the overloading handler code in powerlaunch. Instead of only executing the one handler, it could just execute all, unless a special action is called to stop execution. I'll have to think about which case (overriding or chaining) is more common.
About the language, that's kind of funny given how this thread started...In fact, i purposely tried to simplify the core language as much as possible. I didn't want a full language so nested ifs and command blocks will likely never be implemented as it can be implemented in other ways.
Logical expressions are likely to be implemented as I'm thinking of moving all of expr into powerlaunch.
Note that you should be able to use expr to do logical expressions currently like if `expr $foo | $bar` ...
![]() |
2008-07-12
, 14:48
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#35
|
![]() |
2008-07-12
, 20:21
|
Posts: 34 |
Thanked: 21 times |
Joined on Feb 2008
|
#36
|
I do miss a way to force the wifi to turn off when going into softpoweroff in order to save power. I know mce.conf does not implement this, only 'off line mode' but that requires to manually take it out of 'off line mode' again, which is not what I want. So I guess I'll still have to figure out how use powerlaunch.conf. Or does softpoweroff mean that all processes including wi-fi are suspended?
softpoweroff = dbus_call powered SoftPowerOff; set in_softpoweroff 1; call system.device.offline_mode softpoweron = dbus_call powered SoftPowerOn; set in_softpoweroff 0; call system.device.normal_mode
The Following User Says Thank You to austin For This Useful Post: | ||
![]() |
2008-07-14
, 16:55
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#37
|
![]() |
2008-07-14
, 19:45
|
Posts: 34 |
Thanked: 21 times |
Joined on Feb 2008
|
#38
|
![]() |
2008-07-15
, 18:37
|
|
Posts: 282 |
Thanked: 120 times |
Joined on Nov 2007
|
#39
|
![]() |
2008-07-15
, 18:50
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#40
|