LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
I have a a script that call a chain of scripts that are embedded in the stack scripts of many stacks.
On my first script, I open the file dialog box and user has to click on a file to import. If they click on the file and press open, everything continues and works great.
If they click on the "cancel" button, it just closes the dialog and still continues.
How do you stop the script and put in a line of code that says something like:
if it is "cancel" then go to cd "home"
stop script "open Files" -- I know this is not a legal line of code..lol.