Sign in to follow this  
Followers 0
DarkFox

Just a simple questions and please help

4 posts in this topic

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..

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

The answer was faster than expected..

Really Thank You Manjish for help

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0