Jump to content
Sign in to follow this  

String functions and white space.

Recommended Posts


I had set up a rule in Outlook to send the .Body text to an AutoIt EXE as command line parms ... like

wshell.Run "SomeAutoIt.exe " & SomeRedemptionObj.Body

Then in the SomeAutoIt.exe I try to clean up the command line using StringStripWS and other StringReplace functions...

I am just wondering if anyone else has played with the .Body text from Outlook, because the whitespace just would not clean up.

I ended up processing the $CmdLineRaw character by character.

I will try to set up some reproduction scenarios as soon as I have a chance, but thought I would start this to see if anyone else has had problems with $CMDLINE and string weirdness.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

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.