Snippet in script

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Snippet in script

Post by Rafi4 » 13 Jul 2019 14:05

hi
how can I use these things below listed snippet in script?

for (i in list)
{
}

for (i in [1 to 10])
{
}

while (condition)
{
}

[1 to 10]

thanks from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Snippet in script

Post by Desmanto » 14 Jul 2019 15:18

The snippet is a quick shortcut to some useful script block. Simply tap it to put it in inside script.
We have requested the feature to add our own snippet too.

So far, I am planning to document most of my scripting style and block. Then create a flow to help me inserting those script easily. Still planning, not yet really working on it.
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.

Post Reply