- Create a project named
Say the time
and navigate to it. - Create a task
Say the time
: - Action: Variable Split
3. Name: %TIME
3. Splitter:
.
(a dot) - Action: Say
3. Text:
%TIME1 %TIME2
3. Stream:Media
- Create a task
[Say the time] Screen on
: - Action: Variable Set
3. Name:
%ScreenOnTime
3. To:%TIMEMS
- Create a task
[Say the time] Set time variables
: - Action: Variable Set
3. Name:
%TimePassed
3. To:%ScreenOffTime-%ScreenOnTime
3. If:%ScreenOffTime > %ScreenOnTime
- Action: Variable Set
3. Name:
%TimeThreshold
3. To:2000
- Action: Variable Set
3. Name:
%TimePassedCheck
3. To:1
3. If:%TimePassed < %TimeThreshold
- Action: Variable Set
3. Name:
%TimePassedCheck
3. To:0
3. If:%TimePassed > %TimeThreshold
- Create a task
[Say the time] Screen off
: - Action: Variable Set
3. Name:
%ScreenOffTime
3. To:%TIMEMS
- Action: Perform Task
3. Name:
[Say the time] Set time variables
- Action: Perform Task
3. Name:
Say the time
3. If:%TimePassedCheck = 1
- Create a profile:
- State: Headset Plugged
- Event: Display On
- Enter task:
[Say the time] Screen on
- Create a profile:
- State: Headset Plugged
- Event: Display Off
- Enter task:
[Say the time] Screen off
Last active
December 15, 2015 15:18
-
-
Save ravicious/5280241 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment