Jump to content

Recommended Posts

Posted

In a lot of text boxes for chat, such as MSN, Yahoo, most Ajax Chat's... etc... You can hit (Shift+Enter) and it will not send the message, better yet it will create a break... So you can type on a new line without actually sending multiple messages.

I was wondering what key AutoIt would send in an environment like this, or is it possible?

Simple one line Javascript that will cause an Ajax chat to send "Hello My name is Bob." into the chat room...

_IENavigate($oIE,'javascript:ajaxChat.sendMessage("Hello My name is Bob.");',0)

Would it be possible to say... add that special Shift+Enter break in there, like after "Hello My" ?

SIGNATURE_0X800007D NOT FOUND

Posted (edited)

Nope, that posted... "Multiline +{ENTER} Message test." to chat.

I wasn't aware that the {ENTER} macros and such worked outside the Send() Function anyway.

Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

Posted

Regardless... The {ENTER} macro isn't going to work as Andreik suggested. And it didn't work using something as simple as sending a carriage return, or line feed... Or Both... Or I wouldn't be here... >_< I do overlook things occasionally, but I think this one is going to be a bit more difficult. :(

SIGNATURE_0X800007D NOT FOUND

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
  • Recently Browsing   0 members

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