RunSplashTextExample.vbs
Same, copy everything after the ______
________________________________________
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
Dim WshShell : Set WshShell = CreateObject("WScript.Shell")
sTEST = "300 150 50 50 16 -1 -1"'position of window. Look at the AutoIT Documentation for specifics
'Note adding a ^ will cause a LF(1 LF per^).
'SplashTextOn($title, $message, $wide, $high, $xpos, $ypos, $opt, "",$fsize,$fweight)
sTitle = """This is the Title"" "
sTitle1 = """You Can Even Change the Title"" "
WshShell.Run "SplashText.exe " & stitle & """Testing SplashText"" " & "300 150 50 50 16 -1 -1" & vbcr
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can make the fonts BIGGER"" " & "300 150 50 50 16 20 -1"
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can make the fonts smaller"" " & "300 150 50 50 16 8 -1"
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """The Text will wrap if it is too long for the window."" " & "300 150 50 50 16 -1 -1"
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can change the window size."" " & "100 350 50 50 16 -1 -1"
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can move the window."" " & "300 150 350 500 16 -1 -1"
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle 'If you do not close the original window it will stay open when a window is opened with a new title.
'Open a new window with a different title.
WshShell.Run "SplashText.exe " & stitle1 & """Text is left Justified ^ and the window can be moved. ^ Pausing 7 seconds."" " & "300 150 50 50 20 -1 -1"
wscript.sleep 7000
WshShell.Run "SplashText.exe " & stitle1 'Run it again to close it
WshShell.Run "SplashText.exe " & stitle & """Text is Right Justified ^ and the window can not be moved."" " & "300 150 50 50 8 -1 -1"
wscript.sleep 4000
'Start Smooth window transitions example
WshShell.Run "SplashText.exe " & stitle & """Adding 1 of these (The Char above the number 6) will enter a LF^See^What^I^Mean."" " & "300 150 50 50 16 -1 -1"
wscript.sleep 4000
WshShell.Run "SplashText.exe " & stitle & """You can"""
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can ^even make"""
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can ^even make ^the Splash Window"""
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can ^even make ^the Splash Window ^not Flash as """
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can ^even make ^the Splash Window ^not Flash as ^it did before."""
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can ^even make ^the Splash Window ^not Flash as ^it did before.^New Line"""
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """You can ^even make ^the Splash Window ^not Flash as ^it did before.^New Line^Newer Line"""
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle & """See the readme file for explinations of switches."" " & "350 100 50 50 20 -1 -1"
wscript.sleep 2000
WshShell.Run "SplashText.exe " & stitle 'Run it again to close it