BionicBulldog Posted March 10, 2006 Share Posted March 10, 2006 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 More sharing options...
BigDod Posted March 10, 2006 Share Posted March 10, 2006 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 More sharing options...
BionicBulldog Posted March 10, 2006 Author Share Posted March 10, 2006 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. Link to comment Share on other sites More sharing options...
seandisanti Posted March 10, 2006 Share Posted March 10, 2006 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 More sharing options...
jpm Posted March 10, 2006 Share Posted March 10, 2006 I have an old AutoIt v2.64 script that I've converted to v3.1.In the old AutoIt version, SplashTextOn would automatically center thetext both horizontally and vertically.AutoIt v3 only centers the text horizontally with the text pushed uptop vertically. In order to manually center the text vertically, Ihave to preface the text with @CR's. It's tough to calculate thecorrect 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,BionicBulldogI 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 More sharing options...
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