Lurch68b Posted August 18, 2015 Posted August 18, 2015 Howdie all, I have been dabbling with autoit for a while but am not the most knowledgeable to say the least. I am trying to put a variable into a script hereThis is what the line looks like by defaultShellExecute ("wcmdtool.exe" ,"20 c0 15 05 00 01 64")But I want to be able to have a variable that will allow me to change the last parameter. I have tried a few things but always get errors ShellExecute ("wcmdtool.exe" ,"20 c0 15 05 00 01 $FS")I have used variables before but never this way. I am sure it is very simple and I am missing something.Thanks
tweakster2010 Posted August 18, 2015 Posted August 18, 2015 (edited) I think you would want to do Shellexecute("wcmdtool.exe","20 c0 15 05 00 01 " & $FS) Edited August 18, 2015 by tweakster2010 typo in code
Exit Posted August 18, 2015 Posted August 18, 2015 ShellExecute ("wcmdtool.exe" ,"20 c0 15 05 00 01 " & $FS) App: Au3toCmd UDF: _SingleScript()
Lurch68b Posted August 18, 2015 Author Posted August 18, 2015 AKK, many thanks guys. I have seen a friend do that but didn't remember till I saw your post. See, very simple.
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