|
Display system version and build number in GeekTool
Software (posted at 5:16 PM by Philippe Martin)
If you're a developer or a tester who uses to switch between various versions of Mac OS for testing purposes, you might find handy to get GeekTool to display the system version and build number. Here's how I do it:
echo `/usr/libexec/PlistBuddy -c "Print :ProductUserVisibleVersion" /System/Library/CoreServices/SystemVersion.plist` (`/usr/libexec/PlistBuddy -c "Print :ProductBuildVersion" /System/Library/CoreServices/SystemVersion.plist`)
The result is something like this:
10.5.7 (9J61)
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
AppleScript Tips for GeekTool 3
Software (posted at 7:38 PM by Philippe Martin)
I love GeekTool and I love even more GeekTool 3 that's currently in development.
However it's not feature complete yet and some things you could do with GeekTool 2 (like switching between groups from a menu) aren't implemented in 3 yet. But GeekTool 3 is now scriptable, which allows to do things from the outside that you cannot do yet with GeekTool 3 alone, like displaying/hiding a given geeklet.
The following script shows how I do that:
property geekletId : "E25ED489-C623-481E-91F1-96A2A614A6BF"
property cmd : "uptime"
property theHeight : 20.0
property theWidth :500.0
tell application "GeekTool"
tell geeklet id geekletId
if command is "" then
set command to cmd
set refresh time to 10
set height to theHeight
set width to theWidth
else
set command to ""
set refresh time to 0
set height to 0.0
set width to 0.0
end if
refresh
end tell
end tell
Note that changing the height and width of the geeklet is useful only if you gave it a background colour. Also, the command can be set to anything you can enter in GeekTool's command field itself, but if that command contains any double quotes you'll have to escape each of them with a backslash.
The only tricky bit here (unless you're using the fantastic Script Debugger) is to get the geeklet's Id. But here's a way to get a list of every geeklet's id in relation with its command:
tell application "GeekTool"
set s to ""
set lsGeeklets to every geeklet
repeat with aGeeklet in lsGeeklets
tell aGeeklet as specifier
set s to s & id & tab & (command as string) & return
end tell
end repeat
end tell
tell application "BBEdit"
activate
make new text document in front
set text of window 1 to s
end tell
And finally you can refresh all the geeklets at once with this simple oneliner:
tell application "GeekTools" to refresh all
These scripts can be called from Apple's AppleScript Menu, Keyboard Maestro, and so on.
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
DesktopSweeper 1.4b1
Software (posted at 6:27 PM by Philippe Martin)
Now that Unsanity has released the first beta of their Leopard-compatible version of Application Enhancer, I could at last put together the first Leopard-compatible version of my DesktopSweeper (an APE Module that allows to hide—and show again—the Finder's Desktop icons). The first beta of it has been released privately a couple of days ago to testers, and I'm happy to report that so far everything has been working perfectly. So I'm now releasing the same beta to the public.
Here's what's new in this version:
- Compatible with Leopard and Tiger (Panther is no longer supported).
- Installs Application Enhancer 2.5b1.
- Installs (optionally) SmartCrashReports 1.5b2.
Download: DesktopSweeper 1.4b1 (1.7MB)
Installation:
1. Expand the archive;
2. launch the Installer;
3. follow the instructions;
4. log out and back in, or quit (not force-quit) and re-launch the Finder (easy from Activity Monitor):
5. Launch System Preferences, click on Application Enhancer, then on DesktopSweeper to set your preferences.
See the tooltips for quick help, or click on the Information tab for the readme.
Note that if Unsanity's Application Enhancer isn't present, the installer will offer you to install it (it's required). In this case you'll need to enter an admin password (because Application Enhancer goes to /Library/Frameworks and /Library/PreferencesPanes).
Similarly, if SmartCrashReports isn't installed, you'll have the choice to install it or not. It is not required, but in case of a crash caused by DesktopSweeper, it would allow you to send me the crash log from Apple's Crash Reporter. SmartCrashReports must be installed at /Library/InputManagers, so an admin password may be requested from you.
Please let me know if you encounter any problem, difficulty, typo, whatever... or if you don't.
Permanent Link | Comments: 2 |
View Comments
| Add Comment
Application Enhancer 2.5b1 brings Leopard Compatibility
Software (posted at 6:24 PM by Philippe Martin)
If you've been waiting impatiently (as I have) for a Leopard-compatible version of Unsanity's Application Enhancer, then you can rejoice: the wait is over!
A couple of days ago, Unsanity has released the first public beta of Application Enhancer 2.5, along with a beta of most of their Haxies (FontCard, MenuMaster, Silk, FruitMenu, and WindowShadeX). These all are accessible from this article.
Congrats, Unsanity, and thank you!
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
Happy Birthday Seasonality!
Software (posted at 6:15 AM by Philippe Martin)
Happy Birthday Seasonality, and congrats to Mike and Gaucho Software!
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
Seasonality 1.4
Software (posted at 4:09 PM by Philippe Martin)
Gaucho Software just released Seasonality 1.4. This new version has lots of new features (like custom locations, weather journal improvements, moon information, support for mouse/trackpad scrolling...) and performance improvements.
Congrats, Mike!
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
Path Finder 4.6
Software (posted at 4:54 AM by Philippe Martin)
Cocoatech just released Path Finder 4.6. There are lots of great tab-related new features in this version! And lots of bug fixes, too. Check out the changes log!
Congrats to Steve, Neil and Sasha!
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
The iPod Killer Is Stillborn
Technology (posted at 7:38 PM by Philippe Martin)
What a surprise! Apparently the so-called iPod Killer will never kill anything (except maybe some of its users?). Here are some quotes from The Chicago Sun-Times' review:
"Avoid," is my general message. The Zune is a square wheel, a product that's so absurd and so obviously immune to success that it evokes something akin to a sense of pity.
The overall experience is about as pleasant as having an airbag deploy in your face.
The setup process stands among the very worst experiences I've ever had with digital music players. The installer app failed, and an hour into the ordeal, I found myself asking my office goldfish, "Has it really come to this? Am I really about to manually create and install a .dll file?"
The Zune is a complete, humiliating failure.
Read the article for more about incompatibilities, DRM, pricing scheme, etc. Looks like it's the best present you can offer to someone you hate. :)
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
WindowShade X, FruitMenu and Application Enhancer
Software (posted at 7:12 AM by Philippe Martin)
Unsanity releases final versions of WindowShade X 4.1, FruitMenu 3.6.2 and Application Enhancer 2.0.2. All of these are Universal Binaries and free upgrades. Congratulations, guys!
(Via Unsanity.org.)
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
Got my Mac Pro
Misc. (posted at 5:05 PM by Philippe Martin)
I received my Mac Pro yesterday, thanks to the company I work for, and I have to say that I love it! It's super fast, of course (takes only 30 seconds or so to boot and applications launch instantly), but I think what I like the most is how incredibly quiet it is. Basically, my external FW drives are noisier than the Mac, now. The difference with the QuickSilver it replaces is just amazing. Like night and day.
And the Cinema display is amazing too. Since I've got it, my other monitors (which seemed perfectly fine to me) have suddenly become awfully dark and yellowish.
Some specs, just to show off:
- 2.66 GHz
- 2 GB memory
- 1 160 GB drive
- 1 500 GB drive
- 1 SuperDrive
- 1 ATI Radeon X1900 XT
- 1 Cinema Display 20"
Now you can hate me. ;->
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
BBEdit 8.5
Software (posted at 8:17 PM by Philippe Martin)
BareBones Software just released BBEdit 8.5 which, quoting BareBones, includes nearly two hundred new features, refinements and user interface improvements.
The greatest one IMO is the Code Folding feature that allows to collapse whole blocks of code like in outlines. I've dreamed of using outlines in Xcode for long (blame Frontier for that), and BBEdit is the first solution that comes close to it. I've been using it for some time and I love it.
There are many other great new features and this version is definitely a must for every BBEdit user (time to upgrade your license, Nico! ;) ).
Congrats to everybody involved in that release (that includes Seth)!
Permanent Link | Comments: 0 |
View Comments
| Add Comment
|
|
|
|