Try
the following command�
AUTO_ANSWER[
]
(Auto
Answer), command.
Automatically
responds to
non-error messages that are
displayed.
The selected response will be
applied to
the message and the macro will
continue
without stopping. Critical errors will
not be
ignored and will still stop the macro.
Auto Answer
cannot be used to trigger or
accept
non-message dialog boxes (such as
Save or
Display Modes). The auto-answer
mode will
stay on until macro completes or
until it is
explicitly turned off by
AUTO_ANSWER
[AA=�OFF�].
Note: Auto
Answer is not a recordable
macro
command.
AUTO_ANSWER[AA=$$]
AA = Answer
(required)
�OFF� =
Notice will be displayed as it
would
normally (interactive with user
and interrupt
macro processing)
�OK� =
Answers with �Ok� or �Yes�
where
applicable.
�YES� =
Answers with �Ok� or �Yes�
where
applicable.
�CANCEL� =
Answers with �Cancel�
when
applicable; if not, then like �OK�
�NO� =
Answers with �No� when
applicable;
if not, then like �Cancel�
when
-----Original
Message-----
From: Angelucci
[mailto:[EMAIL PROTECTED]
Sent: Friday,
November 07, 2003
11:58
AM
To: smartcam user
group(e-mail)
Subject:
[mfg-smartcam] Macro help
I've written a macro to post my codes to
8 different machines at same time.
But I have a little problem. How can I
ignore the errors when the macro is running.
If this file exists on my target folder,
SC shows a warning message.
Can I deactivate or ignore this kind of
erros?
STRING:#POSMZKC
#POSMZKC="-"
IF(#VFH880=1)
#POSMZKC="FH880"
ENDIF
STRING:#POSMZKB
#POSMZKB="-"
IF(#VAJV6080=1)
#POSMZKB="AJV6080"
ENDIF
STRING:#POSMZKI
#POSMZKI="-"
IF(#VMTV515=1)
#POSMZKI="MTV515"
ENDIF
STRING:#POSPFV
#POSPFV="-"
IF(#VHELLER=1)
#POSPFV="HELLER"
ENDIF
STRING:#POSROC
#POSROC="-"
IF(#VROCCO=1)
#POSROC="20VB"
ENDIF
STRING:#POSCINC
#POSCINC="-"
IF(#VCINC=1)
#POSCINC="CINC"
ENDIF
/////////////////////////////////////
STRING:#POSMCP
#POSMCP="-"
IF(#VMCP=1)
#POSMCP="MCP"
ENDIF
STRING:#POSMFZ
#POSMFZ="-"
IF(#VMFZ=1)
#POSMFZ="MFZ"
ENDIF
//////////////////////////////////
IF(#VFH880=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOFH880]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\MAZAK\FH880\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODFH880]
ENDIF
IF(#VAJV6080=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOAJV]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\MAZAK\AJV60_80\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODFH880]
ENDIF
IF(#VMTV515=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOMTV]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\MAZAK\V515\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODMTV515]
ENDIF
IF(#VHELLER=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOHELLER]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\PFV\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODHELER]
ENDIF
IF(#VROCCO=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOROCCO]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\DIADUR\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODROC]
ENDIF
IF(#VCINC=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOCINC]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\CINC\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODCINC]
ENDIF
//////////////////////////////////////////////////////////////////////
IF(#VMCP=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOMCP]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\MCP\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODMCP]
ENDIF
IF(#VMFZ=1)
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\DEFCICLOMFZ]
STRING:
#SETUPFIL
#SETUPFIL=STRTMP("S:\TRA\MFZ\%#ARQUIVO")
MAC_EXE[FN=C:\PROGRAMACAO\MACRO\POSPROC\CODMFZ]
ENDIF
/////////////////////////////////////////////////////////////////////
Tel.:(55)(11)43587333 - Ramal
284