> Is there a way to determine in a script if the stack is a standalone?

Yes, just use the environment function. See the docs for details.
Mike, Terry, et al:

According to Rev Dictionary:

"If the environment function returns "player", the stack is running as a standalone application or under the unlicensed Starter Kit version."; so I don't see how that gets what Mike wants.

This, however, will:

function amIAStandalone
if there is a background "revLibraries" then return true else return false
end amIAStandalone

(revLibraries is created by the Distribution Builder.)
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to