Jump to content

Recommended Posts

Posted

I want to use one file "num.au3" as a included file to another one.

'num.au3' file contains only 1 line atm:

$number=1

and after running script, I'd like this number to increase +1 after each run of this script, so after first run it should be:

$number=2

any ideas how to do it? any funcion or variable or whatever else?

Posted

Hi!

What about storing it in a plain text file???

Functions to use: FileOpen, FileReadLine, FileWriteLIne, FileClose.

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Posted

A normal text file, an ini file, or a registry key would be the best way to go...

If you plan on compiling it, that's pretty much the only way.

Writing AutoIt scripts since

_DateAdd("d", -2, _NowCalcDate())

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
  • Recently Browsing   0 members

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