Sign in to follow this  
Followers 0
Ipooptoomuch

How do i send "

10 posts in this topic

i want to send (""C:\documents and settings\bananas\Desktop\macshift" -i lol") but it wont work how do i properly send keystrokes with quotation marks?

Share this post


Link to post
Share on other sites



send ('"C:\documents and settings\bananas\Desktop\macshift" -i lol')

all about single or double quotes.

Share this post


Link to post
Share on other sites

Use both single and double quotation.

This will send "hello world" with quotation marks.

Send('"hello world"')

Share this post


Link to post
Share on other sites

Double it up.

msgbox(0,"","""test""")

tolle indicium

Share this post


Link to post
Share on other sites

You are all correct... Isn't AutoIt smart?

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

Double it up.

msgbox(0,"","""test""")
I really don't like this syntax, as it makes it hard to read.

With that being said, yes it does work fine, but using single and double quotes just looks a lot cleaner.

Share this post


Link to post
Share on other sites

I really don't like this syntax, as it makes it hard to read.

With that being said, yes it does work fine, but using single and double quotes just looks a lot cleaner.

Unless you use double quotes all the time. Remembering single quotes uses up brain cells that I could reserve for killing through extracurricular activities.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

I was forced to learn how to double up when I was making my AutoIt compiler (made in AutoIt), It's wayyy to confusing to use single quotes with 4-5 variables in the same line.

But, that's my opinion. :mellow:

Edited by Glyph

tolle indicium

Share this post


Link to post
Share on other sites

Another method probably not the best:

chr(34)&"test"&chr(34)

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites

Another method probably not the best:

chr(34)&"test"&chr(34)
That's much more organized! :mellow:

tolle indicium

Share this post


Link to post
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
Sign in to follow this  
Followers 0