Screenshot received Intent not working

Hi,
My script does not trigger on received Intent android.intent.action.ACTION_TAKE_PICTURE or android.intent.action.ACTION_IMAGE_CAPTURE.

Intents like android.intent.action.TIME_SET work fine.

My Android OS is v11.

Please advise.

Thanks.

Julian
 

Endercraft

Moderator
There is a picture taken trigger. It sounds like you are trying to capture screenshot capture, I don't think the picture taken trigger includes that.
 

Endercraft

Moderator
Is there a specific Screenshot trigger available? I can't seem to find it, if it even exists.
Actually I just tested it and screenshots are in fact included in the picture taken trigger.
If you need to differentiate between pictures and screenshots, then the picture taken trigger includes the magic text [photo_file_path]. Since pictures and screenshot usually have a naming pattern, you should be able to use the compare values constraint, and see if this magic text contains "screenshot".
 
This is weird, my macrodroid doesnt trigger on Screenshot or when my camera takes a picture, so can't use the magic text either .

I have checked my Android permissions and are all enabled.

Could you kindly see if the attached macro works on your system thanks.
 

Attachments

  • Screenshot_Trigger.macro
    1.7 KB · Views: 4
I didn't understand your comment at first, .but eventuality realised you meant 'Photo Taken' as a Device Event trigger, not a Intent Received trigger.

Thanks.
 
How can I obtain the filename and location of the Photo Taken, which will help determine if the Camera or the Screenshot took the Photo?

Thanks.
 
Top