Jump to content

Stop Script, reading parameter-files


Recommended Posts

Hi Folks,

is there any possibility to stop the current script? For example: I try to log in an web-application (using FF.au3). If it succeeds, the script should go on, if not the script should stop... I'm sure it's an easy thing, but I couldn't find anything in the helpfile or the online-doc.

My second problem: Is it possible to read a parameter-file and to run a script in a loop with each parameter? For example: Read a textfile with several logins and try every login-name.

Thanks a lot for your help

Cheers

Stefan

Link to comment
Share on other sites

Exit - Terminates the script.

FileRead ( filehandle or "filename" [, count] ) - Read in a number of characters from a previously opened text file.

FileReadLine ( filehandle or "filename" [, line] ) - Read in a line of text from a previously opened text file.

IniRead ( "filename", "section", "key", "default" ) - Reads a value from a standard format .ini file.

loops:

While...WEnd

For...To...Step...Next

Do...Until

With...EndWith

For...In...Next

Did you read/search the Help? :)

Edited by shEiD
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...