Jump to content

SplashImageOn() and Other Function Options


Recommended Posts

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.

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

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...