模拟菜单交互

编程入门 行业动态 更新时间:2024-10-26 13:22:44
本文介绍了模拟菜单交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

这就是我想做的事情: 我有一个只有手动导出功能的软件。它以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 ;)

更多推荐

模拟菜单交互

本文发布于:2023-06-06 05:54:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/534728.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:菜单

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!