Jump to content

dfay

Member
  • Content Count

    868
  • Joined

  • Last visited

  • Days Won

    45

Everything posted by dfay

  1. "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 workflow. Tag auto-completion is the main appeal of Delibar & it seems that there are obstacles to doing this easily in the Alfred interface - 1) you'd need to generate a new list of tags (slow) or cache a full list of the user's tags - which isn't impossible & 2) the only obvious way to do the auto-complete would be a script filter -- then do you chain multiple scripts together? Or present an option in Alfred for every possibility for each tag, repeating for multiple tags?. I'd love to see it in the workflow, & I like the elegance of Alfred for most tasks, but without tag completion I don't see it replacing Delibar's bookmarklet.
  2. How would this work? Would you want the top hit for the search term(s) from each database? Or multiple results from each?
  3. 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 messages successfully, no errors. Also the minfo script doesn't work for me either. I get the two options, but selecting either one just dismisses Alfred without anything else happening. Let me know if I can help with anything - hope this helps. Derick
  4. 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.
  5. This sounds familiar: http://xkcd.com/1172/
  6. Here is a simple r2r workflow: http://www.alfredforum.com/topic/1952-rome2rio/
  7. 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
  8. 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 should be in Workflow Help & Questions - this forum is for completed workflows.
  9. 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 customized based on screen size) but Alfred prefs. are synced in Dropbox, this works great. I can use the same keyword on each machine, and get appropriate results.
  10. 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 Calendar to August 8 of 2014 in week view cal today w - opens Calendar to the current date in week view Download: View Calendar on date with view…..alfredworkflow
  11. 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/
  12. 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. Updated 2014-01-31 to fix Applescript UI click issue introduced with Mavericks ( http://macscripter.n...=170632#p170632 for details ). Still only works with Keynote '09. Updated 2014-04-02 to work with Keynote 6 (finally Apple has restored Applescript to the new iWork!) There are now two keywords kpdf - for use with Keynote 6.2 k5pdf - for use with Keynote 5 (i.e. iWork '09 version)
  13. 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
  14. anthropologist seeking ways to improve academic workflow

  15. 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.
  16. If you don't want to enter it yourself, it's here: Mapper.alfredworkflow
  17. 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}"
  18. bump to make this possible: http://www.alfredforum.com/topic/1725-mileage-tracker/ needs multiple custom actions per contact
  19. 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/
  20. 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.
  21. Thanks. I had tried it with "return q" after the last line, but moving it to before "end alfred_script" passes it successfully.
  22. 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 bits for the google maps URL, then replace the Post Notification with a Open URL.
  23. If you're the only one using this, and you always leave from the same place, you could just hard code the first address
  24. I am setting up a very simple workflow (my first). I have a keyword linked to a Run NSAppleScript action, with a script that executes successfully. Here's the script: on alfred_script(q) tell application "TaskPaper" tell front document tell project named "Inbox" make new entry at beginning with properties {name:"- " & q} end tell end tell end tell end alfred_script The Run NSAppleScript action links to a Post Notification output with text set to {query} added to Taskpaper If I check the "Only show if passed in argument has content" box, the notification doesn't display. If I uncheck the blank, I get a notification reading "added to Taskpaper". i.e. the Post Notification output thinks that {query} is blank. How do I get the NSAppleScript to pass on {query} to the Post Notification output?
  25. Excellent. Could this be extended to allow keyword searches?
×
×
  • Create New...