Sign in to follow this  
Followers 0
Jaccus

Increasing number in .eu3 file after running it...

3 posts in this topic

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?


Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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())

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