tehon3299 Posted March 8, 2004 Posted March 8, 2004 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??
tehon3299 Posted March 8, 2004 Author Posted March 8, 2004 Hey guys - Anyway I can put an icon or image in that splash text box?
Somerset Posted March 8, 2004 Posted March 8, 2004 expandcollapse popupFunction 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
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