DarkFox Posted February 14, 2009 Posted February 14, 2009 i am completely new to Autoit and want to ask two Questions , please can any one help by answering them: the first question is:- i want to make a script including some variables like $v1 and $v2 and so on and want to use any of autoit commands like _Rundos("copy $v1 $v2") that means i want to copy $v1 to $v2 By Dos ,that only for example what is the right place of different variables inside the double quotes?? the second question is:- Can i use autoit in an internet script that can silently doing some thing on a web page like download or upload a file without opening the web page? i am so sorry if my questions was a stupid questions>> regards..
Manjish Posted February 14, 2009 Posted February 14, 2009 i am completely new to Autoit and want to ask two Questions , please can any one help by answering them: the first question is:- i want to make a script including some variables like $v1 and $v2 and so on and want to use any of autoit commands like _Rundos("copy $v1 $v2") that means i want to copy $v1 to $v2 By Dos ,that only for example what is the right place of different variables inside the double quotes?? the second question is:- Can i use autoit in an internet script that can silently doing some thing on a web page like download or upload a file without opening the web page? i am so sorry if my questions was a stupid questions>> regards.. 1) we don't place variable n double quotes.. in autoit.. "$var" means the individual charachters.. $,v,a, and r.. u use this _RunDos("copy "& $v1 & " " & $v2) 2) See InetGet InetGet -------------------------------------------------------------------------------- Downloads a file from the internet using the http or ftp protocol. InetGet ( "URL" [,"filename" [, reload [, background]]] ) Parameters URL URL of the file to download. See remarks below. Can be "abort". filename [optional] Local filename to download to. reload [optional] 0 = (default) Get the file from local cache if available 1 = Forces a reload from the remote site background [optional] 0 = (default) Wait until the download is complete before continuing. 1 = return immediately and download in the background (see remarks). Return Value Success: Returns 1. Failure: Returns 0. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
DarkFox Posted February 14, 2009 Author Posted February 14, 2009 The answer was faster than expected.. Really Thank You Manjish for help
Manjish Posted February 14, 2009 Posted February 14, 2009 hey anytime man.. ask something more.. anytime.. n the ans will be just as fast.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
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