|
|
Create a Finder window update button
You can get quite a nice icon by copying the refresh button from Safari.
Option 1: Navigate to the file at /Applications/Safari.app/Contents/Resources/Reload.tif, double-click, then in Preview choose Edit->Copy (unfortunately, this doesn't seem to handle transparency well). Option 2: Open Safari, then use Command-Shift-4 to get a selection crosshair. Then hold down ctrl while drawing a box around the refresh button. This will place a copy of the button on the clipboard. The anti-aliasing will be just right because Finder uses the same brushed metal background as Safari. The best way to get the button exactly is to line up your crosshairs with the top and left gray lines around the refresh button, click, then drag down to one pixel beyond the bottom and right gray lines around the button. Then paste the clipboard into the Get Info... window of your AppleScript. Finally, drag the AppleScript to the Finder toolbar, and it will look great. I've found that if I save the AppleScript as an "application bundle" it runs faster than if I save it as an application. In theory it should also be possible to use LSBackgroundOnly in the info.plist of the bundle to keep an icon from appearing in the Dock, but I haven't gotten that to work ( http://forums.macrumors.com/archive/index.php/t-94451.html ). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.05 seconds |
|