How codecentrix/open-twebst works
Main Components
a) Core Components Layer:
• OpenTwebstLib (COM Library)
• BrowserPlugin (IE Plugin Integration)
• Common Services
• Debug Services
b) User Interface Layer:
• Macro Recorder (OpenTwebst folder - C# GUI application)
• Code Generator Components
c) Integration Layer:
• Language Bindings (C#, VB.NET, C++, Python, VBA)
• COM Interface Layer
[Top Layer - Client Applications]
• Language Bindings
• C# Integration
• VB.NET Integration
• Python Integration
• VBA/Excel Integration
• C++ Integration
[Middle Layer - Core Framework]
• OpenTwebst Macro Recorder (GUI)
• Code Generators
• C# Generator
• VB Generator
• JavaScript Generator
• Python Generator
• Recording Engine
[Bottom Layer - COM Infrastructure]
• OpenTwebstLib (COM Library)
• Browser Control
• Element Management
• Frame Management
• Core Services
• Browser Plugin
• Event Handlers
• Element Finders
• Async Actions
• Common Services
• Debug Services
• Marshal Services
• HTML Helpers
Important Relationships
• COM interface exposure points to external applications
• Event flow from IE through the plugin to the library
• Code generation flow from recorder to output files
Additional Details
• Component types
• Communication patterns
• Integration points
• File extensions for generated code
• Supported IE versions (6-11)
Technical Notes
Annotations for:
• COM registration requirements
• Protected mode compatibility
• Windows version support
• Hardware event simulation capabilities
• Synchronization mechanisms
Implementation Details
• The COM-based architecture
• The separation between native IE interaction and high-level automation
• The macro recording and code generation pipeline
• The async action handling system
• The element search and manipulation capabilities