Jump to content
Sign in to follow this  
Ipooptoomuch

How do i send "

Recommended Posts

Ipooptoomuch

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
Pain

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
LarryDalooza

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
DW1

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
LarryDalooza

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
Glyph

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
MerkurAlex

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
Glyph

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.