PDA

View Full Version : Dynamic LoginWindowText




mattiasvdm
Dec 11, 2012, 07:50 AM
So I've been searching and tweaking for two days now but no luck so far...

Here is what I want:

I have created a loginscript (loginhook) which runs some processes. These processes sometimes take a while. As the Apple support pages says: "Other login actions wait until the hook has completely executed." So sometimes a user has to wait a minute or two until he sees the desktop.

What I want is that the loginhook somehow shows the user what it's doing. What I tried was writing the status to the LoginwindowText like this:
defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "the status of the loginhook"
Unfortunately this doesn't work. Because these changes take effect after logout or reboot.

Is there a way to "reload" the loginwindow or the com.apple.loginwindow.plist?

If that's not possible is there an other way to somehow display custom text during login?



mattiasvdm
Feb 14, 2013, 05:35 AM
Still haven't found a solution. I have found some tools with similar options:

iHook - a pretty old tool which doesn't seem to work on mountain lion

Casper Suite - The Casper suite has jamfHelper.app which can display text during login or logout. But you need the whole suit.


Any ideas how to display text during login?