just a few things:
it is GetUserLED(1200), the GetOEMLED range is for the OEM leds in VB.
Fernando, you can do it the way you did as well, it is another option.
if you put a User LED 1200 and a User LED 1201 on your screen for testing, then put this code in your macro pump, (check it twice to make sure it is running after you do).
'macropump.m1s
If GetUserLed(1200) Then
SetUserLed(1201, 1)
Else
SetUserLed(1201,0)
End If
the GetUserLED(1200) will evaluate to a "1" if it is on, and a "0" if it is off.
so you can open up your VB scripter window OR, put an On/Off button to control UseLED1200
in eighter case when you toggle the state of 1200, to ON, you will see 1201 turn on, and vice versa.
MacroPump: Yes Superhonkey it is a pain in the butt, but always go back and check to see if the Cheack to enable the macropump did indeed stay checked.
Brains: Yes it could be done in Brains as well, although the logic would be more complex than he is ready for. He noted that he is new, so coding is sometimes more
human readable than "ladder logic" is. IMHO.
Scott