sparkle Posted August 13, 2008 Posted August 13, 2008 HiI made just a little script for pcanywhere. But I've got a problem.$poste = InputBox("Pc", "number", "")Run("C:\Program Files\Symantec\pcAnywhere\awrem32.exe C:\winnt\profiles\all users\Application Data\Symantec\pcAnywhere\Network,Cable,DSL.chf" /c$poste")In the inputbox, you put the network name of the computer. For example if you want to take control of the PC3000, you will have:C:\Program Files\Symantec\pcAnywhere\awrem32.exe C:\winnt\profiles\all users\Application Data\Symantec\pcAnywhere\Network,Cable,DSL.chf" /cPC3000"How can I put the string in this command ?Thanks for your help
therks Posted August 13, 2008 Posted August 13, 2008 Whenever you need to insert a variable to a string, use syntax like this: $variable = InputBox("Title", "Prompt") MsgBox(0, "Test", "This is my variable: " & $variable); <-- See how I joined $variable to the regular text? My AutoIt Stuff | My Github
sparkle Posted August 13, 2008 Author Posted August 13, 2008 Whenever you need to insert a variable to a string, use syntax like this: $variable = InputBox("Title", "Prompt") MsgBox(0, "Test", "This is my variable: " & $variable); <-- See how I joined $variable to the regular text? Thanks that's great
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