Center text vertically with SplashImage

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
enterpad
Posts: 15
Joined: 22 Mar 2016, 20:38
Location: Montreal, Canada
Contact:

Center text vertically with SplashImage

02 Apr 2017, 10:10

Hi all,

I would like to create a “splash” window with text only. I use the following command but the text is not vertically centered (in its window). Does somebody know if it can be done?

Code: Select all

SplashImage,,B1,,AHK Enterpad
Sleep 2000
SplashImage, Off
Thank you for your help,
Enterpad - For those who need more than a few shortcuts
Xeno234
Posts: 71
Joined: 24 Mar 2017, 18:14

Re: Center text vertically with SplashImage

02 Apr 2017, 10:51

Using the SubText parameter instead of the MainText parameter may be what you're looking for. (Drop a comma.)
User avatar
enterpad
Posts: 15
Joined: 22 Mar 2016, 20:38
Location: Montreal, Canada
Contact:

Re: Center text vertically with SplashImage

02 Apr 2017, 12:43

Yes this is what I was looking for, Thank you!
Enterpad - For those who need more than a few shortcuts
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: Center text vertically with SplashImage

03 Apr 2017, 11:53

Hi all,

Is it possible you view the script here in the forum page to learn from it please.
thanks in advance
wolf_II
Posts: 2688
Joined: 08 Feb 2015, 20:55

Re: Center text vertically with SplashImage

03 Apr 2017, 13:20

@ asad41163
Maybe you want this: ??

Code: Select all

SplashImage,,B1,,AHK Enterpad
Sleep 2000
SplashImage, Off


SplashImage,,B1,AHK Enterpad ; <<< one less comma here
Sleep 2000
SplashImage, Off
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: Center text vertically with SplashImage

04 Apr 2017, 02:14

Hi all,
thank you very much

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: DecimalTurn, macromint, peter_ahk and 352 guests