Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xMarkos

Pages: [1]
1
I've been asked to program tool that allows it's user to automatize "Import DB Schema from ODBC". Since Automation Interfaces do not offer this functionality, I decided to accomplish this using "input simulation" (simulation of clicks and keyboard in controls).

I have been successful so far, but the problem is to find the correct window to work with, in case of multiple EA instances running.

(I have sent feature request already, but I need to have this working ASAP)

2
Hello,

For specific reasons I need to get window handle to main EA window, that shows up after using Repository.ShowWindow() function.

I could do this by calling FindWindow() or GetForegroundWindow() from WinAPI, but this would cause problems if more instances were running (or windows with similar titles).

I wanted to know if there is some built-in way to retrieve the window handle (or at least process ID) of the current EA process started by Automation Interfaces.

If there is not a way to do this, I would like to hear suggestions of possible workarounds.

I am looking forward for your replies,

Markos

3
So there isnt any other option than just wait -_-

Thanx for your fast replies anyway.

4
Hello,

I am writing command line tool that will allow me to export/import documentation and source code from a project.

I have been quite successful so far, I was able to reproduce most functions under "Documentation" and "Code Engineering" menus, however I had no luck finding functions for:

Code Engineering:
- Generate DDL
- Import DB schema from ODBC
- Generate WSDL
- Import WSDL

Documentation:
- Glossary

I hope there are methods that I missed, rewriting all of these functions from a scratch would be a waste of time.

I am using Enterprise Architect 8.

Thanx in advance

Pages: [1]