
Button 1 Text Average30
Button 2 Text Average120

Button 4 Text Minimize
Button 5 Text Maximize
Button 6 Text Normal

Button 8 Text Main
Button 9 Text Raw
Button 10 Text Sat
Button 11 Text Pos
Button 12 Text Map

Button 17 Text MapToLocal
Button 18 Text MapTo

Button 20 Text Image
Button 21 Text ImageTime
Button 22 Text ImageName

Variable Numeric SlotTextNumber = 1

Stop


Label SendCommand
	Variable String Command
	SlotText SlotTextNumber = Command
	Wait SlotText(SlotTextNumber) = ""
Return

Label Average30
	Command = "Average 30"
	SendCommand
Return

Label Average120
	Command = "Average 120"
	SendCommand
Return

Label Minimize
	Command = "Minimize"
	SendCommand
Return
Label Maximize
	Command = "Maximize"
	SendCommand
Return
Label Normal
	Command = "Normal"
	SendCommand
Return

Label Main
	Command = "Main"
	SendCommand
Return
Label Raw
	Command = "Raw"
	SendCommand
Return
Label Sat
	Command = "Sat"
	SendCommand
Return
Label Pos
	Command = "Pos"
	SendCommand
Return
Label Map
	Command = "Map"
	SendCommand
Return

Label MapToLocal
	Command = "MapToLocal"
	SendCommand
Return
Label MapTo
	Command = "MapTo 45.470690 7.945215 100"
	SendCommand
Return


Label Image
	Command = "Image"
	SendCommand
Return
Label ImageTime
	Command = "ImageTime"
	SendCommand
Return
Label ImageName
	Command = "ImageName" + " TestImage_" + Format(Now, "yyyy_MM_dd_HH_mm_ss")
	SendCommand
Return


'WATCH SewTo_Speed
'EXEC Button 5 Text Button5
