Jump to content
Sign in to follow this  
AutoMeteor

Help: How to save in a .INI

Recommended Posts

AutoMeteor

Hello. i was wondering how can i get a variable's value and save it in a .INI file or txt. i don't really care

i just need to get some colours from a window . ehh or if there is a colour finder that willl search under the mouse and tell me the colour it would be nicer :)

and one last questin if i want to make one while loop to check when that colour changes. i must always put my mouse over there or its okay with out mouse ?

Share this post


Link to post
Share on other sites
furrycow

Hello. i was wondering how can i get a variable's value and save it in a .INI file or txt. i don't really care

i just need to get some colours from a window . ehh or if there is a colour finder that willl search under the mouse and tell me the colour it would be nicer :)

and one last questin if i want to make one while loop to check when that colour changes. i must always put my mouse over there or its okay with out mouse ?

To save a variable's value in a .ini file, you simply need to write:

IniWrite("filename.ini","Section","Key",$VariableYouWantToWrite)

Instant Lockerz Invite - www.instantlockerzinvite.co.uk

Share this post


Link to post
Share on other sites
AutoMeteor

Thanks and for finding what ia have to write for %_X is not equal to $_Y then do that ??

=! or != dosent work :S

Share this post


Link to post
Share on other sites
furrycow

Thanks and for finding what ia have to write for %_X is not equal to $_Y then do that ??

=! or != dosent work :S

Not quite sure i understand, but if youre getting at what i think youre getting at then is this ok?

If $_X <> $_Y Then

;CODE

EndIf

Instant Lockerz Invite - www.instantlockerzinvite.co.uk

Share this post


Link to post
Share on other sites
AutoMeteor

thanks all :)

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  

×