Jump to content

Recommended Posts

Posted (edited)

I have made an icon in my form

$Icon1 = GUICtrlCreateIcon("Model Train Calculator.exe", 0, 312, 56, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP))

And it's working atm. but if the name of the program is changed (for whatever reason people would do that) the icon can not be shown because the filename for the icon doesn't exist anymore.

Are there any variable that can tell me the name of the program.. Something like $PROGRAM_NAME instead of "Model Train Calculator.exe"

Edited by Hest
Software:Model Train Calculator (Screen)Autoit3 beginner!

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
×
×
  • Create New...