motionman95 Posted July 23, 2010 Author Share Posted July 23, 2010 You have for example the string "'Mary' had a little "lamb", its nose 'was' "red" and 'white'"Would it matter to your script if it were ""Mary" had a little "lamb", its nose "was" "red" and "white""?Yes, it would. Thanks for clarifying. Link to comment Share on other sites More sharing options...
Spiff59 Posted July 23, 2010 Share Posted July 23, 2010 (edited) I'm a bit confused... You just want a way to manually construct one of these peculiar strings, hardcoded into your source, and assign it to a variable?? $q = Chr(34) $string = "My 'nick' on 'AutoIt' is " & $q & $q & " " & $q & "Spiff59" & $q MsgBox(1,"",$string) typo Edited July 23, 2010 by Spiff59 Link to comment Share on other sites More sharing options...
JohnOne Posted July 23, 2010 Share Posted July 23, 2010 Ok, can you clear something up, if it is changing so often, them why do you have it hard coded into the script? Shirley it would make more sense to have it read in from a file. If you distrabuting your script you could use fileinstall or even add it as a resource. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Pottery Posted July 23, 2010 Share Posted July 23, 2010 Just put the text into a text file and do a simple FileRead. You say it will be used on multiple PCs, so just include the text file when you compile it. 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