Ticket #3989: SplashOff_Bug.au3

File SplashOff_Bug.au3, 798 bytes (added by guidtracker@…, 10 months ago)

Example script

Line 
1#cs ----------------------------------------------------------------------------
2
3 AutoIt Version: 3.3.16.1
4 Author:         GUIDTracker
5
6 Script Function:
7        BugTracker example
8
9#ce ----------------------------------------------------------------------------
10
11; Script Start - Add your code below here
12_Example1()
13_Example2()
14
15;Example 1 -  correct use
16Func _Example1()
17        SplashTextOn("Correct usage", "Msgbox will appear after SplashOff")
18        Sleep(3000)
19        SplashOff()
20        MsgBox("", "Example 1", "Correct usage", 3)
21EndFunc   ;==>_Example1
22
23;Example 2 -  incorrect use according to Help file
24Func _Example2()
25        SplashTextOn("Incorrect usage", "Msgbox won't appear after SplashOff")
26        Sleep(3000)
27        SplashOff
28        MsgBox("", "Example 2", "Incorrect usage", 3)
29EndFunc   ;==>_Example2