Jaccus Posted September 27, 2005 Share Posted September 27, 2005 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? Link to comment Share on other sites More sharing options...
peethebee Posted September 27, 2005 Share Posted September 27, 2005 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 Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted September 27, 2005 Share Posted September 27, 2005 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()) Link to comment Share on other sites More sharing options...
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