Jump to content

Recommended Posts

Guest Py7|-|[]/\/
Posted

How do you make something like this:

Send("MsgBox(0, "Hi there", "What's up?")

I want it to type out the msgbox command... It errors our that "Hi quote... I tried \" like the Java escape sequence, but it doesn't work for AutoIt... How can I get this to work?

Posted

You need to add ") to the end of that code:

Send("MsgBox(0, "Hi there", "What's up?")")
My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
Guest Py7|-|[]/\/
Posted

Arg, help me this-is-me, Larry, Valik!

Posted (edited)

/\/,Oct 26 2004, 04:55 PM]How do you make something like this:

Send("MsgBox(0, "Hi there", "What's up?")

I want it to type out the msgbox command... It errors our that "Hi quote... I tried \" like the Java escape sequence, but it doesn't work for AutoIt... How can I get this to work?

<{POST_SNAPBACK}>

Try

Send('MsgBox(0, "Hi there", "What's up?")')

Nevermind I should of tried it first sorry

Edited by strate
INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Guest Py7|-|[]/\/
Posted

Just did, same thing... the error is at the first "Hi there part... So the rest doesn't matter, although I see what you are saying, I actually forgot to put that in the original heh.

Posted

send(chr(83)&chr(101)&chr(110)&chr(100)&chr(40)&chr(34)&chr(77)&chr(115)&chr(103)&chr(66)&chr(111)&chr(120)&chr(40)&chr(48)&chr(44)&chr(32)&chr(34)&chr(72)&chr(105)&chr(32)&chr(116)&chr(104)&chr(101)&chr(114)&chr(101)&chr(34)&chr(44)&chr(32)&chr(34)&chr(87)&chr(104)&chr(97)&chr(116)&chr(39)&chr(115)&chr(32)&chr(117)&chr(112)&chr(63)&chr(34)&chr(41))

Posted

Send('MsgBox(0, "Hi there", "Whats up?")')

The ' in Whats up? throws it off.

INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Guest Py7|-|[]/\/
Posted

EDIT: Sorry for the trouble everyone, I figured it out... I acidentally made a typo while trying another method, and therefore it didn't work.

Send('MsgBox(0, "Hi there", "What's up?")')

This works. Sorry about confusion!

Guest Py7|-|[]/\/
Posted

It works for me fine now with the "'" only the ' works.

Guest Py7|-|[]/\/
Posted

Ok, well all I know is that what works is:

Send('MsgBox(0, "Hi there.", "Hi there")')

Posted

What larry posted wouldn't work because the ' in What's would close the "quotes".

My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
Guest Py7|-|[]/\/
Posted

Heh. I understand what you said Larry. =)

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