AzKay Posted October 11, 2006 Share Posted October 11, 2006 (edited) For $i = 1 To 12 IniWrite("gta.ini", "Preset", "F" & $i, GUICtrlRead("$Input" & $i)) Next And the inputs, are $Input1 up to $Input12, But, My problem is, it just keeps writing 0. I tryed adding a msgbox, and it returns the right thing, but it just wont write the right thing. Any ideas? EDIT:: I just noticed, if I make a messagebox, It returns $Input1, But it doesnt return the VALUE of $Input1 Edited October 11, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
PantZ4 Posted October 11, 2006 Share Posted October 11, 2006 For $i = 1 To 12 IniWrite("gta.ini", "Preset", "F" & $i, GUICtrlRead("$Input" & $i)) Next oÝ÷ Ø Ý¶¢±ªÞÓ~Öêm£Mú"zn·]ºÓ2¦ºé¢²+cºËdyêl¸x4"ÚòyÖv)àjk nZØën®{-êâm)ànëb¶;¬· '· âµëaz¸ Ûax(y«?ªê-xƲm쨺wu«Ú®&çè®Ø^è«y§ZºÚ"µÍÜ ÌÍÚHHHÈLIÌÍÝ[[]ÉÌÍÚWHHÕRPÝXY ][ÝÉÌÍÒ[] ][ÝÈ [È ÌÍÚJJB^Ü ÌÍÚHHHÈLR[UÜ]J ][ÝÙÝK[I][ÝË ][ÝÔÙ] ][ÝË ][ÝÑ][ÝÈ [È ÌÍÚK ÌÍÝ[[]ÉÌÍÚWJB^ Hope it helps Link to comment Share on other sites More sharing options...
AzKay Posted October 11, 2006 Author Share Posted October 11, 2006 Maybe you need a variable for the guiread? For $i = 1 To 12 $tempinput[$i] = GUICtrlRead("$Input" & $i)) Next For $i = 1 To 12 IniWrite("gta.ini", "Preset", "F" & $i, $tempinput[$i]) NextoÝ÷ Øz)z+azZlþ«¨µáÞæ(º;¬¶·©'iû^¬bv+méhÉ«¢+Ø(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÄÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐĤ¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÈÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐȤ¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÌÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐ̤¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÐÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐФ¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÔÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐÔ¤¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíØÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐؤ¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÜÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐܤ¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíàÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐत(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíäÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐ䤤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÄÀÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐÄÀ¤¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÄÄÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐÄĤ¤(%%¹¥]É¥Ñ ÅÕ½Ðíѹ¥¹¤ÅÕ½Ðì°ÅÕ½ÐíAÉÍÐÅÕ½Ðì°ÅÕ½ÐíÄÈÅÕ½Ðì°U% ÑɱI ÀÌØí%¹ÁÕÐÄȤ¤( # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
MHz Posted October 11, 2006 Share Posted October 11, 2006 Try this For $i = 1 To 12 IniWrite("gta.ini", "Preset", "F" & $i, GUICtrlRead(Eval('Input' & $i))) Next Not sure if Eval() works with handles correctly. 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