Friday, November 02, 2007

Python has Apple Events support - from Apple

AppleScript: Scripting Bridge is an Apple product for sending Apple Events from Python.

I wonder how Python compares to AppleScript now as an OS X scripting language. I certainly prefer Python's syntax and scoping rules.

Also, Apple has at last updated their AppleScript documentation site. It was about 8-10 years out of date until recently. I'd assumed Apple was giving up on AppleScript, perhaps replacing it with an Apple version of Python. They've obviously decided to make another go of AppleScript, but it will be interesting to see how well Python and Scripting Bridge work.

Update: Be sure to check out the comments on the historic third party support for Python Apple Events and the associated links.

Wednesday, October 31, 2007

Mugr: searching for a missing person?

Looking for someone who's seemingly vanished?

It happens to families more often than one might imagine. Often the missing person is dead, but sometimes they've decided to take a very long walk.

One day soon you'll fire up a product like Mugr and let it work for a while.

There are a lot of images on the net.

Good and bad, of course.

XP shortcuts display path in NTFS Extended Attribute Comments

NTFS supports metadata for files that are stored in NTFS extended attributes. This includes Title and Comments. Sharepoint 2007 may read this data and use it, but I primarily use it as a modern version of the Dirnotes.com utility PC Magazine created for PC/MS-DOS in the 1980s. [1]

To display title and comments in file view RMClick on the explorer column title bar and select the attributes you want to see. Then set all folders to the same view.

There are some problems with these EAs. WinZip, at least by default in the version I have, doesn't zip them up. Some backup software will ignore them. The workflow for creating and editing them is very awkward (right click, properties, click tab, edit).

Today I discovered a feature however. If you view Favorites with comment enabled, you see the path to the original. That's handy.

Now if only someone would create a drag and drop utility such that if I dropped a Favorite on it I'd see the original pop up. Hmm. I wonder if there's a way to do this using ancient DOS Batch files ...

[1] Update 5/21/09: This may have unexpected consequences esp. on Windows 2003 server -- due to a very dark and old Microsoft hack.

Access 2007: It's really bad

I'm very unimpressed with Office 2007, but there are some good things. Word 2007, if you use the new lock-in proprietary never-extract-your-data nobody-can-read-it XML file format has some fixes to its primeval style and formatting problems. Excel 2007 is still Excel. Outlook 2007 fixes some ancient bugs (if you sort a category view it no longer breaks the view) and is only somewhat more sluggish than Outlook 2003. It might even work better with Sharepoint 2007. PowerPoint 2007 is as frozen in time as every version of PowerPoint since 1997 or so. [1]

And then there's Microsoft Access 2007.

I've been using this software intensively for months now, and it's really bad. We're switching back to Office 2003 and Access 2003. (Shades of everyone's Vista to XP regression, but we weren't dumb enough to do Vista.)

The way I use Access makes very heavy use of complex queries and some embedded functions with large data sets. In this domain Access 2007 added nothing of value and has some serious regressions. Access 2003, for example, had some ability to fix-up queries when column labels or even table names were revised. Access 2007 more often breaks the links and destroys the query builder view.

All the problems with Access 2003, like the fragility of links to external data sources (no relative links for example), remain. The only minor advantages are better handling of Sharepoint (SQL Server) 2007 exotic data types.

It's probably a bit slower too.

I've seen some regressions in my day, but Access 2007 is the biggest regression I've run into since WordPerfect bombed its Windows transition (with a bit of help from Microsoft of course).

Don't use this turkey.

[1] How could they not fix the "custom slide show" UI? PowerPoint source code must be seeded with antimatter mines.

Tuesday, October 30, 2007

Problems with made in China had drives?

The events of the last six months make it easy to believe that "made in China" is bad news for hard drives.
Data recovery firm sounds Mac hard drive damage alert | Reg Hardware

... Clarke blamed the problem what he described as 'poor quality control in Chinese hard drive factories' - an issue he maintained affects other hard drive makers in addition to Seagate. He also warned all hard drive buyers to avoid HDDs manufactured in China...
I buy it. I'd much prefer Thailand, Singapore, etc.

Monday, October 29, 2007

OX 10.5 Leopard: the Ars Technica review

Mandatory reading for Apple geeks, all of whom will mentally underline one paragraph

Mac OS X 10.5 Leopard: the Ars Technica review: Page 4

...Why, Apple? Why!? Was there something horribly wrong with the existing menu bar—something that could only be fixed by injuring its legibility? Like the folder icons and the Dock, it's not so much a fatal flaw in and of itself. It's what it implies about the situation at Apple that is so troubling. What in the holy hell has to happen in a meeting for this idea to get the green light? Is this the dark side of Steve Jobs's iron-fisted rule—that there's always a risk that an obviously ridiculous and horrible idea will be expressed in his presence and he'll (inexplicably) latch onto it and make it happen? Ugh, I don't even want to think about it...

Jobs gets the blame for most of the horde of bizarre UI decisions. We can only hope, like the last minute Dock overhaul, that they'll be fixed -- maybe by 10.5.3.

Meanwhile even Apple enthusiast sites are suggesting anyone with a life should wait for 10.5.1. My friend Andrew, who is usually blessed by the OS gods, spent the weekend rebuilding his laptop post a 10.5.0 update and he grudgingly admits his core apps are significantly less stable under 10.5.0 than they were under 10.4.10.

Personally, I'm thinking more of 10.5.2 -- and I like 10.5.

Update: this is part of why I like 10.5:

...In the screenshot above, I've scaled the remote computer (a Mac running Tiger and Apple Remote Desktop) to an extreme degree, but it's still fully functional and surprisingly usable even at this tiny size. The preferences dialog in the front belongs to the Screen Sharing application, as does the toolbar with handy "Send to/from Clipboard" buttons on it.

The Screen Sharing application is hidden in /System/Library/CoreServices, but can be launched manually and used to connect to another computer if you know the IP address. You'll be prompted for a username and password, with the option to explicitly request permission to share the screen...

I was disappointed to read that 10.5 screen sharing was VNC based. This scaling stuff is not part of any VNC client I've tried (and none of them worked well on OS X anyway). Sounds like there's more to it.