-
Posts
9,895 -
Joined
-
Last visited
-
Days Won
10
Zedna last won the day on January 14
Zedna had the most liked content!
About Zedna
- Birthday 10/02/1972
Profile Information
-
Member Title
AutoIt rulez!
-
Location
Czech republic
Recent Profile Visitors
5,137 profile views
Zedna's Achievements
-
Try add ControlFocus(): WinWaitActive("Setup - CPGit") ControlFocus("Setup - CPGit","&Next >","TNewButton1") $res = ControlClick("Setup - CPGit","&Next >","TNewButton1") ...
-
Zedna reacted to a post in a topic: How to get the right click position for multiple column items
-
Add COM/OLE error checking to see error description and avoid hard crash ... $objErr = ObjEvent("AutoIt.Error","MyErrFunc") $orionURL = 'http://'&$ipAddress&':5001/' $jsonData = '[{ "request": { "TokenName": "bitCMDGrantEnter", "LaneNumber":"'&$laneNumber&'", "Value": "true"}}]' $oHTTP = ObjCreate("MSXML2.XMLHTTP") $oHTTP.Open("POST", $orionURL, False) $oHTTP.SetRequestHeader("Content-Type", "application/json") $oHTTP.Send($jsonData) ; ----ERRROR RIGHT HERE--------- If @error Then Exit ; ... Func MyErrFunc() MsgBox(48, 'COM Error', $objErr.description) SetError(1) EndFunc
-
spudw2k reacted to a post in a topic: Create Progress bar in CUI
-
Look here at my CUI progressbar
-
Zedna reacted to a post in a topic: Dism Restore-Need code to enlarge GUI
-
MouseMove & MouseClick don't work long term
Zedna replied to tbodine88's topic in AutoIt General Help and Support
Look at my MouseClickFast & MouseMoveFast maybe it can help you - but no waranty 🙂 -
FilipL reacted to a post in a topic: How to access the items found with ControlTreeView?
-
How to access the items found with ControlTreeView?
Zedna replied to FilipL's topic in AutoIt GUI Help and Support
Here is my function _TreeView_GetAll() which gets whole content of TreeView control, in this case even from external application: Here you can see how to simply traverse the whole TreeView ... #Include <String.au3> #Include <GuiTreeView.au3> $sAll = _TreeView_GetAll('OLE/COM Object Viewer', '', 'SysTreeView322') FileDelete('treeview_get_all.txt') FileWrite('treeview_get_all.txt', $sAll) ;~ClipPut($sAll) Func _TreeView_GetAll($title, $text, $classNN, $expand = False, $indent = ' ', $bullet = '') ; $bullet = '- ' $hWnd = ControlGetHandle($title, $text, $classNN) $sAll = '' If $expand Then _GUICtrlTreeView_Expand($hWnd) ; Expand All $hItem = _GUICtrlTreeView_GetFirstItem($hWnd) While $hItem <> 0x00000000 $sItem = _GUICtrlTreeView_GetText($hWnd, $hItem) $level = _GUICtrlTreeView_Level($hWnd, $hItem) $sIndent = _StringRepeat($indent, $level) $sAll &= $sIndent & $bullet & $sItem & @CRLF $hItem = _GUICtrlTreeView_GetNext($hWnd, $hItem) WEnd Return $sAll EndFunc -
Check the result of WinActivate(), it may return 0 if window is not found ...
-
AutoItHelp v3.3.16.1 with external CSS loading
Zedna replied to argumentum's topic in AutoIt General Help and Support
Just by looking at sources -
argumentum reacted to a post in a topic: AutoItHelp v3.3.16.1 with external CSS loading
-
AutoItHelp v3.3.16.1 with external CSS loading
Zedna replied to argumentum's topic in AutoIt General Help and Support
Looks nice. I will not use it but I like to learn how such kind of hacks can be done 😉 I'm just curious why this isn't in Examples section of the forum ... -
Zedna reacted to a post in a topic: _GetSavedSource() - Retrieve the saved source file from an AutoIt exe.
-
SOLVE-SMART reacted to a post in a topic: Autoit Library
-
As you can see in the sources there were implemented only few functions from AutoItX DLL https://github.com/nokia/robotframework-autoitlibrary/blob/master/src/AutoItLibrary/__init__.py
-
SOLVE-SMART reacted to a post in a topic: Autoit Library
-
argumentum reacted to a post in a topic: Autoit Library
-
Just info for others: https://robotframework.org/ https://github.com/nokia/robotframework-autoitlibrary I suggest to reinstall AutoItLibrary according to my second web link ... EDIT: Maybe it's related to opened issues for V7.1: so maybe try to contact their support or forum ... https://forum.robotframework.org/c/libraries/9
-
Zedna reacted to a post in a topic: _WinAPI_CreateWindowEx() - Set BgColor ?
-
Zedna reacted to a post in a topic: Is there a solution to show Two or more ToolTip at the same time?
-
Zedna reacted to a post in a topic: [solved] How using $GUI_GR_BEZIER ?
-
FileInstall will embed PNG image inside EXE at compile time and copy it from EXE to destination directory at run time. With Resources UDF you can use PNG directly from EXE without need of extracting image to disk at runtime. fileInstall("test.png", @tempDir & "\test.png") $hImage = _GDIPlus_ImageLoadFromFile(@tempDir & "\test.png") You would should also add deleting image after using it - in case of FileInstall() ...
-
Difference with this approach is that you have to distribute PNG image separately along with compiled EXE. With Resources UDF you have PNG image compiled inside EXE and use it from resources (inside EXE) so you distribute only EXE file.
-
If you want to use Resources UDF with latest version of AutoIt then you have to download/use derived ResourcesEx UDF (by guinness) from here and slightly modify your AU3 scripts changes needed in your fade/test.au3: ;~ #include "resources.au3" #include "ResourcesEx.au3" ... ;~ $hImage = _ResourceGetAsImage("TEST_PNG_1") $hImage = _Resource_GetAsImage("TEST_PNG_1") Zedna