Tasker/Watchmaker Help
Moderator: Martin
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Tasker/Watchmaker Help
These are the only things watchmaker can do.
- Attachments
-
- Screenshot_20160725-195448.png (252.38 KiB) Viewed 27571 times
-
- Screenshot_20160725-195443.png (207.35 KiB) Viewed 27571 times
Re: Tasker/Watchmaker Help
"Run Script" looks interesting - a script should be able to touch a file or display/update a notification.
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Tasker/Watchmaker Help
I've been working on sending a variable to watchmaker and I've been able to get watchmaker to see the variable I'm sending but watchmaker seems to only read the variable and not the value.
I've attached the test flow I'm working on (ignore the triggers) so simply I'm entering the string "Hello World" into the variable temp. Then using the watchmaker plugin to send a tasker variable to watchmaker. I've also I attached the screenshot of what watchmaker sees.
http://automagic4android.com/flow.php?i ... e9a9e33839
I've attached the test flow I'm working on (ignore the triggers) so simply I'm entering the string "Hello World" into the variable temp. Then using the watchmaker plugin to send a tasker variable to watchmaker. I've also I attached the screenshot of what watchmaker sees.
http://automagic4android.com/flow.php?i ... e9a9e33839
- Attachments
-
- Screenshot_20160725-200240.png (276.41 KiB) Viewed 27573 times
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Tasker/Watchmaker Help
The problem I have now with Run script is that watchmaker uses Lua and I'm a complete novice when it comes to anything other than C.Bushmills wrote:"Run Script" looks interesting - a script should be able to touch a file or display/update a notification.
If I write {ttemp} = "Hello World" assuming it will send a tasker variable, the script editor reports violations.
The extra t at the start is for watchmaker to recognise it as a tasker variable.
But even if I could get the Lua language correct how can automagic be triggered?
Re: Tasker/Watchmaker Help
Trying to set lua variables is pointless, as Automagic doesn't monitor those. Enclosing them in curly brackets won't change that. And lua can't set Automagic variables, because it doesn't “see“ them - therefore is the Automagic global variable trigger pointless too.
As suggested, use script to touch a file, or write a notification - Automagic can trigger on those.But even if I could get the Lua language correct how can automagic be triggered?
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Tasker/Watchmaker Help
Yea i know that now, that's why I said ignore the triggers.
For now the only way I can trigger a flow from my watch is via the shortcuts that are manually triggered.
I'm trying to work on passing a variable to watchmaker from automagic.
For now the only way I can trigger a flow from my watch is via the shortcuts that are manually triggered.
I'm trying to work on passing a variable to watchmaker from automagic.
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Tasker/Watchmaker Help
How do I do that?Bushmills wrote:As suggested, use script to touch a file, or write a notification - Automagic can trigger on those.
Re: Tasker/Watchmaker Help
By using the file monitor trigger, or the status bar notification trigger. I'm not aware of their actual English names, because my device is localised differently (trigger names change with localisation).
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Tasker/Watchmaker Help
I'm sorry, I'm not being clear, how do I get watchmaker to edit a file or create a notification?
Re: Tasker/Watchmaker Help
That's best answered by somebody who knows watchmaker well enough, or lua better than I do.
My involvement with lua came to a sudden halt when I noticed that I needed external libraries for bitwise logic operators, and I haven't touched it since.
My involvement with lua came to a sudden halt when I noticed that I needed external libraries for bitwise logic operators, and I haven't touched it since.