Lock Messages Command
The lock messages command sets the lockMessages property to true.
The following handler uses the lock messages command in the script of a button to display every card in the stack without triggering any openCard or closeCard messages. The unlock messages command is used to resume the transmission of system messages. Try the handler without the lock messages command at the beginning to see the time difference.
repeat with i = 1 to the number of cards of this stack
go to next card
wait 2 seconds end repeat unlock messages
This text has been mechanically extracted from the Oracle Media Objects 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.