Re: Possible to automatically resume "normal" mode on specific days at specific times?

Ray Satiro <[email protected]> Wed, 6 Jun 2012 00:09:07 -0700 (PDT)
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
> From: "[email protected]" <[email protected]>

>
>I want to have workrave automatically switch to "normal" mode on weekdays at 9 AM.  Is there a way to schedule this or a way to communicate directly with the Workrave instance via port or through a CLI?
>


Yeah you can send menu commands via CLI. I've added two examples to the Workrave source, one that Rob Caelers wrote and one that I wrote. 
https://github.com/jay/workrave/commit/8a5ee65

If you don't want to compile one of them yourself, I compiled mine and it's up here:
http://cloud.github.com/downloads/jay/workrave/send_workrave_command.exe

C:\Users\Internet\Desktop>"send_workrave_command.exe" MENU_COMMAND_MODE_NORMAL
-
Copyright (C) 2012 Jay Satiro <[email protected]>
All rights reserved. License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
-

Sending Workrave command MENU_COMMAND_MODE_NORMAL...
Command sent.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/