Sign in to follow this  
Followers 0
TarwadaC4

Displaying Splash Screen with MSG box in same time

7 posts in this topic

#1 ·  Posted (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 :D

Edited by TarwadaC4

Share this post


Link to post
Share on other sites



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

1 person likes this

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

ok wait a sec

Share this post


Link to post
Share on other sites

WOW GREAT JOP !!!

Can You Explain The Code pls :D

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by D4RKON3
2 people like this

Share this post


Link to post
Share on other sites

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

1 person likes this

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • Skeletor
      By Skeletor
      MS Splash Screens
      The office 2016/17 office suite has made many people turn heads with its functions and especially their splash screen.
      I now present to you, the MS Style Splash Screen. For Rookies, Novices and anyone who wants a ready made splash screen for your gui application.

      You can now download it and also try it out yourself.
      You have three colors to choose from:
      Blue
      Red
      Green
      All three colours are from the famous programs.
      I also included the KODA form to you can have freedom with this splash screen.
      Note: the KODA form does not have the three colours as well as the correct blue. 

      Have fun and enjoy.
      Note:
      I will update the splash to add the automated 3 dots animation at a later stage. 
       
       
    • Skeletor
      By Skeletor
      A gui splash screen. Themed after the famous MS Office Suite.
      Three colours to choose from, Red, Blue and Green.
      You can change the labels to your own application.

      Also bundled with this is the KODA form. So you can open up and see the basic structure of this splash screen.
       
      Splash Screen GUI.zip
    • Nareshm
      By Nareshm
      I have autoit script like this :
      winActivate ("BillReceipt") ControlClick ( "BillReceipt", "", "[NAME:winviewer]", "right") Send ( "{ENTER}") WinWait ("Print") ControlClick ("Print", "", "[CLASS:Button; INSTANCE:13]") Winwait ("Save As") WinActivate ("Save As") Send ("{TAB 5} {Backspace} ^v {Enter}") I need Saved successfully msgbox with file name as i saved like Filename.extension (Example = test.pdf is saved successfull)

      Please Help
    • Skeletor
      By Skeletor
      Hi All,
      I know many newbies search for this feature.
      I decided to share this piece of code with everyone.
      Basically its a "splash screen" that has a transparent image.
      In a nutshell - Gui with a transparent gif.
      Enjoy...
      Download attachment....
       
      Splash Screen GUI.zip