Jump to content
Macro Express Forums

Recommended Posts

Posted

Hello Teddy!

 

Can the text in the window be copied and pasted to the clipboard? If so, then you can create a string variable from the clipboard and do your tests on it.

Posted

Yes it can be copied to the clipboard, as it is an ordinary chat window. I want this to be more automated than that. I figured I could use a scheduled macro that runs quite often, and answers to a specific text all by itself.

 

I already have a macro for posting this answer manually, that is not the issue :)

Posted

Yes, a scheduled macro would work. However, you still need a way to capture the text to read, parse, and react to it. That is why you would use clipboard commands within the scheduled macro.

Posted

I was hoping this could be done with the program, but I know it might be a bit out of bounds for the concept of it. Anyone got an idea how i can get the text auto-pasted to the clipboard?

Posted

Teddy- You can use "Get Control" or "Capture Control" to set the focus to the window that you want to copy text from, and then use "Clipboard Copy" to copy the text to the clipboard. Pull it into a variable in your program using the option within "Variable Set String" to "Set Value from Clipboard".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...