Stay in front

How can I make an application always stay in front of all the other applications?

One of the greatest features of OS X is that you can’t, unless you are absolutelly decided to spam user’s screen… :rolleyes:

In such case, you should attach an “idle” handler to your “File Owner” and execute this every second:

tell application "Finder" to set frontmost of process (path to me as string) to true

You can also put it in a repeat loop, so you make sure the user doesn’t switch to another application in the 1-second interval:

repeat
     tell application "Finder" to set frontmost of process (path to me as string) to true
end repeat

:lol:

Also, it was recently posted a way to create a full-screen method attached to your AS-Studio app. You can look here:
http://www.macosxhints.com/article.php?story=20030804193518188

It will not keep your “application allways stay in front”, but maybe a similar feature. :wink: