Search the Community
Showing results for tags 'standalone'.
-
Hi, We have a desktop application that have dozens of pop up windows. I can find the windows very easily and control the application using the Control functions, however, I came across a control that I can't get the text out of it. According to the Window Info tool this control is a "listControl" which looks to me as a listview. (Attached images) I've tried the below: WinActivate("Sales Orders") Local $txt = ControlListView("Sales Orders", "", "listControl1", "GetText", 10, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $txt = ' & $txt & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $stext = ControlGetText("Sales Orders", "", "listControl1") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $stext = ' & $stext & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $hwnd = ControlGetHandle("Sales Orders", "", "listControl1") Local $test = _GUICtrlListView_GetItemTextArray($hwnd) _ArrayDisplay($test) Local $hwnd = WinGetHandle("Sales Orders") ConsoleWrite("! " & _WinAPI_GetWindowInfo($hWnd) & @CRLF) _ArrayDisplay($hwnd) Please note, I've tried using the "listControl1", "[NAME:listControl1]", ID of the control, Class of the control, but the output is the same. And the output is: Starting file test.au3... @@ Debug(8) : $txt = 0 >Error code: 1 @@ Debug(11) : $stext = >Error code: 1 ! test.au3 -> Exit Code: 0 (Runtime: 4.07 sec) Unfortunately this system is not under our control and get this list in a separate (csv, excel) report would be painful, so I try to grab this information from this List control. I'm not waiting for a fully working code here, but could please someone point me in the right direction? I might just don't see the obvious here. Many thanks in advance.
- 1 reply
-
- listcontrol
- standalone
-
(and 1 more)
Tagged with:
-
Hello everyone, has anyone of you guys tried to create an an automated installer for this? Source: https://support.office.com/en-us/article/Deploy-Office-365-ProPlus-from-a-local-source-35d4cb3b-4cc9-4bc9-9f20-eaf3c50f8331 Issue: You can't run the installer "as administrator" because opens a error message. You have double click and then you may enter the credentials.. i was trying to do this without disabling the UAC, his there any one who found a way out? Notice: The processo runs perfectly by hand, i only need a workaround for this thing. Ty in advance.
- 3 replies
-
- office365
- standalone
-
(and 1 more)
Tagged with:
-
Hello all, this script(wrapper) uses Alternative Data Streams to store INI formatted data in the active executable even while it is running. This is great for standalone executables, or storing data you don't want a user being able to edit! There are four simple commands: Func _iniwrite($section, $key, $value, $stream = "DEFAULT") return IniWrite(@ScriptFullPath&":"&$stream, $section, $key, $value) EndFunc Func _iniread($section, $key, $default = "", $stream = "DEFAULT") return IniRead(@ScriptFullPath&":"&$stream, $section, $key, $default) EndFunc Func _inidelete($section, $key = "", $stream = "DEFAULT") if $key <> "" Then Return IniDelete(@ScriptFullPath&":"&$stream, $section, $key) Else Return IniDelete(@ScriptFullPath&":"&$stream, $section) EndIf EndFunc Func _inirenamesection($section, $newsection, $flag = 0, $stream = "DEFAULT") return IniRenameSection(@ScriptFullPath&":"&$stream, $section, $newsection, $flag) EndFunc Simply copy and paste these functions into your script!