|
|
YA modified version
I also liked the hint and created my own version which i believe is less complex than others' scripts (definitely less verbose).
The entire solution exists as a bash script which calls osascript for a one-liner AppleScript statement for each argument given and then activates Finder. If no directory/path is given, then it looks in the current working directory. Otherwise, paths can be relative to
I usually make aliases (tcsh) to my scripts, in this case i chose...
I don't want to chance posting the script in this web forum environment due to some very specific quoting schemes used to allow files/paths with spaces. Instead, you can click here to download it. I have considerably less experience in shell scripting than with AppleScript, so if any shell gurus out there have some more efficient and/or robust syntax, I'd love to see it. However, I do believe the script to be fairly reliable, and #comments are included so you can see the how and why of the methods i have chosen. Thanks again to Lutin for the submission. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.29 seconds |
|