Sign in to follow this  
Followers 0
Skizmata

SplashImageOn() and Other Function Options

4 posts in this topic

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

opt 1 = Thin bordered titleless window

How do I set a thin titleless window without losing my centered image? I attemped using @desktophight and width and figuring out what would be centered but it sets the upper left corner of the image to the center not the center of the image.

A great example would show a boarderless splash image centered on the screen.

How this relates to other functions is, if I want to set the third option of a function but I would like to leave the first 2 as default what do I do?

Yes I searched if you want to tell me to search please have a relevant link to help me out since I can't seem to find it on my own.

Thanks again for all your help!!!


AutoIt changed my life.

Share this post


Link to post
Share on other sites



$title = "your title"

$file = "c:\image.jpg"

$width = "300"

$height ="300"

$x = -1 ; sets default, which is to center

$y = -1 ; sets default, which is to center

$opt = 1

SplashImageOn ($title, $file , $width, $height, $x, $y, $opt)


[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Share this post


Link to post
Share on other sites

Thank you very much, so the short answer is -1 is the default option. Thats great! Thank you!


AutoIt changed my life.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

*Edit*

Found my answer Here.

Edited by Skizmata

AutoIt changed my life.

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