import java.io.File; import autoitx4java.AutoItX; import com.jacob.com.LibraryLoader; public class ThickClass { public static void main(String[] args) throws InterruptedException { String jacobDllVersionToUse; //if (jvmBitVersion().contains("32")){ //jacobDllVersionToUse = "jacob-1.18-x86.dll"; //} //else { jacobDllVersionToUse = "jacob-1.18-x64.dll"; //} File file = new File("lib", jacobDllVersionToUse); System.setProperty(LibraryLoader.JACOB_DLL_PATH, file.getAbsolutePath()); AutoItX x = new AutoItX(); x.run("C:\\Program Files (x86)\\Talisma Client\\Talisma.exe"); x.winActivate("Talisma Login"); x.winWaitActive("Talisma Login"); //x.controlClick("Talisma Login", "", "1325");Talisma Home - 9997 Shivaji Gaikwad(Vyom Team) iblfm1191 //x.send("iblfm1191"); x.ControlSetText("Talisma Login", "", "1325","" ); x.ControlSetText("Talisma Login", "", "1325","****" ); x.ControlSetText("Talisma Login", "", "1362","****" ); x.controlClick("Talisma Login", "", "Button1") ; //x.winWaitActive("Talisma Home - "); Thread.sleep(20000); x.send("{ALT}e",false); x.send("w"); System.out.println("Thank you"); x.winWaitActive("Workspace Manager"); Thread.sleep(20000); x.send("b"); x.send("b"); x.send("b"); x.controlClick("Workspace Manager", "", "[Id:51809]") ; try{ Runtime.getRuntime().exec("C:\\Users\\talismapoc\\Desktop\\au\\table.exe"); }catch(Exception e){ e.printStackTrace(); } //$CmdLine[1] //x.send("{TAB}"); //x.send("Password123"); //x.send("{ENTER}"); /*//Enter 3 x.controlClick("Calculator", "", "133") ; Thread.sleep(1000); //Enter + x.controlClick("Calculator", "", "93") ; Thread.sleep(1000); //Enter 3 x.controlClick("Calculator", "", "133") ; Thread.sleep(1000); //Enter = x.controlClick("Calculator", "", "121") ;*/ } } ====================================table.au3========================= #include #include $hWnd = ControlGetHandle("Share Workspace(s) with","","SysListView321") $arr = _GUICtrlListView_GetContents($hWnd) _ArrayDisplay($arr) ;Local $iIndex = _ArraySearch($arr, "String To find", 0, 0, 0, 0, 1, 0) ;;MsgBox($MB_SYSTEMMODAL, "Found '#32'", "Column 2 on Row " & $iIndex) ;$iIndex=$iIndex-1; ;_GUICtrlListView_ClickItem($hWnd, $iIndex) Func _GUICtrlListView_GetContents($hWnd) $iCol = _GUICtrlListView_GetColumnCount($hWnd) If $iCol = 0 Then Return 0 Dim $arrListView[1][$iCol] For $i = 0 to $iCol-1 Local $Col=_GUICtrlListView_GetColumn($hWnd,$i) $arrListView[0][$i]=$Col[5] Next $Col = 0 $iRows = _GUICtrlListView_GetItemCount($hWnd) For $i = 0 to $iRows-1 Redim $arrListView[UBound($arrListView)+1][$iCol] $arrListView[UBound($arrListView)-1][0]=_GUICtrlListView_GetItemText($hWnd,$i) For $j = 1 To $iCol-1 $arrListView[UBound($arrListView)-1][$j]=_GUICtrlListView_GetItemText($hWnd,$i,$j) Next Next $arrListView[0][0] = UBound($arrListView)-1 Return $arrListView EndFunc ; ===========================================Imp Links===================================================== https://www.autoitscript.com/autoit3/docs/libfunctions/_GUICtrlListView_ClickItem.htm https://www.autoitscript.com/forum/topic/131158-selecting-syslistview32/ https://www.autoitscript.com/wiki/Arrays https://www.autoitscript.com/autoit3/docs/libfunctions.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_ArraySearch.htm