Sign in to follow this  
Followers 0
mbouchard

How to pass a carriage return to a compiled exe.

2 posts in this topic

I am using splashtexton in a compiled exe to display a message during a patches install script and was wondering how I might pass a carriage return to the exe to clean up the text displayed.

Thanks,

Mike

Line used to call splash.exe

WshShell.Run "splash.exe " & """This is the text displayed.  How might a carriage return be used inside this?"""

Code from Splash.exe

;splash.au3 precomplie
AutoItSetOption("TrayIconHide", 1);1 = Hide Icon
winclose("Splashtext1");close other progress bar and show this one
AutoItWinSetTitle ("Splashtext1") 

If $CmdLine[0]>0 Then
$message= $CmdLine[1]
SplashTextOn("Title", $message, 640, 480, -1, -1, 0, "",16,700)
While 1
Sleep(500)
wend
EndIf

Share this post


Link to post
Share on other sites



Larry,

Thanks, this worked like a charm.

Mike

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  
Followers 0