Jump to content

GUICtrlCreateEdit @CRLF Send Problem


Recommended Posts

I've created a simple script which has a GUI with a GUICtrlCreateEdit function.

I'm then using a GUICtrlRead and Send to write the text in to a new message in Outlook.

If I put more than one line in to the GUICtrlCreateEdit dialog box then my application stops when it tries to send Outlook the second line.

It seems to send @CRLF characters instead of @CR and Outlook doesn't like it.

Is there anyway you can use the 'Send' function but replace @CRLF with @CR in a string collected by GUICtrlCreateEdit?

Link to comment
Share on other sites

@tourcd...I personally hate the "Send" command. If you are trying to automate sending a message via Outlook, then you should look into the ObjCreate("Outlook.Application") method. Search the forum and I am sure you will find many topics.

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...