Monte- Thursday, September 12, 2013, 5:34:28 PM, you wrote:
> I hadn't thought about supporting multiple script editors yet. > How does one tell if GLX is the user's current choice of script > editor? I suppose you could check to see if GLX2 is in the frontscripts. function GLX2IsActive local tIsActive put false into tIsActive -- see if GLX2 is available if "GLX2" is in the frontscripts then -- see if GLX2 is active if the cUseGLX2 of stack "revGLX2 Code" is true then -- GLX2 is active put true into tIsActive end if end if return tIsActive end GLX2IsActive -- -Mark Wieder mwie...@ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode