Search results

  1. D

    Script does not run when macrodroid is not in foreground

    Another try would be Android setting Appear On Top = Yes. drftr
  2. D

    Widget icons reset after reboot

    I'm afraid I'll have to uninstall then as it's simply not working on Samsung. Too bad as it looks really nice and is a pleasure to work with. :-( drftr
  3. D

    Ui Interaction Not Working

    Can you please explain what switch you're referring to? I have problems with macros not starting during the first 1.5 minutes after start-up and have checked all suggested UI interaction settings, so I wonder if there is yet another one. Tnx... drftr
  4. D

    Widget icons reset after reboot

    @Jacob L Unfortunately your suggestion in the following link is not working for this: https://www.macrodroidforum.com/index.php?threads/ui-interaction-fix.195/ Is there any option to make this work for Samsung users? And also the fact that all shortcuts look exactly the same with the same...
  5. D

    Widget icons reset after reboot

    @MacroDroidDev To add to my previous comment: If I create a shortcut with Shortcut Maker then I have the exact same problem: A very long wait before it's triggered. If however after a restart I immediately open the MacroDroid app, click the macro, and click on Test Macro from the menu then it...
  6. D

    Widget icons reset after reboot

    Having the same problem on my Galaxy A52 I experimented with the battery settings and I noticed MacroDroid doesn't show up at all in a Samsung One UI screen where apps can be put to deep sleep or kept permanently awake. In that last option you can add any app by simply toggling it on but...
  7. D

    How test if file exists or folder is empty?

    @dsnz Found it. It was the addition of /* indeed. Good way to fill my Saturday ;-) BUT I learned a lot and can use it in many new macros :) Thanks for your patience... drftr
  8. D

    How test if file exists or folder is empty?

    Problem is that if I run it once (with no file in the backup folder on my SD card, which we test for) it runs just fine and it moves the file from internal memory to the backup folder on my SD card. Perfect. Next, I try to run it again while there's no new settings file created in internal...
  9. D

    How test if file exists or folder is empty?

    Still not working as planned though but that's because of the MacroDroid part: I have your script in an IF-ELSE construction now and if the IF is met it's working as planned. But how do I make the ELSE do totally nothing? I mean, if there's no file (variable = 1) then simply nothing has to...
  10. D

    How test if file exists or folder is empty?

    Thanks! Yes I tried but that was still with the 0 and 1 switched. Will read up on Bash and see how I can use it to my advantage. Thanks for your prompt help - much appreciated... drftr
  11. D

    How test if file exists or folder is empty?

    @dsnz Never mind, find it out and replaced it by: [ "$(ls -A /path/to/directory)" ] && echo 0 || echo 1 That may do exactly the same but I also changed my thinking that 0 may counterintuitive actually mean that there IS a file while I thought 0 HAD to mean there is none. Tnx... drftr
  12. D

    How test if file exists or folder is empty?

    @dsnz I'm making progress. I found out how to actually create scripts, incorporate them in a MacroDroid IF/ELSE setup, and also how to incorporate them in my larger copy/move macro after that. There's one thing I can't get to work though at that seems to be at the start. The script now looks...
  13. D

    How test if file exists or folder is empty?

    What is the language you're using in the script so that I can do a read-up and learn what I'm doing? Reminds me a bit about some Unix stuff I did 30 years ago. drftr
  14. D

    How test if file exists or folder is empty?

    Would that mean I have to install a terminal emulator and then make MacroDroid work with that? Not sure whether that makes my life easier not knowing exactly what I'm doing. Which I should probably see as a potential risk as I wouldn't even know whether I'd be formatting the whole machine this...
  15. D

    How test if file exists or folder is empty?

    Just in case anyone is able to advise... Wanted situation: 1. Empty a folder on SD card 2. Move a file from internal memory to the empty folder on the SD card 3. Back up the SD card folder Current situation: The folder gets emptied in step 1 even if there's no new backup file created in step...
Top