Sign in to follow this  
Followers 0
chssoccer

XSkin

9 posts in this topic

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?

Share this post


Link to post
Share on other sites

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?

Thanks!

You will need to re-start the program to accomplish this, as an example

use 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 simple

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks!

You will need to re-start the program to accomplish this, as an example

use 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 simple

8)

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. :D

Share this post


Link to post
Share on other sites

#4 ·  Posted (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. :D

from the ini file.... sorry forgot to say

use IniRead() to read the ini file at the beginning of the script

to find an example go to this page

http://www.autoitscript.com/forum/index.ph...st&p=233849

to see an exact use of what you want press this..

1. All Inclusive Demo

On the page noted above

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

I tried looking but the code is obfuscated.

no its not!

There is not 1 part of XSkin that is obfuscated

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

no its not!

There is not 1 part of XSkin that is obfuscated

8)

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 by chssoccer

Share this post


Link to post
Share on other sites

The obfuscated code of EzSkin has nothing to do with selecting a skin. look at the demo i suggested above

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

The obfuscated code of EzSkin has nothing to do with selecting a skin. look at the demo i suggested above

8)

Yes I know that but what if I wanted to have an option for EzSkin to be able to load two different skins?

Share this post


Link to post
Share on other sites

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 above

it will do what you want

8)


NEWHeader1.png

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