How can I show the gleeo recoring project?

Post your questions and help other users.

Moderator: Martin

Post Reply
heiyeliaoya
Posts: 1
Joined: 10 Nov 2013 02:41

How can I show the gleeo recoring project?

Post by heiyeliaoya » 10 Nov 2013 02:50

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: How can I show the gleeo recoring project?

Post by Martin » 10 Nov 2013 10:21

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

Post Reply