Can this be done?
As for the %FOTO variable, that would be tempting, except that I'm not
certain how to work it...unless there's a camera "click" event that
Tasker can capture or it can capture when a new file is saved to the
folder...? Then I could embed the camera launch in the task (which is
what I was thinking of anyway).
Thanks for the suggestion. I'll look at it.
1. Timestamp when the task starts.
2. Launch the camera app.
3. Take the pictures.
4. When the camera app closes, move all files in the camera directory
created since the task starts to the target folder.
I think this should work?
On Nov 18, 2:27 pm, Pent <supp...@apps.dinglisch.net> wrote:
Thanks.
On Nov 18, 2:27 pm, Pent <supp...@apps.dinglisch.net> wrote:
Task 1: File Receipts
Variable Set %FRTIME, %TIMES
Load App Camera
Task 2: Move Receipts
If %FRTIME Is Set
Variable Set %target, /sdcard/DCIM/Receipts
Variable Set %count, 0
List Files /sdcard/DCIM/Camera, %files
For %file, %files()
Test File Modified %file, %mtime
If %mtime > %FRTIME
Move %file, %target
Variable Set %count, %count + 1
End If
End For
Flash "%count pictures moved to %target.", If %count > 0
Variable Clear %FRTIME
End If
Profile: When Camera app is launched
Start Task: File Receipts
End Task: Move Receipts
Thanks for your help!