Jump to content

Background Image


Recommended Posts

I am sure this was answered before somewhere, I just can't seem to enter the correct search words to find it. I am looking to use a script to install my other program that I compiled to an .exe. The install program maps drives, copies files, and sets variables. It also uses splashtext in a couple of places. I need to hide the background functions of what the script is doing, and at the same time display the name of what I call the program.

Example:

When you install most programs it splashes up an image while it is doing everything in the background. That is what I am looking to do.

"so much work, so little brains..."

Link to comment
Share on other sites

I am sure this was answered before somewhere, I just can't seem to enter the correct search words to find it. I am looking to use a script to install my other program that I compiled to an .exe. The install program maps drives, copies files, and sets variables. It also uses splashtext in a couple of places. I need to hide the background functions of what the script is doing, and at the same time display the name of what I call the program.

Example:

When you install most programs it splashes up an image while it is doing everything in the background. That is what I am looking to do.

Something like that?

$i = 0
$pic = "c:\Program Files\AutoIt3\Examples\GUI\logo4.gif"
AdlibRegister("Background_Job", 100)
SplashImageOn("Splash Screen", $pic, 169, 68, -1, -1, 1)
Sleep(10000)
SplashOff()
AdlibUnRegister("Background_Job")
Exit

Func Background_Job()
    $i += 1
    ConsoleWrite($i & @CRLF)
    Return
EndFunc

BR,

UEZ

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

Link to comment
Share on other sites

Something like that?

$i = 0
$pic = "c:\Program Files\AutoIt3\Examples\GUI\logo4.gif"
AdlibRegister("Background_Job", 100)
SplashImageOn("Splash Screen", $pic, 169, 68, -1, -1, 1)
Sleep(10000)
SplashOff()
AdlibUnRegister("Background_Job")
Exit

Func Background_Job()
    $i += 1
    ConsoleWrite($i & @CRLF)
    Return
EndFunc

BR,

UEZ

"so much work, so little brains..."

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...