Jump to content

dfay

Member
  • Content Count

    946
  • Joined

  • Last visited

  • Days Won

    50

Everything posted by dfay

  1. Viewing running apps and quitting them is already built-in using the keyword "quit" http://support.alfredapp.com/features:system Alternatively (without Alfred) you can use command-Tab to switch and command-Q (while the command-Tab view is still on the screen) to quit an app without switching to it. http://osxdaily.com/2009/11/17/secrets-of-the-command-tab-mac-application-switcher/
  2. "Way better to add bookmarks like this than with a bookmarklet" I'm not so sure....I installed this and used it for a couple of days (just dropped into the forum to see the update), but I keep going back to the Delibar bookmarklet (I had shelled out the $9.99 for Delibar years ago and it has been well worth it). It's not just that old habits die hard - it's just that the bookmarklet has features - already works in any browser, sets selected text as description (or set manually in the Delibar dialog), and tag auto-completion, that are just being added or not available with the Alfred workf
  3. How would this work? Would you want the top hit for the search term(s) from each database? Or multiple results from each?
  4. Hi Pedro I've been playing with Mail Act-On a bit, but don't like the interface, so I'm hoping for this workflow.... I tried running getList.scpt in Applescript Editor (uncommenting the line ' --set Opt to "bill" ') and the result was correctly formed XML with the relevant matching mailboxes correctly. And as I mentioned before the file ~/Library/Application Support/Alfred 2/Workflow Data/com.palobo.mailactions/ looks like it has a complete list of my mailboxes. Likewise if I run getUnread.scpt in Applescript Editor. It returns an XML formatted list of my mailboxes with unread messa
  5. Nice. Way better than my half-hearted attempt I didn't look at the rome2rio API. Although it pulled up a 404 on a search and a preview just now. I'll see if I can replicate it.
  6. This sounds familiar: http://xkcd.com/1172/
  7. Here is a simple r2r workflow: http://www.alfredforum.com/topic/1952-rome2rio/
  8. A basic, two-step workflow to search Rome2Rio. Based on David Ferguson's "Using Script Filters." Could probably be converted to a one-step version with delimiters by someone who knew php using David's model. Rome2Rio.alfredworkflow
  9. Here is a very simple workflow I cooked up to map directions from a fixed address to a selected contact. http://www.alfredforum.com/topic/1725-mileage-tracker/?hl=mileage I've never seen rome2rio before, but looking at it, the URL scheme is dead simple: http://www.rome2rio.com/s/origin/destination It's quite impressive - since it uses Google Maps to parse the addresses you can be pretty sloppy and still get results. It would be a matter of capturing origin and destination (modifying David Ferguson's script filter example) then calling the URL. BTW I think your post shou
  10. This is how I've set it up: keyword -> Launch Apps / Files (with my selected files) -> Run Script where the script is Language: /usr/bin/osascript and the script is as follows: tell application "Moom" arrange windows according to snapshot named "MyLayout" end tell This assumes you've set up a Window Layout Snapshot in Moom called "MyLayout" & which is appropriate for the selected files. I've set up custom snapshots on all three of my machines for the optimal workspace layout based on screen size. Since Moom prefs. are local to each machine (and hence custo
  11. Another Applescript-based workflow. It defaults to M/D/YYYY date format but comments in the script explain how to modify for D/M/YYYY Years are optional. Follow the date with d m or w to change the view. It also recognizes "today" examples: cal 3/5 - opens Calendar to March 5 of the current year in the last opened view cal 10/15/2013 - opens Calendar to October 15, 2013 in the last opened view cal 8/8 d - opens Calendar to August 8 of the current year in day view cal 8/8 m - opens Calendar to August 8 of the current year in month view cal 8/8/2014 w - opens Calen
  12. Thanks! I have a bunch of BibDesk applescripts and templates that may be useful to anyone who finds this workflow useful: http://dfay.fastmail.fm/bibdesk/
  13. Here's a workflow that uses Applescript UI scripting to save the currently open Keynote document as a PDF. It uses the print dialog rather than the Export... menu item to give more flexibility in the layout etc. I've tried to comment the script so that the selections can be easily customized. It stops once the Save... dialog is open, so you can change the filename before saving if desired. This was an interesting project, which will save me lots of mouse clicks in the long term. It's surprising how little Applescript seems to have been written for Keynote.
  14. Thanks for following up. error.log is Zero bytes and empty. 300 mailboxes are probably an artifact of the old days before rapid full-text searching, when anything that wasn't filed could get lost... - just checked and the oldest message is from 1997
  15. anthropologist seeking ways to improve academic workflow

  16. Here is a simple workflow that uses UI Applescripting (thanks to https://discussions.apple.com/thread/4011487?start=0&tstart=0 ) to delete cookies for a single website in Safari: Delete cookies for specific site on Safari.alfredworkflow I need to do this a lot when switching on VPN after a Google Scholar search....hopefully others will find it useful.
  17. If you don't want to enter it yourself, it's here: Mapper.alfredworkflow
  18. Here is how to do the hardcoded version (i.e. select destination only). 3 elements 1) Contact Action linked to 2) a one line bash script (escaping everything except spaces) - this removes line breaks from the address: echo "{query}" | tr "\n" " " linked to 3) a one line bash script (escaping everything except spaces): open "http://maps.google.com/maps?saddr=yourstartingaddress&daddr={query}"
  19. bump to make this possible: http://www.alfredforum.com/topic/1725-mileage-tracker/ needs multiple custom actions per contact
  20. Unless there's another way to get contact info. in Alfred, I don't see an easy way to select start and destination address until this issue is addressed: http://www.alfredforum.com/topic/331-descriptive-name-for-custom-call-actions-in-main-alfred-window/
  21. Thanks. I had some trouble getting started but it was b/c I didn't realize that username: is part of the pinboard API key.
  22. Thanks. I had tried it with "return q" after the last line, but moving it to before "end alfred_script" passes it successfully.
  23. I'd look at the first example here: http://www.alfredforum.com/topic/1283-how-to-script-filters-reusing-a-single-script-filter-or-chaining-multiple-together/ It inputs last name, writes it to a temporary file, calls a second search action that inputs first name, reads last name from the temporary file, deletes the temporary file, and finally outputs first name last name. You'd just need to modify it to get the addresses from contacts instead of user input (which it sounds like you've figured out already), and change the echo command in the 2nd bash script to include all the necessary
  24. If you're the only one using this, and you always leave from the same place, you could just hard code the first address
×
×
  • Create New...