Skizmata Posted July 20, 2007 Posted July 20, 2007 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.
lod3n Posted July 20, 2007 Posted July 20, 2007 $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]
Skizmata Posted July 20, 2007 Author Posted July 20, 2007 Thank you very much, so the short answer is -1 is the default option. Thats great! Thank you! AutoIt changed my life.
Skizmata Posted July 20, 2007 Author Posted July 20, 2007 (edited) *Edit*Found my answer Here. Edited July 20, 2007 by Skizmata AutoIt changed my life.
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