Groups
Groups
Sign in
Groups
Groups
Tasker
Conversations
About
Send feedback
Help
Tasker -> If (math and pattern matching)
214 views
Skip to first unread message
RogueSpear
unread,
Oct 13, 2010, 10:25:37 PM
10/13/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tasker
I've just discovered that you can do addition or subtraction with
variables in an If statement:
%NEARHOME=1
%ATHOME=1
If %NEARHOME + %ATHOME = 2
I am wondering if I can use Tasker's pattern matching or ( / ) in this
fashion. Or would that be interpreted as performing math division?
BossMan
unread,
Oct 14, 2010, 3:56:56 AM
10/14/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tasker
You can, but the syntax is different then regexp's. See this:
http://tasker.dinglisch.net/userguide/userguide_matching.html
BR,
A.
RogueSpear
unread,
Oct 14, 2010, 8:38:33 AM
10/14/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tasker
I must have read this 100 times:
" In the If condition of an action, when the ~ (match) or !~ (not
match) operators are specified. "
yet for some reason it did not register in my brain.
Thanks...
Reply all
Reply to author
Forward
0 new messages