View Single Post
Old October 1st, 2012, 10:11 PM   #5 (permalink)
bnag0
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
I don't see %PHOTONUMBER.
Here is the take photo and send via email task...
Taken from this site post#692 [APP] Tasker: Share your setup - Page 70 - xda-developers

I think if i can change the things i have in bold to audio somehow it will work but i don't know the "code" %AUDIO???

Set Profile:
Add new profile -> name it watever you want -> State -> Plugin -> Secure Settings -> Configuration: Edit -> Failed Login Attempts -> type number of attempts you want (remember to tick Device admin Enabled) -> Save -> Done

Set Tasks:
New Task -> name it yourself
Click + -> Net -> Mobi data -> On
Click + -> Net -> Wifi -> On
Click + -> Task -> Wait -> 2 seconds
Click + -> Media -> Take Photo -> Camera: Front -> Filename: %PHOTONUMBER
Click + -> Variable -> Variable set -> Name: %PHOTONUMBER ->To: 1
Click + -> Variable -> Variable add -> Name: %PHOTONUMBER -> Value: 1
Click + -> Variable -> Variable set -> Name: %EMAIL_USER -> To: your Gmail address (only Gmail support so far)
Click + -> Variable -> Variable set -> Name: %EMAIL_PSWD -> To: your Gmail password
Click + -> Variable -> Variable set -> Name: %EMAIL_TO -> To: email address you want to send to
Click + -> Variable -> Variable set -> Name: %EMAIL_ATTACH -> To: /sdcard/DCIM/Tasker/%PHOTONUMBER.jpg
Click + -> Script -> Run SL4A Script -> Name: sendemailA.py -> Pass Variables: %EMAIL_USER,%EMAIL_PSWD,%EMAIL_TO,%EMAIL_ATTACH
Click + -> Net -> Mobi data -> Off


Any ideas?
bnag0 is offline  
Reply With Quote