Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#DEFINE HKEY_LOCAL_MACHINE 0x80000002
#DEFINE INSTRUMENTS "SOFTWARE\Native Instruments"
SET CLASSLIB TO (HOME(1) + "FFC\registry") ADDITIVE
LOCAL Reg AS registry
m.Reg = CREATEOBJECT("registry")
LOCAL ARRAY Entries[1]
LOCAL NativeInstruments AS Integer
m.Reg.OpenKey(INSTRUMENTS, HKEY_LOCAL_MACHINE, .F.)
m.Reg.EnumKeys(@m.Entries)
m.Reg.CloseKey()
LOCAL Instrument AS String
LOCAL kValue AS String
CREATE CURSOR curInstruments (Instrument Varchar(254), ContentDir Varchar(254))
IF VARTYPE(m.Entries[1]) != "L"
FOR EACH m.Instrument IN m.Entries
m.Reg.OpenKey(INSTRUMENTS + "\" + m.Instrument, HKEY_LOCAL_MACHINE, .F.)
IF m.Reg.GetKeyValue("ContentDir", @m.kValue) == 0
INSERT INTO curInstruments VALUES (m.Instrument, m.kValue)
ENDIF
m.Reg.CloseKey()
ENDFOR
ENDIF
BROWSE