开发者

Delphi 2007: open another application in delphi and perform actions in that application

开发者 https://www.devze.com 2023-04-04 01:16 出处:网络
Would someone explain me which fu开发者_如何学JAVAnctions/procedures/functionalities I need of Delphi 2007 to open other applications and perform actions in those applications.

Would someone explain me which fu开发者_如何学JAVAnctions/procedures/functionalities I need of Delphi 2007 to open other applications and perform actions in those applications.

For example: I want Delphi to start a mathematical software application, export data to this application, perform some actions on that data and then retrieve the data from the application to Delphi.

At the moment, I'm not too familiar with the ShellExecute command.


Most applications do not support external automation, so your only option in those cases is to use mouse_event() and keybd_event() to simulate mouse/keyboard activity, and/or use PostMessage() and/or SendMessage() to send simulated messages directly to specific windows. Automating an application that does not support automation is not trivial, depending on the complexity of its UI.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号