detect error

1,005 views
Skip to first unread message

Teasüti

unread,
Apr 11, 2012, 6:52:42 AM4/11/12
to Tasker
Hi again,
there are several tasks with "continue after error" option, but how
could I repeat last command after such one? Are there any opportunity
to detect errors in a task?

Sg like this maybe:
1. Say 'something' with Svox:language, continue after error
2. If %ERROR is set
3. clear variable %ERROR
4. goto 1.

Often occurs 'missing data' with Svox for example...

Thanks.

Pent

unread,
Apr 11, 2012, 8:54:01 AM4/11/12
to Tasker
> there are several tasks with "continue after error" option, but how
> could I repeat last command after such one? Are there any opportunity
> to detect errors in a task?

Only by putting it in a different task.

So:

Task: Do SVOX
1. Say Something (NOT continue on error)
2. Return OK

Task: The Actual Task
Perform Task Do SVOX, Return Variable %err
If %err Is Set
...

If the SVOX action fails, nothing will be returned.

Pent
Reply all
Reply to author
Forward
0 new messages