rezor92 Posted March 24, 2009 Posted March 24, 2009 (edited) ShellExecute("hldsupdatetool.exe", "-command update -game Counter-Strike Source -dir .") does not work ShellExecute("hldsupdatetool.exe", "-command update -game "Counter-Strike Source" -dir .") so it should be but how to make the "" it is not accepted by autoit and sorry for my bad english mfg rezor Edited March 24, 2009 by rezor92
jvanegmond Posted March 24, 2009 Posted March 24, 2009 You can 'escape' a " character by using it twice. $var = "Yes, ""Manadar"" is quite awesome." MsgBox(0,"", $var) Will show a messagebox saying: Yes, "Manadar" is quite awesome. github.com/jvanegmond
Mat Posted March 24, 2009 Posted March 24, 2009 (edited) ShellExecute("hldsupdatetool.exe", "-command update -game Counter-Strike Source -dir .") does not workShellExecute("hldsupdatetool.exe", "-command update -game "Counter-Strike Source" -dir .") so it should be but how to make the "" it is not acceptet by autoituse ' instead of "" for the outer ones...Not sure if this is the problem your having... Edited March 24, 2009 by mdiesel AutoIt Project Listing
rezor92 Posted March 24, 2009 Author Posted March 24, 2009 You can 'escape' a " character by using it twice.$var = "Yes, ""Manadar"" is quite awesome."MsgBox(0,"", $var)Will show a messagebox saying:Yes, "Manadar" is quite awesome.oh man i'm so stupid
jvanegmond Posted March 24, 2009 Posted March 24, 2009 oh man i'm so stupidIt works for a ' character too.Make a string like so:$var = 'oh man i''m so stupid'Another method is just to alternate between the two:$var = 'Yes, "Manadar" is quite awesome.'Or $var = "oh man i'm stupid" github.com/jvanegmond
Developers Jos Posted March 24, 2009 Developers Posted March 24, 2009 $var = "Yes, ""Manadar"" is quite awesome."This still doesn't look correct although I can't put my finger on it what is "wrong" with it. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jvanegmond Posted March 24, 2009 Posted March 24, 2009 This still doesn't look correct although I can't put my finger on it what is "wrong" with it. Maybe you should update Au3Check then. AutoIt has no problems with my awesomeness. github.com/jvanegmond
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