if (environment() = "development") then
        // your in IDE
else
        // your not in IDE
end if

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


On Dec 4, 2003, at 4:35 PM, Brian Maher wrote:


Hi Folks,

Is there any way (in a script) to tell if I am running in the IDE?

In particular, I want to have a standard preOpenStack script that sets the style of the stack to modeless (to obtain the standard OS X background for the stack). Unfortunately just putting that statement into the stack flips it to modeless style when I open it in the IDE (and it is annoying to have to flip it to toplevel every time I want to edit it).

Thanks, Brian

_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to