Jump to content

peelman

Member
  • Posts

    31
  • Joined

  • Last visited

About peelman

  • Birthday July 7

Contact Methods

  • Twitter
    peelman
  • Website URL
    http://blog.peelman.us

Profile Information

  • Location
    Seymour, Indiana

Recent Profile Visitors

541 profile views

peelman's Achievements

Member

Member (4/5)

4

Reputation

  1. So I have a recurring issue of copying new text not working; the couple of scenarios that seem to be repeatable occurences are: if you change apps too quickly after copying try to do a copy operation in an application that is _not_ in the foreground say i'm copying a link from Firefox, while Slack is the active app; when I attempt to paste the link, the clipboard still contains the previous contents, not the link as expected). What I describe there is a bug that isn't Alfred-specific; but as macOS has continued to become the larger, more unwieldy mess that Apple is making it, this particular problem has spread across the system and I now experience it everywhere. I run no other clipboard manager other than Alfred that would be slowing down the copy time; but the overall problem persists even if Alfred isn't running; and problem #1 exists (but is not consistently present) on a brand new Mac, even between native Apple applications. which leads me to think the problem is Apple's. To mitigate this, the one thing I have looked for, but can't find in _any_ Clipboard manager on the market right now, is display a bloody notification when the clipboard changes. Despite already watching NSPasteboard and reacting to changes, nobody provides the option to send a notification (display a banner, flash an icon, whatever). I doubt that would be a trivial option to add to Alfred, but I'm at wits end here, and if I'm going to plead with anybody to add something to a tool, Alfred is currently where I'd want it done in my ideal world. A Workflow input or trigger (though i realize the asterisks that would be potentially attached to that), but even just a check box to "Send notification when clipboard changes" in the History or Advanced Pane of Clipboard History would be amaze-balls. Thanks Andrew and Vero!
  2. 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.
  3. 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.
  4. 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?
  5. 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).
  6. 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.
  7. 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.
  8. 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...
  9. 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.
  10. 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.
  11. 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
  12. 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
  13. 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
  14. 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...