
Variable String WayPointStatus = 90
SlotText(WayPointStatus) = "OFF"

Variable Numeric SText_WayPointStatus = 90
'SlotText(SText_WayPointStatus) = "OFF"    'Theremino WayPoint offline

Button 4 Label WayPoint
Button WayPoint Text "WayPoint OFF"
Button WayPoint Color Black

Load Theremino_SlotViewer.exe
Loop

' -----------------------------------------------
'  LOOP
' -----------------------------------------------
Label Loop
	Variable String LCM
	'StatusMaster
	If SlotText(SText_WayPointStatus) <> LCM 
		LCM = SlotText(SText_WayPointStatus)
		If LCM = "OFF"
			Button WayPoint Text "WayPoint OFF"
			Button WayPoint Color Black
		Else
			Button WayPoint Text "WayPoint ON"
			Button WayPoint Color Flashing9 Green9 GreenYellow
		EndIf
	EndIf
	If LCM = "ON"
		'Encoders
		'FirstFiveButtons
	EndIf
Goto Loop

' -----------------------------------------------
'  ENABLE - DISABLE Way Point Automation program
' -----------------------------------------------
Label WayPoint
	If SlotText(SText_WayPointStatus) <> "ON"
		Button WayPoint Text "WayPoint ON"
		Button WayPoint Color Flashing8 Green9 GreenYellow
		SlotText(SText_WayPointStatus) = "ON"
	Else
		Button WayPoint Text "WayPoint OFF"
		Button WayPoint Color Black
		SlotText(SText_WayPointStatus) = "OFF"
	EndIf
Return




'BOOKMARKS -1 -1 -1 

'EDITEDLINES 40 2 -1 4 -1 3 20 4 38 5 36 6 -1 7 -1 9 18 9 15 10 

'WATCH CR
