TarwadaC4 Posted November 24, 2011 Posted November 24, 2011 (edited) hello guys i have a little question, if i wrote this $destination = "C:\Picture.Jpg" ;This only are Example SplashImageOn("Splash Screen", $destination,250,50) Sleep(3000) SplashOff() MsgBox(0,"Title","Text") the Splash Screen will Display First, after that the msg will appear i want the splash and the message box display together Edited November 24, 2011 by TarwadaC4
UEZ Posted November 24, 2011 Posted November 24, 2011 Try this: $destination = "C:Picture.Jpg" ;This only are Example SplashImageOn("Splash Screen", $destination,250,50,-1, @DesktopHeight / 2 - 200) MsgBox(0,"Title","Text") ;~ Sleep(3000) SplashOff() Br, UEZ TarwadaC4 1 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
TarwadaC4 Posted November 24, 2011 Author Posted November 24, 2011 WOW GREAT JOP !!! Can You Explain The Code pls
FaridAgl Posted November 24, 2011 Posted November 24, 2011 (edited) $destination = "C:Picture.Jpg" ;Address to image file SplashImageOn("Splash Screen", $destination, 250,50,-1, @DesktopHeight / 2 - 200) ;"Splash Screen" = Splash Title ;$destination = Address to iamge file that you decleared in first line ;250, 50 = Width and Height of Splash ;~ -1 = x pos = Center of desktop ;~ @DesktopHeight / 2 - 200 = For example in 800x600 res it means : ((600 / 2) - 200) = 100 MsgBox(0,"Title","Text") ;Show a Message Box SplashOff() ;Hide Spalsh Edited November 24, 2011 by D4RKON3 meoit and TarwadaC4 2 http://faridaghili.ir
UEZ Posted November 24, 2011 Posted November 24, 2011 4 lines of code shouldn't be a challenge to understand it but here we go: With SplashImageOn() you display the image on the screen as long as SplashOff() will be called or script ends. With MsgBox() you display the message box which waits for the button to get pushed. Afterwards the splash screen and messagebox will be closed. Check the help file for the parameters for SplashImageOn(). Br, UEZ TarwadaC4 1 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now