blizzedout Posted November 15, 2007 Share Posted November 15, 2007 ClipPut(" ' \" ' "); Ok so normall in other languages you can use \ to comment out a quote, is there a way in autoit to do this? Link to comment Share on other sites More sharing options...
JerryD Posted November 15, 2007 Share Posted November 15, 2007 (edited) ClipPut(" ' \" ' "); Ok so normall in other languages you can use \ to comment out a quote, is there a way in autoit to do this?ClipPut (" ' " & '"' & " ' ") You can use EITHER " or ' to enclose a string. I prefer using ', but most use the more common ". Of course, you could always use something like ClipPut(" ' " & Chr(34) & " ' ") but as far as I know, there's no "escape" character in the language (could be worng though!). Edited November 15, 2007 by JerryD Link to comment Share on other sites More sharing options...
blizzedout Posted November 15, 2007 Author Share Posted November 15, 2007 ClipPut (" ' " & '"' & " ' ") You can use EITHER " or ' to enclose a string. I prefer using ', but most use the more common ". Of course, you could always use something like ClipPut(" ' " & Chr(34) & " ' ") but as far as I know, there's no "escape" character in the language (could be worng though!).I ended up figuring out the first solution, but you would think that there would be an escape character, would save alot of markup \' vs & "'" & 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