Log in

No account? Create an account
25 July 2006 @ 08:07 pm
Fixing God's horrible mistake's fix.  
After Gruber (and after him, pretty much all of the Mac blogosphere) bitched about the stupid shift-arrow key selection behaviour in table views, Jim Speth fixed god's mistake through a NSTableView subclass, and released a Mail.app bundle.

Now, that's all good, if you spend all your time in Mail. However, I'd like a system-wide fix. Suddenly, it came to me: an InputManager. After a bit of fiddling, I figured out how to make Jim's .mailbundle into a InputManager without even recompiling: Download the SelectionFix InputManager. (Installation instructions: Copy the folder SelectionFix into ~/Library/InputManagers/, creating that folder if it doesn't exist).

This InputManager will give every Cocoa table view non-stupid shift-arrow key selection. Wohoo! Well, with a small caveat... It only patches Cocoa applications, not Carbon apps. And which two major Apple apps aren't Cocoa? Yep, that's right... Finder and iTunes.

Dear Lazyweb: Find me's a patch that works for Carbon apps as well, even if it involves an APE.

It seems that the InputManager crashes Adium 1.0 Beta. I attached the debugger but the backtrace gave me nothing I understand... Just placing the SelectionFix folder somewhere else, then launching Adium, then replacing it should fix it. Maybe I should remake it into a SIMBL plugin...

Also, it seems that the selection is wonky if you step over the first item you selected and back again or something like that.

It's incompatible with VisualHub for some reason.

It's incompatible with craigotis.com's iProcrastinate. I'm beginning to think some of the overriden methods aren't fulfilling all their obligations... The VisualHub bug was related to selection through scripting, the iProcrastinate one to selection with CoreData.
wootest on July 26th, 2006 07:19 am (UTC)
Debugging output
I appreciate debugging output as much as everyone else, but couldn't you make it just output "SelectionFix failed to load" if it's not loaded instead of "SelectionFix: isLoaded: YES" (or "NO") every time? (Or even better, make it just print debugging output if a specific default is set. That way you could enable it manually if you need it.)

Adium crashing might have something to do with the fact that Adium uses a bootstrapper. The real process is Adium.real which is being launched by Adium. I don't recall why it does that exactly, but there you go.
wootest on July 26th, 2006 07:23 am (UTC)
Re: Debugging output
brockmorey on October 9th, 2008 03:05 pm (UTC)
You could even do it in TextEdit, if you like to write raw HTML. -- Bill Cheeseman - wjcheeseman@earthlink.
(Anonymous) on July 27th, 2006 10:02 pm (UTC)
WIll this do anything for keyboard users

I just want to use the keyboard int the Mail.app to select.

Actually, i would like to have a dedicated key/sequence that performs what an option-click selection does. (it would be nice if it were something like the Space bar.)

Would this help in any way for us keyboard users?


Nevyndevnevyn on July 28th, 2006 02:24 pm (UTC)
Re: WIll this do anything for keyboard users
You mean, Windows-style selection, with a dotted selection caret/border? I guess that would be theoretically possible, but not entirely trivial...

(And I guess you mean command-click, not option-click?)
(Anonymous) on August 1st, 2006 08:30 pm (UTC)
Re: WIll this do anything for keyboard users
Yeah, I mean't command-click.

So this isn't trivial? Can you tell me if the option-click sequence could be caught/sent within an Applescript, i.e. could this be circumvented in some Applescript code?


Nevyndevnevyn on August 1st, 2006 08:32 pm (UTC)
Re: WIll this do anything for keyboard users
(Anonymous) on February 12th, 2007 01:31 am (UTC)
Thank you!! That's fantastic. Now hopefully I can find some Finder alternative this will work with...
dorottyaxewim on July 17th, 2008 02:47 am (UTC)
Now , I know you are a busy guy counting all of that loot that you are making with all these products but can you please find some time to update the PHP code on these free scripts.
careypathlow on October 17th, 2008 04:02 am (UTC)
Will be doing some work with this for the rest of the evening. By Absinthe on Jul | Reply Thanks for sharing this resource.
santosbohjanen on October 17th, 2008 06:04 am (UTC)
Will be doing some work with this for the rest of the evening. By Absinthe on Jul | Reply Thanks for sharing this resource.
(Anonymous) on February 19th, 2007 04:55 am (UTC)
Most of the world thinks Bush sucks
Bush goes ballistic about other countries being evil and dangerous, because they have weapons of mass destruction. But, he insists on building up even a more deadly supply of nuclear arms right here in the US. What do you think? How does that work in a democracy again? How does being more threatening make us more likeable?Isn't
the country with the most weapons the biggest threat to the rest of the world? When one country is the biggest threat to the rest of the world, isn't that likely to be the most hated country?
Are we safer today than we were before?
The more people that the government puts in jails, the safer we are told to think we are. The real terrorists are wherever they are, but they aren't living in a country with bars on the windows. We are.
(Anonymous) on May 23rd, 2007 04:56 am (UTC)
Online Now
Thank you so much for allowing me the opportunity to visit this site. I actually fit in this category much more than you can know.

tamaracyjav on July 11th, 2008 01:49 am (UTC)
Thank you very much fot your more than nice comment in my last featured albom " Wonders of Capadokia".
alvaclows on October 9th, 2008 03:07 pm (UTC)
Also, thank you SO SO much for all that really kind comments for my latest albums and especially for the Portmeirion one.
(Anonymous) on February 23rd, 2011 12:09 pm (UTC)
Знакомства FairLove
Fairlove.ru - знакомства круглосуточно
выбор анкет для знакомства.
Для Секса, для Брака, для Интриг, для Развлечений, для Жизни.
Russian DATING on Fairlove.ru
Бесплатно: просмотр анкет, фотографий, регистрация, подбор партнёра, размещение анкет.
Знакомства,в Москве, в Санкт-Петербурге, в России и СНГ
Знакомство с девушками и парнями, мужчинами и женщинами, и не только...