On Aug 4, 2006, at 3:29 PM, Arnaud Nicolet wrote:


Le 4 août 06 à 20:47 Soir, Eric Richards a écrit:

If you mean "put all other applications in front of your", then the =20 only way is to bring every other application to the front , like this:

tell application "System Events" --or "Finder" for MacOS 9
        set i to every process whose frontmost is false
        set c to 1
        repeat
                if c > (count items of i) then exit repeat
                set p to item c of i
                set frontmost of p to true
                set c to c + 1
        end repeat
end tell

(but the second case should probably not be done).


Yep that be it.

Humm, this can't be done by declares ?

Yes, it can be done. I remember having seen a "Process Declares" (or such name) RB project, when RB 3 was the current version. I think it's not simple but it is possible.

Actually, it's pretty simple. See the Process Manager of my declares book at <http://www.declareSub.com/>.

Charles Yeomans_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to