Stop Script if cancel in Custom Dialog Box

Discussion created by luffyfilemaker007 on Mar 21, 2017
Latest reply on Mar 21, 2017 by luffyfilemaker007

Hi everyone,


i would like to know how I can stop a script to perform if I click "Cancel" on my Custom Dialog Box, that is in the beginning of my Script.


I looked up several discussions on the subject and people talke about:

If[Get(LastMessageChoice) = 2]

Exit Script

End If


But I can not access Get(lastmessagechoice) in the script workspace.


Any idea ?