I use the following PAUSE command when debugging a macro.

I've placed it in numerous locations throughout a macro and each

time the line gets executed it appears in the same location

 

PAUSE[TX="The so far so good macro pause!", LR=10, LC=5, SR=2, SC=40, PT=1]

 

Another thought is to use a WHILE/ENDW loop like this

 

#Count=1

WHILE( #Count=1)

 PAUSE[TX="Have you saved the file yet?\n

                -and-\n

   Is the Filters turned off?", LR=10, LC=5, SR=2, SC=40,PT=1]

 

FILTER_USE[ON=0]// turn filter off

 

// If you select OK the macro goes on and if you select Cancel it stops

 #Count=#Count+1

ENDW

 

Regards,

Michael Senack

 

-----Original Message-----
From: Jeff [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, February 26, 2003 8:04 PM
To: Smartcam User Group
Subject: [mfg-smartcam] Macro question

 

Hello group,

 

When executing a macro the question box always pops up in the middle

of the screen. I can set the PAUSE command to LR=50, LC=80, SR=2, SC=5, PT=1

for controlling where it pops up for the initial macro opening but after that

it always defaults to the middle of the screen 

Is there a way to get all the question boxes to come up in a differant location?

 

Jeff Pieper

EATON Fluid Power

Reply via email to