I went and did plugin - experimental
and i just can't figure out how to make automagic set a variable that zooper can see from there.
I just wanted to make like.. "BTSTAT" which would get either "on" or "off" and then make a zooper widget use #BTSTAT# to get on/off and then set things to use that.
Zooper widget - bluetooth?
Moderator: Martin
Re: Zooper widget - bluetooth?
Never try zooper. You can try to check the replace variable option in the plugin action.
You can also build your own widget in automagic, which will offer the best compatibility.
You can also build your own widget in automagic, which will offer the best compatibility.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Zooper widget - bluetooth?
Before creating action plugin you first need to store on/off in a variable.
So create a new script and Lets say variable name is stat.
Now create a zooper plugin action
Configure it like this
Now after saving tick on "replace variables/modify configuration" and replace
"stat" with stat (remove " from stat only)
Now in zooper set your variable to (an extra T needed before BTSTAT)
#TBTSTAT#
So create a new script and Lets say variable name is stat.
Code: Select all
stat = "on"
Configure it like this
Code: Select all
ZW Variable = BTSTAT
ZW Text = stat
"stat" with stat (remove " from stat only)
Now in zooper set your variable to (an extra T needed before BTSTAT)
#TBTSTAT#