Jump to content

how to mark message in msgbox


Recommended Posts

  • Moderators

Hi,

How do I have a msgbox whereby I can manually mark and copy the messages with my mouse. Currently I cant mark the message.

What is the command to put a message into clipboard.

Thanks

ClipPut($s_var) ...

You can't manually copy the text out of a normal message box.

The message box does have a control (the last Static control) in it that you can use ControlGetText() on.

If this is in your script that the message box event is happening, your script is paused until the message box goes away, so getting the text from within the script is not going to happen (of course you should already know what that is.)

You could use a mixture of:

http://www.autoitscript.com/forum/index.ph...c=82262&hl=

And:

http://www.autoitscript.com/forum/index.php?showtopic=82471 of what I wrote in that one to do something similar

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

Ctrl-c puts it all in the clipboard and then you can parse it from there:

http://www.autoitscript.com/forum/index.ph...st&p=522772

I was informed by MrCreator that Ctrl+c does not work on all languages, so it was better to use ctrl+insert ...

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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