Page 1 of 1

Notifications on Screen - Variables Option

Posted: 20 Aug 2020 00:50
by JC.INTERNET.STUFF
Hi,

Would it be possible to add the "Variables" button so there is an option to select and paste any variables names within the list?

Typing out {variable1}, {variable2}, {variable3}, etc, can become laborious at time.

Please advise.,

Thanks.

Julian

Re: Notifications on Screen - Variables Option

Posted: 20 Aug 2020 07:48
by Desmanto
At any element editing, tap 3 dot menu (top right) > Select Variable. Tap any variable exist until that point of execution to copy the variable name to the clipboard. You can then paste it anywhere. In case of script/expression type element, variable names are copied without curly braces (as this is the way it is used in those element). For non script type element, you get the curly braces.

But this is limited to the non map/list variable. If you use nested map/list, you still have to type manually the index or the key. Hence it is better to keep all variable names short but still easily distinguishable. Example : instead of variable1, use var1, or even v1.

Re: Notifications on Screen - Variables Option

Posted: 20 Aug 2020 09:09
by JC.INTERNET.STUFF
Hi, I see the 3 dot variable option in to the clipboard but it is not the same.

Wouldnt it be easy to simply add he same "Variables" button as in other triggers?

Julian

Re: Notifications on Screen - Variables Option

Posted: 20 Aug 2020 11:41
by Hit
Not a bad idea. But have you seen this?
http://automagic4android.com/forum/view ... f=5&t=8787

Re: Notifications on Screen - Variables Option

Posted: 21 Aug 2020 00:33
by JC.INTERNET.STUFF
Hi,

I just realised Automagic is been discontinued!

I guess ignore this request.

Julian