On 13/09/2013, at 3:53 PM, Mark Wieder <mwie...@ahsoftware.net> wrote:
> 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 OK, thanks. Once I've re-designed the exported files to cope with Windows I'll look at adding GLX2 support. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ 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