The trick is in the WA parameter of the SHELL command. If WA=1 the SmartCAM
macro will pause until the shelled application (EditPlus) is terminated.
Since you just minimized it SmartCAM was still waiting to finish the macro.
If WA=0 the SmartCAM macro will continue to run.
SHELL[CMD_LN=STRTMP("%PATH%FILENAME"), WA=0, DP=0]
=============================================
Fred Lauzus, CAM Programming Coordinator
High Steel Structures, Incorporated
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.highsteel.com <http://www.highsteel.com/>
=============================================
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 10:37 AM
To: [EMAIL PROTECTED]; kocourek_chris
Subject: [mfg-smartcam] Executing from inside a macro...
Chris,
I'm using v11.5. and I used the macro that you sent awhile back to run
Edit Plus:
>From inside SmartCam.
I am running into a trouble when I go to close the Edit Plus file it works
great if I
save the file or close it completely BUT if I try to reduce the Edit Plus
screen down
into a pull up tab it locks up my computer and I have to end task my
SmartCam
Production Milling to clear things up.
Have you ever had this happen to you with this macro?
and how can it be fixed.
Is there a way to save the SmartCam job file in a macro so if I don't
remember
to do this I don't lose the file because of the computer locked up.
STRING:#PATH
STRING:#FILENAME
#PATH=c:\sm11\shared\
#FILENAME=wedplus.exe
SHELL[CMD_LN=STRTMP("%PATH%FILENAME"), WA=1, DP=0]
Well taking the time to look at this for me any help would be appreciated.
Brock
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================