Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
cabron

The NSPanel Thread

204 posts in this topic

Recommended Posts

To sum it up making HUDs in the simplest form = using a drop down menu and clicking a checkbox. You need Interface Builder (comes as part of Xcode)

How to make HUDs for Dummies in 10 easy steps by ~pcwiz

#1 Go into the package contents of the app you want to HUDize (right click >> Show package contents)

 

#2 Navigate to Contents >> Resources >> English.lproj

 

#3 Open the MainMenu.nib file in Interface Builder

 

#4 Click on the app window shown in Interface Builder

 

#5 In the Inspector window tick the HUD checkbox

 

#6 Change the class from NSWindow to NSPanel

 

#7 Save the nib file

 

#8 Rejoice and drool all over the screen

 

#9 Do the happy dance

 

#10 Share your creations with others

 

Other Notes

 

The Inspector (open by default) can be opened in either the Tools or Window menu in Interface builder. If you can't find the HUD and class options just look through the different tabs of the Inspector window. Easiest way I can explain it. Maybe not 100% correct because its been a while since I've done it, but accurate enough :unsure:

Share this post


Link to post
Share on other sites
Err, by clicking on the Trash in your dock?

 

lol oh so funny. i meant (just in case you didnt comprehend me the first time) were do you access the trash properties? ie: mainmenu.nib ect...

Share this post


Link to post
Share on other sites
lol oh so funny. i meant (just in case you didnt comprehend me the first time) were do you access the trash properties? ie: mainmenu.nib ect...

 

I took a look for it but I have a feeling the trash properties are in a compiled nib so we cant change it. The last set of instructions are pretty much right but it doesnt say that the choices to do such things like change nswindow to nspanel are in the 5th (4th maybe?) inspector tab and once you change it you have to go to the first inspector tab and click the hud checkbox to make it a hud.

Share this post


Link to post
Share on other sites
lol oh so funny. i meant (just in case you didnt comprehend me the first time) were do you access the trash properties? ie: mainmenu.nib ect...

 

oh haha, now that makes sense..

but no, i dont know where to access it :[

Share this post


Link to post
Share on other sites
I took a look for it but I have a feeling the trash properties are in a compiled nib so we cant change it. The last set of instructions are pretty much right but it doesnt say that the choices to do such things like change nswindow to nspanel are in the 5th (4th maybe?) inspector tab and once you change it you have to go to the first inspector tab and click the hud checkbox to make it a hud.

 

yes, i found that out. once you figure that out, it really is easy.

 

oh haha, now that makes sense..

but no, i dont know where to access it :[

 

 

yea lol, ur prolly right, i just dont know.

Share this post


Link to post
Share on other sites

So with the release of 10.5.3 I can confirm that the software update hud works perfectly. Feel free to download and play with it now.

Share this post


Link to post
Share on other sites
So with the release of 10.5.3 I can confirm that the software update hud works perfectly. Feel free to download and play with it now.

 

seems that the software update folder you provided, is actually the backup folder for software update, wondering if you have the actual HUD folder?

 

-Robbie

Share this post


Link to post
Share on other sites

not sure if it is related to 10.5.3 only beacause, i didnt spend much time with HUDs in 10.5.2 ... anyhow, when in an app that is HUD enabled, if you click onto another app, the HUD enabled app will NOT hide behind the app you clicked, it will always stay on top.. this problem, has led me to restore default resources folders to all programs, that i use WITH the exception of the shutdown/logout/forcequit/restart/ect... i left all these alone beings as how these particular apps, do not require me to hide them. anyhow, idk if this problem of mine, pertains to 10.5.3 or not, just stating it.

Share this post


Link to post
Share on other sites

AFAIK that's there in 10.5.2 as well. They have to be configured to hide, just "using a dropdown menu and ticking a checkbox" won't cut it :)

Share this post


Link to post
Share on other sites
AFAIK that's there in 10.5.2 as well. They have to be configured to hide, just "using a dropdown menu and ticking a checkbox" won't cut it :)

 

ah well, i wish some one would have told me that, lol i just reverted everything, but w.e HUD stuff is nice, although to complicated to do on ones own. lol and installer would be nice *cough cough* that would install all of them, and make them hide **** :P

 

-Robbie

Share this post


Link to post
Share on other sites

HUD is designed not to do that because they are only mostly used for windows that will not be open for a very long time, i.e. configuration windows.

Share this post


Link to post
Share on other sites

theres a check box that hides the window upon loss of focus.

 

i have pointed this out earlier in the thread.

 

-D-

Share this post


Link to post
Share on other sites

What else would he be talking about? That's the only checkbox that, well, hides the window when it's deactivated.

Also, I found the lines in the NIB's files that determine the class and the style mask. Let the automation begin.

 

Just so you're aware, if I make a tool like this, it will only work on certain NIBs that meet the requirements and don't have anything too fancy going on.

Share this post


Link to post
Share on other sites

hey, ive tried the leopard HUD installer, and got transmission and system profiler and stuff HUD-ed out.

But the main one i wanted-- About this mac... did not work. B)

can somebody help me try to get the about this mac a HUD? all the installer did was turn the text white

runnin kalyway 10.5.2

Share this post


Link to post
Share on other sites

i'm having trouble wiht the MAC hud...i dled the file..then i backuped the english file, delted it from coreservices etc...then replaced it with the mac hud file..when i do that and i click on my mac...it doesn't evne show up?!? help?

 

thanks

Share this post


Link to post
Share on other sites

Okay Cocoa ninjas, here's a question:

 

Once a window is set as NSPanel class, it's always on top (which is annoying). I read in the docs that you can setFloatingPanel:NO to make it behave like a normal window, not just "hide on deactivate" ...how do I do this?

 

Also, I'm currently altering Xbench to make it HUD:

@Cabron that GUI kit is ridiculously nice, it's really going to come in handy with this mod. I can't believe it's res indepedent!

20080719-xuqh2gnbtn4b7unx8xtuf8s92c.jpg

 

But since it's not kosher to make your primary window HUD, I start to see a strange behavior. For example, when I launch my Xbench HUD, the TestResults.nib pops up with the MainMenu.nib ("visible on launch" is not ticked). But when I turn HUD off, only the MainMenu.nib launches on start (which is what should really happen). Try it yourself, it's really frustrating. I suspect that that it's looking for an NSWindow class and isn't finding one. Any ideas for a work around?

Share this post


Link to post
Share on other sites

has anybody figured out ichat yet. i tried on my own but my contacts disapear! so the buddy list window is transparent but you cant see or access any of the contacts

Share this post


Link to post
Share on other sites

I found this: made by gnome

AUHUD.png

 

It requires SIMBL to install, because this doesn't modify the NIB files of the application--it edits the code. (Safely, I promise.)

 

Please report any bugs.

 

Download: http://www.gnomepi.com/random/AUHUD.zip

 

Install Instructions:

1. Install SIMBL, if you haven't already.

2. Drop the downloaded file into /Library/Application Support/SIMBL/Plugins/, creating that folder if it does not already exist.

 

Note: If you try to compress a file by right-clicking in the Finder, you won't get HUD windows. That's because the Finder, a Carbon program, is responsible for that compression *. Decompression will work, however.

Share this post


Link to post
Share on other sites

These are all great, and the installer works wonders. I almost have all of them working, except I can't figure out why the log out screen, and quicktime mods won't take. They didn't work from the installer and I tried a few times manually doing it so I know the files are replaced, but it won't switch to HUD.

 

Any ideas what is causing this? I'd love to get these last two working. Its weird that shutdown and restart would show HUD but log off, won't seem to take no matter what.

 

EDIT: Alright, figured out the logout issue, the file does not go in the English.Iproj folder like the others ;)

 

EDIT2: Yep same thing on the other one...LOL Now I can sleep :P

 

Thanks to everyone who worked on this, this is really a great mod!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    •   Thank you Baio77. Here is my CLOVER folder and the Hack info. 
            For Some Reason I can't upload my CLOVER folder. But here you can download...
      https://www.dropbox.com/s/vjprxs1idtj9pt7/CLOVER.zip?dl=0     Thank you again!!!   HackInfo_Report.zip
    • The brightness is NOT from Sierra, in my signature you find tools with which to give info on your system .....
      Post Hack Info and the clover folder ......
      Only in this way can I help you ......
    • Few more minutes to go before going live again with https://OSXLatitude.com
          So you can lock this topic again @Allan Hopefully for a bit longer than a couple of weeks this time hehe.
    • ok, I am having a weird glitch with my Primary bios after modding it myself. can I get some help getting a Clean osmosis modded (for High Sierra and beyond) Bios Image?   https://www.gigabyte.com/us/Motherboard/GA-Z87X-UD5-TH-rev-1x#support-dl   the version I have always stuck with was F4, because the F5d.  I use a custom iMac 14,2 configuration that has been stable, the issues I have with stability come from not being able to get Access to the Bios, and prior to my attempt to mod it has been stable with up to High Sierra using clover, and up to Sierra with my very very old Ozmosis 894m F4 rom. I am not opposed to installing Ozmosis on the EFI Partition, But Gigabyte locked the Bios loading .efi Files, there is no shell to Force it to load HFS+ or APFS drivers.   so what I am asking for is assistance ether unlocking a Shell for my Bios, or getting a bios with the APFS, HFS+, and Ozmosis related files in it.   thanks again for everyones assistance. HBP
    •     Install from fresh again. This time without Tony Tools, follow some guide in this topic. Install IntelHD kexts as usual in S/L/E and thats it. Everything works again, except for backlight, I never could have this work, also got heating problem and when boots apple logo dissapears from like 5 seconds and then appear the login window... Any ideas on any of this????  


×