chssoccer Posted January 14, 2008 Share Posted January 14, 2008 I am currently using XSkin on my gui and am loving it, but I want to be able to have like an option on my GUI where its says Skin1 which is the default, or skin2, which is another skin. How can I load to different skins? Link to comment Share on other sites More sharing options...
Valuater Posted January 14, 2008 Share Posted January 14, 2008 I am currently using XSkin on my gui and am loving it, but I want to be able to have like an option on my GUI where its saysSkin1 which is the default, or skin2, which is another skin. How can I load to different skins?Thanks!You will need to re-start the program to accomplish this, as an exampleuse an iniwrite() function, if button1 is pressed skin1 will be written to the ini file. if button2 is pressed skin2 will be written to the ini file. When the program restarts it will get the skin location from the ini file... its that simple8) Link to comment Share on other sites More sharing options...
chssoccer Posted January 15, 2008 Author Share Posted January 15, 2008 Thanks!You will need to re-start the program to accomplish this, as an exampleuse an iniwrite() function, if button1 is pressed skin1 will be written to the ini file. if button2 is pressed skin2 will be written to the ini file. When the program restarts it will get the skin location from the ini file... its that simple8)Thank you. But where in the program is it getting the skin directory to load the skins? I tried looking but the code is obfuscated. Link to comment Share on other sites More sharing options...
Valuater Posted January 15, 2008 Share Posted January 15, 2008 (edited) Thank you. But where in the program is it getting the skin directory to load the skins? I tried looking but the code is obfuscated. from the ini file.... sorry forgot to say use IniRead() to read the ini file at the beginning of the scriptto find an example go to this pagehttp://www.autoitscript.com/forum/index.ph...st&p=233849to see an exact use of what you want press this..1. All Inclusive Demo On the page noted above8) Edited January 15, 2008 by Valuater Link to comment Share on other sites More sharing options...
Valuater Posted January 15, 2008 Share Posted January 15, 2008 I tried looking but the code is obfuscated.no its not!There is not 1 part of XSkin that is obfuscated8) Link to comment Share on other sites More sharing options...
chssoccer Posted January 15, 2008 Author Share Posted January 15, 2008 (edited) no its not!There is not 1 part of XSkin that is obfuscated8)Sorry. I mean EZSkin. I used EzSkin to create a skinned GUI, not XSkin, and when I try to look for the INI in EzSkin the code is obfuscated.Edit:Don't know why I've been thinking of XSkin. Edited January 15, 2008 by chssoccer Link to comment Share on other sites More sharing options...
Valuater Posted January 15, 2008 Share Posted January 15, 2008 The obfuscated code of EzSkin has nothing to do with selecting a skin. look at the demo i suggested above 8) Link to comment Share on other sites More sharing options...
chssoccer Posted January 16, 2008 Author Share Posted January 16, 2008 The obfuscated code of EzSkin has nothing to do with selecting a skin. look at the demo i suggested above8)Yes I know that but what if I wanted to have an option for EzSkin to be able to load two different skins? Link to comment Share on other sites More sharing options...
Valuater Posted January 18, 2008 Share Posted January 18, 2008 Yes I know that but what if I wanted to have an option for EzSkin to be able to load two different skins?same answer look at the demo i suggested aboveit will do what you want8) 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