Sign in to follow this  
Followers 0
b4235440

Script Versions

7 posts in this topic

#1 ·  Posted (edited)

Hello,

I create a script with AutoIt.

Later, I create a new one.

And than one again.

Is thereThere a way without a query in the filename to work with script versions like this:

if script.exe = v1 then ...

kind regards

herry

Edited by b4235440

Share this post


Link to post
Share on other sites



will the following solve your problem?

if @ScriptName then

endif

Share this post


Link to post
Share on other sites

When you compile a script in autoit, you have the option to increase the version number.

Then use FileGetVersion() to do what you want.

8


NEWHeader1.png

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

When you compile a script in autoit, you have the option to increase the version number.

Then use FileGetVersion() to do what you want.

8

oh yes that's it. perfect thank you.

there can i increase the version number?

Edited by b4235440

Share this post


Link to post
Share on other sites

oh yes that's it. perfect thank you.

there can i increase the version number?

Yes!! and the great part is you can have the compiler prompt you for version increase or not. This is great when you are just self-testing and do not want to increase the version number.

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Yes!! and the great part is you can have the compiler prompt you for version increase or not. This is great when you are just self-testing and do not want to increase the version number.

8)

Oh yes thats great.

Could you tell how can i include the version number?

Do you use this compiler here?

Posted Image

thank you

Share this post


Link to post
Share on other sites

Oh yes thats great.

Could you tell how can i include the version number?

Do you use this compiler here?

Posted Image

thank you

ohh, now i foud it.

right klickt on the script > compile with options....

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