Tasker newbie: push latest file from folder to evernote?

246 views
Skip to first unread message

Jeff Waters

unread,
Feb 5, 2014, 9:11:13 AM2/5/14
to tas...@googlegroups.com
Hi All,

I'm new to Tasker and have used it to write a simple program to control Easy Voice Recorder Pro. I start recording, wait 2 hours, and stop recording. That works beautifully.

Next, I'd ideally like to send the newly recorded file to my evernote inbox. Probably a few different ways to do that, but my preference would be to do it without emailing the file as an attachment.

So, two areas to talk I guess:

  1. How to select the newest file in my recordings folder for EVR Pro?
  2. How to push it into Evernote?
Appreciate your guidance!
Jeff

Matt R

unread,
Feb 5, 2014, 1:28:23 PM2/5/14
to tas...@googlegroups.com
To get the newest file, do a file -> list files action on the folder where the recordings are stored.  This will give you an array with all the filenames in that folder.  If the filenames are sequential or have the date/time in them, you could do something like variable -> array process -> sort alpha.  If not, you'll have to do a for loop on the entire array and test each file timestamp with misc -> test -> file modified.  I don't use Evernote so I can't help you with that part.

Matt
Reply all
Reply to author
Forward
0 new messages