View SE Macros am I right? Yuck!
It's a local app on an old 2003 terminal server.
Can you run Macro scripts so they don't fill up the log?
Can you run Macro scripts so they only run on the local session 0 and not other RDP clients?
It looks like you can't nest If/Then statements and if I don't have an Else needed or not, it has an error about having an IF statement in a THEN. ???
So no:
IF {Tank1\T2_LVL_EU} <> {Tank2\T2_LVL_EU} THEN
{Tank1\T2_LVL_EU} = {Tank2\T2_LVL_EU}
ENDIF
But yes:
IF {Tank1\T2_LVL_EU} <> {Tank2\T2_LVL_EU} THEN
{Tank1\T2_LVL_EU} = {Tank2\T2_LVL_EU}
ELSE
ENDIF
Also no:
IF {Tank1\RTC_COMM_COUNT_MEM} == {Tank1\RTC_SEC} THEN
IF {Tank1\RTC_COMM_ALM_DIS} == 0 THEN
{Tank1\RTC_COMM_COUNT} = 0
ELSE
ENDIF
ELSE
{Tank1\RTC_COMM_COUNT} = 0
ENDIF
It's a local app on an old 2003 terminal server.
Can you run Macro scripts so they don't fill up the log?
Can you run Macro scripts so they only run on the local session 0 and not other RDP clients?
It looks like you can't nest If/Then statements and if I don't have an Else needed or not, it has an error about having an IF statement in a THEN. ???
So no:
IF {Tank1\T2_LVL_EU} <> {Tank2\T2_LVL_EU} THEN
{Tank1\T2_LVL_EU} = {Tank2\T2_LVL_EU}
ENDIF
But yes:
IF {Tank1\T2_LVL_EU} <> {Tank2\T2_LVL_EU} THEN
{Tank1\T2_LVL_EU} = {Tank2\T2_LVL_EU}
ELSE
ENDIF
Also no:
IF {Tank1\RTC_COMM_COUNT_MEM} == {Tank1\RTC_SEC} THEN
IF {Tank1\RTC_COMM_ALM_DIS} == 0 THEN
{Tank1\RTC_COMM_COUNT} = 0
ELSE
ENDIF
ELSE
{Tank1\RTC_COMM_COUNT} = 0
ENDIF