Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by BigHandsome

  1. Is there a way to call a script from a snippet or inversely trigger a workflow with a snippet?
  2. Awesome! This is great. Is there a way to do math with the dates. The last thing I need to port from TextExpander is a date formula that allows me to insert the date for 14 days from now. the snippet looks like this in TextExpander %@+14D%B %e, %Y. I was wondering if there was a similar in the new snippets features?
  3. The list andy mentions above is for V2. Is there a V3 documentation somewhere? I have noticed that I can use more robust date features with V3. For instance I can now use {date:YMMddHHmmssss} to create a unique date stamp and I can use {date:YYYYMMdd} to create sortable dates for files. Are there other new place holders or placeholder options other than what is listed on the above page?
  4. In this case that is okay because I want to back up all of the notes. The conditional is used so that it ensure that all the notes were fetched. That is why it uses date created with such a date in the extreme past. The backup script is more of an ax than a scalpel. I use it to just backup everything.
  5. I have created an applescript that creates a backup of all of your Evernote notes. Maybe it is something your library might be interested in using. It is based on the article Going Paperless: How and Why I've Automated Backups of My Evernote Data by Jamie Todd Rubin. If you just run the script it backs up your desktop. It takes an optional parameter of the location you would like to save the file. on alfred_script(q) if q starts with "~" then set userHome to POSIX path of (path to home folder) as string set q to userHome & (characters 3 thru -1 of q) end if if q ends with "/" then set str_total to count of characters of q set q to characters 1 thru (str_total - 1) of q set q to q as text end if set epoch to (do shell script "date +%s") as string set default_location to (path to desktop folder) & epoch & "_Export.enex" as string if q is not equal to "" then set mac_path to POSIX file q as string tell application "Finder" if (exists mac_path) then set back_location to q & "/" & epoch & "_Export.enex" else set back_location to default_location end if end tell else set back_location to default_location end if with timeout of (30 * 60) seconds tell application "Evernote" -- Set date to 1990 so it finds all notes set matches to find notes "created:19900101" -- export to file set above export matches to back_location end tell end timeout set p to POSIX path of back_location do shell script "/usr/bin/gzip " & quoted form of p set exit_message to "Evernote has been backed up to " & back_location return exit_message end alfred_script
  6. Sorry for the long turn around time. I am not on this forum a lot. In the original version of this script, when you used the keyword mute, the volume was just adjusted to 0. There was no way to return to your original volume (or unmute). I changed the keyword mute (also off) to now call the volume mute api. I then added the unmute keyword (also on) to remove the mute call. Now you can return to your original volume. You can try for yourself by using my version of the script and typing `vol mute` and then `vol unmute` (or `vol off` and then `vol on`).
  7. I really like your volume script. However, I really wanted to be able to use the true mute functionality. I have added mute, added some error checking, and changed how level works to account for mute. Please let me know what you think. I would love some feedback! Here is a link to the download: Volume Adjust Workflow Here is a link to the repository. Please fork me of file a bug ticket!
  8. I like to be able to link to my mail. Apple gives you a way to do this, but you have to open the raw message to get the messageid. I finally decided to create a workflow that would allow you to get the message id's of selected mail, format them and put them into the clipboard. The workflow works like as such. Select message or messages in Mac Mail app. Open Alfred and type mailurl. optionally type a format html or markdown (md). If no format is selected html is assumed. Paste messages into markdown or html sensitive application. It is probably worth noting that this is useful in a variety of situations. I use it to link email messages in Things, DayOne, and Calendar. It is great to be able to reference the email the todo, calendar event, or log entry that created it. You can download the binary at Copy Mail URL. The repository is located at bitucket. Fork me or file a bug report! **Updates** 2014-03-24 06:03AM: I now have a blog entry detailing how this works. With screen shots!
  • Create New...