Heya darling. I read over your replies and i am wanting to reply and go further with my requests at a later time. At present im a lil stuck with something i thought would be fast and easy to create on the fly but i was wrong.
Im trying to make a flow to check if a file in my phone exist or not and if so to do other actions like read it or whatever. I tried a couple simple approaches but failed.
Please show me the light sweetie.
If exist
Moderator: Martin
Re: If exist
Hi Lucy
Use action "Init Variables File Info".
Select desired file name. Check file Exists. Use that variable in condition expression. See screen shot.
from record4
Use action "Init Variables File Info".
Select desired file name. Check file Exists. Use that variable in condition expression. See screen shot.
from record4
- Attachments
-
- Example screen shot
- IMG_20190929_154218-1.jpg (53.54 KiB) Viewed 11192 times
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: If exist
Lol thanks sweetie... i almost had what you gave me but was using wrong techniques
Re: If exist
If you already have the exact file path to check, simply use expression
Code: Select all
existsFile("/storage/emulated/0/Download/new file.txt");
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: If exist
Yepyep all good darling.. i got it up and running thank you.
Hey can i access the "recent apps list" and if so can i envoke the "swiping or clearing" of the recent apps?
Hey can i access the "recent apps list" and if so can i envoke the "swiping or clearing" of the recent apps?
Re: If exist
To get the result in string and reliable, you have to use execute root command, using the dumpsys command.
But if you only want to clear the recent app, you can use Control UI recents() and then find the command to swipe it out.
It is different in each ROM, so the script will be device-specific, not the same in all device.
But if you only want to clear the recent app, you can use Control UI recents() and then find the command to swipe it out.
It is different in each ROM, so the script will be device-specific, not the same in all device.
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.