LarsJ Posted January 11, 2023 Author Share Posted January 11, 2023 Cool Python code. It should be possible to do the same in C# with the GetActiveObject() method. But as far as I know, GetActiveObject() will not directly result in a C# array. It's probably easier to use the technique briefly demonstrated here where an AutoIt array is passed directly to a C# array of objects. Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
HurleyShanabarger Posted January 12, 2023 Share Posted January 12, 2023 Ok, thanks. I tried, but was not able to access any of the data set/send using ROT. I can see in the Locals area of VS, that the dynamic view has a count of 10 - this reflects the amount of parameters I set/send using ROT. Maybe I will figure out to access it. Link to comment Share on other sites More sharing options...
HurleyShanabarger Posted April 25, 2023 Share Posted April 25, 2023 What is the best practice in the AutoIt "Client" program to check if the ROT-Object from the server is still alive? Checking with ObjGet before reading/writing? Link to comment Share on other sites More sharing options...
jugador Posted October 18, 2023 Share Posted October 18, 2023 RegisterActiveObject https://learn.microsoft.com/en-us/windows/win32/api/oleauto/nf-oleauto-registeractiveobject https://www.autohotkey.com/boards/viewtopic.php?t=6148 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