iPhoto hack to add "Enhance" button?

Jump to First Reply
Posted:
in macOS edited January 2014
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>

Comments

  • Reply 1 of 9
    eugeneeugene Posts: 8,254member
    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.
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 9
    apple.otakuapple.otaku Posts: 590member
    [quote]Originally posted by Eugene:

    <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?
     0Likes 0Dislikes 0Informatives
  • Reply 3 of 9
    mac gurumac guru Posts: 367member
    From MacNN



    <a href="http://homepage.mac.com/apastuszak/FileSharing3.html"; target="_blank">iPhoto 1.1.1 Enhance Hack</a>



    Mac Guru
     0Likes 0Dislikes 0Informatives
  • Reply 4 of 9
    cubedudecubedude Posts: 1,556member
    i used pacifist to extract that file and it worked pretty well, though i got some strange screen resolution error at the beginning, but i think that was because i had accidently clicked on myst 3's icon at the same time i clicked on the iphoto icon(does that make sense?).
     0Likes 0Dislikes 0Informatives
  • Reply 5 of 9
    low-filow-fi Posts: 357member
    How on earth do people discover these things???!! :eek:



    If anyone knows, I'd love to know...
     0Likes 0Dislikes 0Informatives
  • Reply 6 of 9
    ghost_user_nameghost_user_name Posts: 22,667member
    [quote]Originally posted by low-fi:

    <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.
     0Likes 0Dislikes 0Informatives
  • Reply 7 of 9
    low-filow-fi Posts: 357member
    Oh, ok. Me = non-programmer idiot, for whom it looks slighty complicated.
     0Likes 0Dislikes 0Informatives
  • Reply 8 of 9
    eugeneeugene Posts: 8,254member
    If it worked that well, why didn't Apple officially include it in the release version. It does not work that well, IMO, and I consider myself a bit of a photography nut.
     0Likes 0Dislikes 0Informatives
  • Reply 9 of 9
    synoticsynotic Posts: 151member
    [quote]Originally posted by low-fi:

    <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
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.