Symlinks! They’re not just for Christmas. They are, in fact, just like aliases, enabling you to litter your hard drive with shortcuts in no time flat. You can make them in the terminal with the “ln -s” command, but if you’ve got the windows open in the Finder, hell! Why not use ‘em?
This little baby uses the front two Finder windows to figure out the source and destination. Just be careful that they are the front two windows, or you may get unexpected – perhaps terrifying – results. I took the time to build in a confirmation dialog; just edit the code if you feel like living dangerously.
The source code dances a merry jig, over yonder.
Download Symlink-this-window-to-that-one.rb.zip.
Open for Business, Yes Sir
You’d be forgiven, of course, for thinking that this blog’s maintainer had just been deported to Russia for spying – such is the rate of updates. This, sadly, is not the case. The real reason is far more prosaic: I have been distracted.
However, the Internet toils tirelessly whether I’m paying attention or not. One tireless toiler is Mike Hall, a guy who has more rb-appscript prowess in his little finger than I have in my entire hand. He kindly pointed me in the direction of his blog, which has a terrific array of ruby scripts. It’s so good that I’m going to put it on its own line:
http://mph.puddingbowl.org/category/ruby/
If you’re jonesing for more
app("Grue").do_some_stuff({:like => "now"})then I highly recommend you check it out. I plan on porting Mike’s scripts over here too, so that they’re preserved for posterity, but mainly so I look like I know what I’m doing.