
Sahar
Members-
Posts
18 -
Joined
-
Last visited
Sahar's Achievements

Seeker (1/7)
0
Reputation
-
Sahar reacted to a post in a topic: Compile bunch of autoit scripts
-
woww...It's working, after putting Aut2exe.exe in script's folder the problem got solved
-
I've tried these 2 in batch files : setlocal enableextensions disabledelayedexpansion for %%a in ("C:\Test\*.au3") do ( C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2exe.exe /in "%%~fa" /out "%%~dpna.exe" ) AND for /f %%f in ('C:\Test\*.au3') do C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2exe.exe /in %%f non of them worked I'm not good at batch files so I cannot find the reason of failure, I would be thankful if you help me... Also how can I do it via command line?
-
I need a script or batch file to compile bunch of *.au3 in a folder and recieve *.exe in that folder, would you please help me about that?
-
Sahar reacted to a post in a topic: Setting Variables
-
Sahar reacted to a post in a topic: Setting Variables
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
I've tried 2 ways as are shown below but non of them worked!! For $i = 0 To $iItemCount - 1 Local $arg = $aHeadCode[$i] switch $arg case "1C01DB" MsgBox($MB_SYSTEMMODAL, "", ControlListView($handle, "", "[Class:SysListView32; INSTANCE:1]", "FindItem", $i, 0) ;First way _GUICtrlListView_SetItemSelected($arg, $i) ;Second way _GUICtrlListView_ClickItem($arg, $i) EndSwitch Next
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
Is it possible that I click one row by knowing the text? for example I have lots of cases that we want to click on one record based on HeadCode, I don't like to use position;Now I have all the elements in array just needs to check if that item exists in array then click it then goes to next page, would you please help me about that?
-
Thanks everybody, now I am able to put each column in an array and work with it, this is the code that is working for me and you guys helped me alot to write: $aWinList = WinList("[CLASS:#32770]") Local $handle For $i = 1 to $aWinList[0][0] If BitAND(WinGetState($aWinList[$i][1]), 2) Then ; is the window visible ? $handle = $aWinList[$i][1] Exitloop EndIf Next $iItemCount = ControlListView($handle, "", "[Class:SysListView32; INSTANCE:1]", "GetItemCount") Global $aHeadCode[$iItemCount] Global $aDescription[$iItemCount] Global $aDepart[$iItemCount] For $i = 0 To $iItemCount - 1 $aHeadCode[$i] = ControlListView($handle, "", "[Class:SysListView32; INSTANCE:1]", "GetText", $i, 0) $aDescription[$i] = ControlListView($handle, "", "[Class:SysListView32]", "GetText", $i, 1) $aDepart[$i] = ControlListView($handle, "", "[Class:SysListView32]", "GetText", $i, 2) Next _ArrayDisplay($aHeadCode) _ArrayDisplay($aDescription) _ArrayDisplay($aDepart)
-
Sahar reacted to a post in a topic: Find a control by ID and put all it's items in an array or list
-
Hi Water, Thanks for your reply, I've tried that code but always $iItemCount iz zero! Global $sTitle = "Timetables" ; <== Set the title of your window here Global $iItemCount = ControlListView($sTitle, "","[Class:SysListView32]", "GetItemCount") Global $aHeadCode[$iItemCount] Global $aDescription[$iItemCount] Global $aDepart[$iItemCount] For $i = 0 To $iItemCount - 1 $aHeadCode[$i] = ControlListView("Timetables", "", "[Class:SysListView32]", "GetText", $i, 0) $aDescription[$i] = ControlListView("Timetables", "", "[Class:SysListView32]", "GetText", $i, 1) $aDepart[$i] = ControlListView("Timetables", "", "[Class:SysListView32]", "GetText", $i, 2) Next _ArrayDisplay($aHeadCode) _ArrayDisplay($aDescription) _ArrayDisplay($aDepart)