Jump to content
Sign in to follow this  
BionicBulldog

SplashTextOn Issue/Bug (Also Posted on Yahoo)

Recommended Posts

BionicBulldog

I have an old AutoIt v2.64 script that I've converted to v3.1.

In the old AutoIt version, SplashTextOn would automatically center the

text both horizontally and vertically.

AutoIt v3 only centers the text horizontally with the text pushed up

top vertically. In order to manually center the text vertically, I

have to preface the text with @CR's. It's tough to calculate the

correct number of @CR's to use for different window sizes.

Am I missing something or is this the way it works in v3?

Thanks in advance,

BionicBulldog

Share this post


Link to post
Share on other sites
BigDod

From the beta help file

SplashTextOn("Title", "Message goes here.", -1, -1, -1, -1, 32, "", 40)
Sleep(3000)
SplashOff()

The option 32 centres vertically.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
BionicBulldog

So this is resolved in the Beta, but not in the current release. I look forward to the next release for this functionality.

Many thanks.

Share this post


Link to post
Share on other sites
seandisanti

So this is resolved in the Beta, but not in the current release. I look forward to the next release for this functionality.

Many thanks.

or you could just switch to the beta, which has alot more features and functions, runs ATLEAST as stable as the last release, and is constantly getting better. That would seem a better option than waiting...

Share this post


Link to post
Share on other sites
jpm

I have an old AutoIt v2.64 script that I've converted to v3.1.

In the old AutoIt version, SplashTextOn would automatically center the

text both horizontally and vertically.

AutoIt v3 only centers the text horizontally with the text pushed up

top vertically. In order to manually center the text vertically, I

have to preface the text with @CR's. It's tough to calculate the

correct number of @CR's to use for different window sizes.

Am I missing something or is this the way it works in v3?

Thanks in advance,

BionicBulldog

I don't know how it was done inV2 but recentlty the V3 beta has been updated to allow vertical centering. :)

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  

×