Hest Posted April 28, 2009 Posted April 28, 2009 (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 April 28, 2009 by Hest Software:Model Train Calculator (Screen)Autoit3 beginner!
Hest Posted April 28, 2009 Author Posted April 28, 2009 @ScriptFullPath.Thx alot, thats what I was looking for. Software:Model Train Calculator (Screen)Autoit3 beginner!
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