How to interact with SAP GUI Scripting API using Dart win32 #1010
Unanswered
BrunoMoraes-Z
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone 👋
I'm trying to create a Dart script that interacts with the SAP GUI Scripting API using the win32 package, but I haven't had success so far.
My goal is to connect to the SAP GUI Scripting COM interface, list active sessions, and later perform actions such as reading or interacting with GUI elements.
I’ve previously done similar integrations using Python with win32com, where interacting with the SAP GUI Scripting API is quite straightforward — you can easily access objects, call methods, and navigate through children dynamically. However, in Dart it seems to require a more manual approach, and I’m still learning how to handle COM interop in this context.
I couldn’t find examples of how to:
SAPGUI.ScriptingCtrl.1");Before going deeper, I wanted to ask the community:
👉 Is it currently possible to interact with SAP GUI Scripting (COM API) using the win32 package?
👉 If so, could anyone share an example or some guidance on how to approach this kind of integration?
Any tips or references would be greatly appreciated — I’m still learning how COM interop works in Dart.
Thanks in advance for any help! 🙏
All reactions