Page 1 of 1

How can I show the gleeo recoring project?

Posted: 10 Nov 2013 02:50
by heiyeliaoya
Hi,everyone.
I need for help about how to show the recording issue of gleeo time tracker on my widgets.
And how can I change the global variables in the flows?
Thank you.

Re: How can I show the gleeo recoring project?

Posted: 10 Nov 2013 10:21
by Martin
Hi,

You can build a flow that reacts to the recording started/stopped events.
Something like this should work:
Flow 1
-triggers Gleeo Recording Started
-action Script with script:
global_project_title=project_title;
global_task_name=task_name;
The started event will make the project title and the task name available in local variables project_title and task_name. The script assigns the content of the two variables to two global variables which can be accessed in a widget.

Flow 2
-triggers Gleeo Recording Stopped
-action Script: global_project_title=""; global_task_name=""

The global variables can be shown on the widget in a text element with following text:
{global_recording_project_title} - {global_recording_task_name}
Regards,
Martin