Trigger: Photo Taken
Revision as of 10:13, 9 January 2026 by MacroDroidDev (talk | contribs) (Created page with "<pre class="header-style">This trigger fires when a photo is taken with the device camera.</pre> ''' Options ''' No configuration options. The trigger fires for any photo ca...")
This trigger fires when a photo is taken with the device camera.
Options
No configuration options. The trigger fires for any photo capture.
Magic Text
When this trigger fires, the following values are available via magic text:
- {photo_file_path}
- {photo_uri}
Examples
Example 1: Log each photo capture
Triggers Photo Taken
Actions
Write to File - Append "Photo saved at {photo_file_path}" to photo_log.txt
Display Notification: "Photo taken"
Example 2: Extract text from the new photo
Triggers Photo Taken
Actions Text from Image (OCR) - Photo Taken Trigger
Notes
- Requires Android 7 or later
- Storage permission is required
See Also