.

Post your questions and help other users.

Moderator: Martin

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

.

Post by farshadmo368 » 05 Jun 2018 11:16

.
Last edited by farshadmo368 on 20 Jun 2018 02:16, edited 2 times in total.

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

Re: init variable app list

Post by Desmanto » 05 Jun 2018 18:27

Use Action Launch App. You can creat a list of the apps you want in the script and loop it almost like previous flow.

Thunder VPN seems doesn't support plugin integration. For other alternative VPN, you can check at my index, VPN section
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.

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

Re: init variable app list

Post by farshadmo368 » 05 Jun 2018 19:13

Thanks desmanto but i am not familiar with the script code please send the code

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

Re: init variable app list

Post by farshadmo368 » 06 Jun 2018 13:06

?????????

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

Re: init variable app list

Post by Desmanto » 06 Jun 2018 14:23

Just find the app packagename and use it in the list. The easiest way is to use Trigger App Package Event, choose all the app you want, OK. Copy the whole Package name field, and create a list something like this

Code: Select all

applist = newList("com.adobe.reader", "com.android.browser", "com.android.camera");
Use this as the replacement of the txt or pdf list that you have use before. Something like

Code: Select all

applist = newList("com.adobe.reader", "com.android.browser", "com.android.camera");
index = 0;
len = length(applist);
Then change the main action to Launch app and use {applist[index]} as the package name. Class name usually can be left blank.
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.

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

Re: init variable app list

Post by farshadmo368 » 06 Jun 2018 16:22

tnx

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

Re: init variable app list

Post by farshadmo368 » 10 Jun 2018 20:49

Hi, sorry I have a question.

I put five programs in the list. I want to start the first app after running the latest app, and never stop there, how?

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

Re: init variable app list

Post by farshadmo368 » 10 Jun 2018 20:51

I want to repeat and never stop.

like this
Run app 1
Run app 2
Run app 3
Run app 4
Repead
Run app 1
Run app 2
Run app 3
Run app 4
Repead
Run app 1
Run app 2
Run app 3
Run app 4
Repeat until ∞

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: init variable app list

Post by digitalstone » 10 Jun 2018 22:22

You could just loop the whole thing at flow-level.
Maybe put a "stop flow" action in between, coupled to a glovar to stop the flow.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

Re: init variable app list

Post by farshadmo368 » 11 Jun 2018 11:49

Tnx

Post Reply