# Funktionsreferenz

Break

Enables or disables the users' ability to exit a script from the tray icon menu.

Break ( mode )

Parameter

mode | Sets the script break mode: 1 = Break is enabled (user can quit) (default) 0 = Break is disabled (user cannot quit)

Bemerkungen

Please only disable break with good reason.
AutoIt normally creates a tray icon when running, and right-clicking this icon allows the user to pause or exit the script. If Break is enabled (1), then the user cannot terminate the script this way.

Siehe auch

Keine.

Beispiel

Break(0) ;Disable break