problem with script commands

Xavisera

New member
anyone knows why the second script command works.... but first doesnt?
 

Attachments

  • Screenshot_2023-05-19-16-53-58-465_com.arlosoft.macrodroid.jpg
    Screenshot_2023-05-19-16-53-58-465_com.arlosoft.macrodroid.jpg
    439.3 KB · Views: 15

Endercraft

Moderator (& bug finder :D)
Are you using the helper in both scripts ?
MacroDroid alone is not able to interact with storage unless given permission (when you select a file/folder) but it seems the helper can through shell scripts.
 

Endercraft

Moderator (& bug finder :D)
I'm afraid I can't say anything else than the way both command work is different (and requires different permissions ?). I'm not that good at shell script as I don't use them often.
 

Dimlos

Well-known member
I would like you to try this macro. If it doesn't work, please let me know what errors you see in your local variables.
 

Attachments

  • Macro.jpg
    Macro.jpg
    368.7 KB · Views: 4
  • Shell_Script.macro
    2.1 KB · Views: 1

Xavisera

New member
Just now I updated MD.... and now it seems both commands works!
and concerning local variable is empty
i will continue testing other script commands... 👍
 
Top