Jump to content


  • Content Count

  • Joined

  • Last visited

About peelman

  • Rank
  • Birthday July 7

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Location
    Seymour, Indiana

Recent Profile Visitors

424 profile views
  1. On my end it ended up being a copy and paste error. I was using David's example script and was still passing the {query} through `urlencode`, which was screwing me up. Removing that fixed the problem. Now doing quick and dirty regex searches like a boss.
  2. That doesn't solve what I was going for. Searching for folders isn't a problem, alfred does a good job of that already. Its searching non-spotlight indexed folders, just for the file names that it stumbles on. Again, like a massive media library that lives on a NAS. Regardless, my solution I posted above has been working well enough that I don't have to care any more.
  3. A few more ideas I had on my most recent work trip: * Add to Pinboard * Add to <bookmark service> * Send To... Using a script or middleman action you could catch ftp:// or vnc:// or ssh:// or randomurlprefix:// URLs and redirect them to programs of your choice. Isn't the idea of Workflows basically to enable random things like this that perhaps you don't see the use for? At least until you put them in the hands of the public at large and see what kinds of nifty crap we come up with?
  4. You're obviously doing some URL detection at some point, it would be nice to have that be a Trigger available in Workflows so you can add custom actions to URLs (Send URL Workflow starts this, but is more concerned with pulling URLS from running apps instead of being able to manage typed/pasted URLs).
  5. It works, until you try to use it in the destination (as in move to... for files). Be nice if it worked there as well. BTW, just discovered that Caps Lock shifts to Actions. Nice touch.
  6. So I did a little mini-quaratine today after noticing this and while I don't have scientific / empirical evidence, I wanted to throw this out for investigation. I'm seeing a sharp upward curve in physical memory usage for mds when running Alfred 2. Just starting him this evening took mds from using 500MB of memory to over 850MB. It had gotten as high as 1.2GB earlier today, with twice that in virtual memory usage (I started investigating because I ran out of RAM this morning, and that very rarely happens (Early '08 Mac Pro, Quad Core Xeon, 12GB of RAM). I rebooted afterwards and didn't relaunch A2 until this evening; I checked Activity Monitor before launching and then after A2 had been running for a bit. Correlation doesn't equal causation, but again, I wanted to post it and see if anybody else had noticed it and see if Andrew had any suggestions, either remedies or any other feedback / metrics he'd like to see.
  7. Andrew, if I attempt to use a space in my argument, Alfred drops out of the script filter completely. I.e. if I have a script filter for my TV shows folder (keyword 'tv'), and i type: tv the daily when searching for "the daily show", I can't find a way to make that work. I'm just using a rough php preg_match, so I can just do 'tv daily' and that finds it ok, but at this point my curiosity is piqued, so i want to see if its by design that you can't use arguments with spaces, or if there's something afoot here...
  8. So one of my peeves with Alfred and one of the edges I felt Quicksilver held against it was the ability to index just a folder, recursively to a defined level, and search those results. I keep all my media out on a NAS and having spotlight index those volumes just doesn't bode well for any of the involved parties, so I could never use Alfred quite like I could Quicksilver for quickly finding a TV show or Movie out on my file server. Thanks to script filters and some of jdfwarrior's great scripting hints, that's no longer true: require_once('extension_utils.php'); $utils = new ExtensionUtils(); $query = urlencode( "{query}" ); $results = array(); $pattern = "/$query/i"; $dir = "/Volumes/video/movies"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if ($file != "." && $file != ".." && ($query && preg_match($pattern, $file))) { switch(pathinfo("$dir/$file", PATHINFO_EXTENSION)): case 'mkv': $icon = 'MKV.png'; break; case 'avi': $icon = 'AVI.png'; break; case 'm4v': case 'mp4': $icon = 'M4V.png'; break; default: $icon = 'movie.png'; break; endswitch; $item = array( 'uid' => 'show', 'arg' => "$dir/$file", 'title' => $file, 'subtitle' => "$dir/$file", 'icon' => $icon, 'valid' => 'true' ); array_push( $results, $item ); } } closedir($dh); } } echo $utils->arrayToXml( $results ); There's no good way (yet) to make this easily configurable, so posting it out as a full workflow for download seems a bit silly at this point, but perhaps this code might help somebody along the way achieve what they need.
  9. unfortunately it uses the old method of flushing the cache; which in my experience doesn't work any more on 10.7 and 10.8. Check out this.
  10. I use Elements for a lot of little note taking stuff on iOS, and having a dedicated filter for it in Alfred makes it easy to pull up those docs on my Macs. Simple, yet effective. Elements Workflow / File Filter
  11. Excellent addition Carl. I don't use hotkeys that much, mostly due to my inability to remember them from day to day without significant use
  12. My first workflow...yay! Deadly simple; provides a keyword and a fallback search to present the entered query as large text. Quite possibly one of the handiest features to me, especially when trying to relay a phone number, email, or path to somebody who is standing behind you or across a desk, etc. Download Here
  13. Feeling Blue A 2.0 clone of the blue theme I've been using on Alfred since the beginning, basically. Download Feeling Blue ---------------------------------------------------------------------------------- Envy Download Envy
  • Create New...