Jump to content

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.

Lar.

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...