Aceguy Posted May 31, 2008 Share Posted May 31, 2008 Array 1 [0] [1] 1 a [2] 2 b [3] 3 c array 2 [0] [1] 1 d [2] 2 e [3] 3 f so i gets [0] [1] 1 a [2] 2 b [3] 3 c [4] 4 d [5] 5 e [6] 6 f [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Developers Jos Posted May 31, 2008 Developers Share Posted May 31, 2008 (edited) ..and the question is ? (don't tell me you want the code for it.) Edited May 31, 2008 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Aceguy Posted May 31, 2008 Author Share Posted May 31, 2008 yea, ( or a hint on how to do it. PLEEEEEASE). $var_open=IniReadSection($IniFile,GUICtrlRead($Char_combo)) $t=_GUICtrlListView_GetItemCount($ListView) dim $temp[1][2] for $a= 1 to $var_open[0][0] if StringInStr($var_open[$a][1],$where)=0 then ConsoleWrite("where NO match"&@lf) if $var_open[$a][1]<>"0" Then ReDim $temp[$a+1][2] $temp[$a][0]=$a-1 $temp[$a][1]=$var_open[$a][1] EndIf EndIf Next IniDelete($IniFile,GUICtrlRead($Char_combo)) Dim $data[$t+1][2] for $k=1 to $t $data[$k][0]=($k-1) $data[$k][1]=_GUICtrlListView_GetItemTextString($ListView,$k-1) Next ;_ArrayDisplay($temp,"Inifile");from Inifile ;_ArrayDisplay($data,"Listview");from listview ;***************** would like to merge $data and $temp to = $data IniWriteSection($IniFile,GUICtrlRead($Char_combo),$data,1) [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Aceguy Posted May 31, 2008 Author Share Posted May 31, 2008 Ok this is my attempt.... and its not working. PLEASE HELP $z=$temp[0][0] $z2=$data[0][0] for $aw=1 to $z $data2[$aw][0]=$aw-1 $data2[$aw][1]=$temp[$aw][1] Next for $aw=1+$z to $z2+$z $data2[$aw][0]=$aw-1 $data2[$aw][1]=$temp[$aw-$z][1] Next _ArrayDisplay($data2) [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 31, 2008 Share Posted May 31, 2008 Ok this is my attempt.... and its not working. PLEASE HELP $z=$temp[0][0] $z2=$data[0][0] for $aw=1 to $z $data2[$aw][0]=$aw-1 $data2[$aw][1]=$temp[$aw][1] Next for $aw=1+$z to $z2+$z $data2[$aw][0]=$aw-1 $data2[$aw][1]=$temp[$aw-$z][1] Next _ArrayDisplay($data2) Both of your For/Next loops are sourcing data from the same array, $temp. Seems like you should be getting data from $temp in the first loop, and from $data in the second loop. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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