AnsweredAssumed Answered

Press cancel button script

Question asked by jackmac on Aug 29, 2014
Latest reply on Aug 29, 2014 by philmodjunk

Title

Press cancel button script

Post

     Hi,

     I've got three files I need to convert but have a dilemma. I have created a script to convert the three files but the files are inter-dependent in that fields connect one to the other.  If I convert file 1, it needs 2.fmp12 - problem is that hasn't been created yet by converting so I get the dialogue box to point to it. If I press 'cancel it will continue without that file then convert file 2 and make 2.fmp12 then move onto file 3.

     All I want is a means to press the cancel button in my script. Any ideas? I've tried Get(ErrorCaptureState) in an IF statement but not sure how to say 'if error, press cancel button'.

Outcomes