iPhoto hack to add "Enhance" button?
I saw the following hack mentioned on MacOSXhints. Could someone please try this and post the resulting altered iPhoto app or perhaps its enough just to post the altered ArchiveDocument.nib file. I just get "unarchiving" errors when I try to open the file to be modified. Perhaps it requires a more recent version of the Developer Tools. Anyway, here is the hack...
[quote]
It seems there is a hidden feature in iPhoto 1.1.1 called "Enhance" that tries to do some color balancing and white point correction. This feature is disabled by Apple, but can easily be enabled by anyone with the Developer Tools.
Read the rest of the article for the instructions...
How to add an "Enhance" button to iPhoto
1.\tMake a copy of iPhoto
2.\tOpen the package for the iPhoto copy and navigate to the English.lproj folder (located in Contents/Resources inside the package; replace English with the language of your choice)
3.\tDouble click ArchiveDocument.nib
4.\tDrag the "Previous" and "Next" buttons and their separator bar to the very far right of the window
5.\tClick once on the "Red-Eye" and "Black & White" button matrix
6.\tOption drag the middle right handle of the matrix to the right until a new button cell is created (it won't snap back then)
7.\tDouble click on the new empty button cell so that it is selected
8.\tOpen the info window (command-shift-I)
9.\tSet the title of the button to "Enhance" and the icon to "enhance" (without the quotes)
10.\tSet the behavior to "momentary change"
11.\tIn the info window, select Connections from the popup menu
12.\tControl-drag from the Enhance button to the ArchiveController (in the ArchiveDocument.nib window) to make a connection between them
13.\tIn the info window, click on "target" in the Outlets column and then "enhance:" in the Actions column and then click the "Connect" button
14.\tSave the ArchiveDocument.nib and laucnh the iPhoto copy
If it doesn't work, trash the copy of iPhoto and continue to use the original.
<hr></blockquote>
[quote]
It seems there is a hidden feature in iPhoto 1.1.1 called "Enhance" that tries to do some color balancing and white point correction. This feature is disabled by Apple, but can easily be enabled by anyone with the Developer Tools.
Read the rest of the article for the instructions...
How to add an "Enhance" button to iPhoto
1.\tMake a copy of iPhoto
2.\tOpen the package for the iPhoto copy and navigate to the English.lproj folder (located in Contents/Resources inside the package; replace English with the language of your choice)
3.\tDouble click ArchiveDocument.nib
4.\tDrag the "Previous" and "Next" buttons and their separator bar to the very far right of the window
5.\tClick once on the "Red-Eye" and "Black & White" button matrix
6.\tOption drag the middle right handle of the matrix to the right until a new button cell is created (it won't snap back then)
7.\tDouble click on the new empty button cell so that it is selected
8.\tOpen the info window (command-shift-I)
9.\tSet the title of the button to "Enhance" and the icon to "enhance" (without the quotes)
10.\tSet the behavior to "momentary change"
11.\tIn the info window, select Connections from the popup menu
12.\tControl-drag from the Enhance button to the ArchiveController (in the ArchiveDocument.nib window) to make a connection between them
13.\tIn the info window, click on "target" in the Outlets column and then "enhance:" in the Actions column and then click the "Connect" button
14.\tSave the ArchiveDocument.nib and laucnh the iPhoto copy
If it doesn't work, trash the copy of iPhoto and continue to use the original.
<hr></blockquote>
Comments
The enhancements I saw weren't very significant or desirable.
<strong>I tried the button...it's not worth your time or my time to upload it.
The enhancements I saw weren't very significant or desirable.</strong><hr></blockquote>
Really? The people over in the MacOSXhints forum said it worked wonders, that it was Apple's version of Photoshop's autolevels. That is something I have been looking for. So anyone else want to do it and upload it? I think the individual modified file is only 64k in size right?
<a href="http://homepage.mac.com/apastuszak/FileSharing3.html" target="_blank">iPhoto 1.1.1 Enhance Hack</a>
Mac Guru
If anyone knows, I'd love to know...
<strong>How on earth do people discover these things???!!
If anyone knows, I'd love to know...</strong><hr></blockquote>It's actually pretty easy. Just play around with Interface Builder and open the various nibs. If you've programmed in Cocoa before, then the above procedure is extraordinarily simple. It's just like when we used to play around with ResEdit on apps.
<strong>Oh, ok. Me = non-programmer idiot, for whom it looks slighty complicated.</strong><hr></blockquote>More specifically..
You look in the nib files, which are in Application.app/Contents/Resources/Language.lproj usually.
Open one.. then select a controller (blue cube thingy) in the opened window.
Hit command-1 (I think, if not, then command-2) if you see a tab view with "Outlets" and "Actions" then you can see a bunch of actions in Actions.
So if you see like a "displayRegisterMessage" action.. well you can select it and hit the delete key