I have the List Files action set to list the files of the internal storage Pictures/Screenshots directory which currently has 1 png file, but when I run it, the variable doesn't get any results. I know it should store in an array so I checked for %Screenshot1 and I even scrolled through all the variables, but there is only an empty %Screenshot variable listed. What am I missing?
Move Screenshots (111)
A1: List Files [ Dir:Pictures/Screenshots Match: Include Hidden Files:On Use Root:On Variable:%Screenshot Continue Task After Error:On ]
The file name in the directory is Screenshot_2014-08-08-14-07-22.png
And I did use the magnifying glass to get the directory.
Just a shot in the dark but maybe try "/Pictures/Screenshots"??
Brilliant! /sdcard/Pictures/Screenshots/ worked
You're right, it worked with Use Root unchecked under Pictures/Screenshots
You're right, it worked with Use Root unchecked under Pictures/Screenshots
Startinventory (23)
A1: Scan Card [ File:Pictures/Inventory/ ]
A2: List Files [ Dir:Pictures/Inventory Match: Include Hidden Files:On Use Root:Off Sort Select:Modification Date Variable:%filelist ]
A3: Flash [ Text:%filelist Long:On ]
A4: Popup [ Title: Text:%filelist Background Image: Layout:Popup Timeout (Seconds):5 Show Over Keyguard:On ]
A5: Say [ Text:The variable is %filelist As you can see there is no data in the variable. Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
A6: Variable Set [ Name:%filelist To:fucking test Recurse Variables:Off Do Maths:Off Append:Off ]
A7: Flash [ Text:%filelist Long:On ]
A8: Popup [ Title: Text:%filelist Background Image: Layout:Popup Timeout (Seconds):5 Show Over Keyguard:On ]
A9: Say [ Text:The variable is %filelist As you can see this one worked. Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
A10: Stop [ With Error:Off Task: ]
Used the magnifying glass.
Tried other stuff. See https://drive.google.com/folderview?id=0Bx-Pb5i0zlcbMFc5VzdIUWZRUkU
Lgg3 d852 android 6.0 MM noroot tasker 4.9u4m
Any other thoughts, ideas, stuff to try?
Same problem.