A real floating window?!?

I apologize in advance for the shear rudimentary nature of this question but I can’t for the life of me figure it out.

I want to have an app that has floating windows. That is, windows that float above every application, not just its own. I’m after the sort of floating now present in the new cocoa stickies app and 1,000,000 other apps I’m sure everyone has made.

One catch. I can’t do it. When I create a panel, set it to utility window, turn on all the attributes for one shot, non-activating, etc…the checkbox for “Hide on deactivate” checks itself and then greys out so I can’t change this. I’m sure this is the root of my problem but I just can’t change it! I’ve even gotten a project from someone else, whose windows do float correctly, and when I open their files in IB, it changes this setting on me and subsequent builds no longer float.

HELP!!! Thanks, in advance, for any help. :?

Try this link:
http://bbs.applescript.net/viewtopic.php?t=3287

Works for me. :slight_smile:

I have a similar issue – I want a utility panel to be my main window for a simple application. But Hide on Deactivate is checked and greyed out in IB. Ideally I’d like it not only to not hide on deactivate, but to float too.

The link posted above is dead.

Thanks.

Edit:

NM:


on launched theObject
	set hides when deactivated of window "main2" to false
	set the level of window "main2" to 1 -- will float above all 
end launched