Ipooptoomuch Posted October 30, 2008 Share Posted October 30, 2008 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? Link to comment Share on other sites More sharing options...
DW1 Posted October 30, 2008 Share Posted October 30, 2008 send ('"C:\documents and settings\bananas\Desktop\macshift" -i lol') all about single or double quotes. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Pain Posted October 30, 2008 Share Posted October 30, 2008 Use both single and double quotation. This will send "hello world" with quotation marks. Send('"hello world"') Link to comment Share on other sites More sharing options...
Glyph Posted October 30, 2008 Share Posted October 30, 2008 Double it up. msgbox(0,"","""test""") tolle indicium Link to comment Share on other sites More sharing options...
LarryDalooza Posted October 30, 2008 Share Posted October 30, 2008 You are all correct... Isn't AutoIt smart? Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
DW1 Posted October 30, 2008 Share Posted October 30, 2008 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. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
LarryDalooza Posted October 30, 2008 Share Posted October 30, 2008 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. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
Glyph Posted October 30, 2008 Share Posted October 30, 2008 (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. Edited October 30, 2008 by Glyph tolle indicium Link to comment Share on other sites More sharing options...
MerkurAlex Posted October 31, 2008 Share Posted October 31, 2008 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] Link to comment Share on other sites More sharing options...
Glyph Posted October 31, 2008 Share Posted October 31, 2008 Another method probably not the best: chr(34)&"test"&chr(34) That's much more organized! tolle indicium Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now