Jump to content
Sign in to follow this  
mbouchard

How to pass a carriage return to a compiled exe.

Recommended Posts

mbouchard

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
mbouchard

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.