Jump to content

SplashTextOn Issue/Bug (Also Posted on Yahoo)


Recommended Posts

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

Link to comment
Share on other sites

From the beta help file

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

The option 32 centres vertically.


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

Link to comment
Share on other sites

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...
Link to comment
Share on other sites

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