| 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 |
|---|
| 16 | Func _Example1() |
|---|
| 17 | SplashTextOn("Correct usage", "Msgbox will appear after SplashOff") |
|---|
| 18 | Sleep(3000) |
|---|
| 19 | SplashOff() |
|---|
| 20 | MsgBox("", "Example 1", "Correct usage", 3) |
|---|
| 21 | EndFunc ;==>_Example1 |
|---|
| 22 | |
|---|
| 23 | ;Example 2 - incorrect use according to Help file |
|---|
| 24 | Func _Example2() |
|---|
| 25 | SplashTextOn("Incorrect usage", "Msgbox won't appear after SplashOff") |
|---|
| 26 | Sleep(3000) |
|---|
| 27 | SplashOff |
|---|
| 28 | MsgBox("", "Example 2", "Incorrect usage", 3) |
|---|
| 29 | EndFunc ;==>_Example2 |
|---|