lcVCS - Getting started
Mark Wieder
mwieder at ahsoftware.net
Fri Sep 13 01:53:07 EDT 2013
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
mwieder at ahsoftware.net
More information about the use-livecode
mailing list