So, the menu item Development/Suspend Messages does NOT suspend ALL messages: preOpenControl and openControl will still run in a stack.
So if I am sent a stack from a source I don't trust and open it, an openStack or openCard script could does something malicious on my computer (such as delete all the files in my 'Documents' folder.
I wonder if there is a way to block ALL the scripts in a stack from firing?
Suppress All Messages
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 10094
- Joined: Fri Feb 19, 2010 10:17 am
Re: Suppress All Messages
A little script like this will do the work:
I'm using this for more than 20 years. 
Code: Select all
...
lock messages
go stack "path/to/stack.livecode"
...

-
- Livecode Opensource Backer
- Posts: 10094
- Joined: Fri Feb 19, 2010 10:17 am