Jump to content

Recommended Posts

Posted

Can you suggest how to use splashtext to create a window covering entire screen and text exactly on center of screen . My problem is when i run on other pc than my own the text is not in center or the window doesnt cover the entire screen.

Posted

SplashTextOn("", "RTFM!", @DesktopWidth, @DesktopHeight, 0 , 0, 33, "", 60, 1000)

"be smart, drink your wine"

Posted (edited)

Try this, it gets the size of the active desktop then uses that as the splash whatever.....

$Desk = WinGetSize("Program Manager")

SplashTextOn("title here", "text here", $Desk[2], $Desk[3])
Sleep(5000)
SplashOff

"Program Manager" automatically refers to the desktop in AutoIt

Edit: the @Desktop*** is also a good way to go, but if the desktop size changes when program is running, the @Desktop**** stays same as it was when it opened, using WinGetSize you can get the size any time you want to.

P.S. I don't know if the @Desktop**** only reading once is a problem with my computer, but it might work better for you :) give it a try.

Edited by TK_Incorperate
Posted

SplashTextOn("", "RTFM!", @DesktopWidth, @DesktopHeight, 0 , 0, 33, "", 60, 1000)

:)

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

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
×
×
  • Create New...