模拟菜单交互 [英] Simulate a menu interaction

查看:91
本文介绍了模拟菜单交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这就是我想做的事情:

我有一个只有手动导出功能的软件。它以cvs形式输出一些温度值。

我需要自动化这个过程。

导出功能非常简单,只需点击几个按钮,也可能是写入文本框的日期。

我想创建一个与该软件同时运行的应用程序,它可以在收到命令时模拟这些手动命令,或者以固定间隔(每分钟...... 10分钟)模拟这些手动命令。据我所知,我可以使用API​​调用模拟鼠标点击(我没有经验),但我想询问从哪里开始,比如使用什么语言和IDE,等等。

导出的数据应该进入数据库。

我正在寻找解决方案但是如果有实际经验的人可以指出我正确的方向并阻止我这样做最复杂的方式,我将不胜感激。:)



如果它是相关的,我已经使用过c ++,c#,delphi,VBA,basic和java,与其中任何一个都不是很多。该软件在Windows下运行,我使用Win7 64bit。

感谢您的时间。

Hi,
Here''s what i want to do:
i have a software that only has a manual export function. It exports in cvs form some temperature values.
I need to automate this process.
The export function is pretty simple, it only requires a few buttons clicked, and maybe a date written into a textbox.
I want to make an application that runs at the same time as this software, which simulates these manual commands whenever it receives a command, or at fixed interval (every minute... 10 minutes). As far as i understand, i could simulate mouse clicks with API calls (with which i don''t have experience), but i want to ask where to start, like what language and IDE to use, and so on.
The exported data should go into a database.
I am searching for solutions but if someone with actual experience could point me in the right direction and prevent me from doing this in the most complicated way possible i would be grateful.:)

If it is relevant, i''ve worked with c++, c#, delp VBA, basic, and java, not a lot with any of them. The software runs under windows, and i use Win7 64bit.
Thank you for your time.

推荐答案

请阅读:如何模拟鼠标点击在非活动窗口 [ ^ ] - Crazypennie的答案 - 并按照说明操作。我相信它会帮助你解决问题;)
Please, read this: How do I simulate a mouse click in an inactive window[^] - Crazypennie''s answer - and follow the instructions. I belive it will help you to solve your problem ;)


这篇关于模拟菜单交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆