AutoMeteor Posted January 29, 2009 Share Posted January 29, 2009 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 ? Link to comment Share on other sites More sharing options...
furrycow Posted January 29, 2009 Share Posted January 29, 2009 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 Link to comment Share on other sites More sharing options...
AutoMeteor Posted January 29, 2009 Author Share Posted January 29, 2009 Thanks and for finding what ia have to write for %_X is not equal to $_Y then do that ?? =! or != dosent work :S Link to comment Share on other sites More sharing options...
Robjong Posted January 29, 2009 Share Posted January 29, 2009 Hey,Not equal to operator is <>, it's all in the help file check out: http://www.autoitscript.com/autoit3/docs/i...g_operators.htm Link to comment Share on other sites More sharing options...
furrycow Posted January 29, 2009 Share Posted January 29, 2009 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 Link to comment Share on other sites More sharing options...
AutoMeteor Posted January 29, 2009 Author Share Posted January 29, 2009 thanks all 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