Sign in to follow this  
Followers 0
tehon3299

"installing Now..." Box

5 posts in this topic

I am looking to pop up a message box at the beginning of my script that says "Installing Now...Please wait..." and I want it to stay up until the script finishes. Is there anyway I can do this??

Share this post


Link to post
Share on other sites



SplashTextOff()

It's

SplashOff()

.

Share this post


Link to post
Share on other sites

Cool! Thanks guys!

Share this post


Link to post
Share on other sites

Hey guys -

Anyway I can put an icon or image in that splash text box?

Share this post


Link to post
Share on other sites

Function Reference
SplashImageOn 
--------------------------------------------------------------------------------

Creates a customizable image popup window.


SplashImageOn ( "title", "file" [, width [, height [, x pos [, y pos [, opt]]]]] )
 

 

Parameters

title Title for splash window. 
file full path\filename of image (BMP, GIF, or JPG) 
 width [optional] width of window in pixels. (default is 500) 
height [optional] height of window in pixels. (default is 400) 
x pos [optional] position from left (in pixels) of splash window. (default is centered) 
y pos [Optional] position from top (in pixels) of splash window. (default is centered) 
opt [additional options] Add up the options you want. Default is 'always on top/with title'
1 = Thin bordered titleless window
2 = Without "always on top" attribute
16 = Windows can be moved 

 

Return Value

None.

 

Remarks

To skip an optional parameter, leaving it's default value intact, use a value of -1.

The image is scaled to specified width and height and should be a Bitmap, GIF, or JPEG image. Icons (ICOs) will not display, though the window still appears. PNG images throw an error message of failing to load, and so do invalid files/paths.

Images are not embedded in the executable unless you use FileInstall

Only one SplashImage/Text window is allowed at one time; so if you wish to cycle through multiple images/text, simply call SplashImageOn/SplashTextOn again with the new information.


 

Related

SplashOff, SplashTextOn 
 

Example

$destination = @TempDir & "\mySplash.bmp"
FileInstall("C:\foo.bmp", $destination) ;source must be literal string

SplashImageOn("Splash Screen", $destination)
Sleep(3000)
SplashOff()

taken from the help file that is included with autoit :whistle:


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

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