Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Windows menu Mouse
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.Smile | :)
 
If it is relevant, i've worked with c++, c#, delphi, 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.
Posted 3-Apr-13 8:19am
Edited 3-Apr-13 8:20am
v2
Comments
Sergey Alexandrovich Kryukov at 3-Apr-13 13:31pm
   
You don't have source code for this software, do you? It would makes your problem extremely unpleasant. First of all, I would think about stopping to use it...
—SA
Raveneye at 3-Apr-13 23:00pm
   
no, if i had access to the source code i probably wouldn't need all this at all. And not using it isn't a solution.
Sergey Alexandrovich Kryukov at 4-Apr-13 1:09am
   
Well, then you are in a pretty good trouble, sorry to say so...
—SA
Bernhard Hiller at 4-Apr-13 3:07am
   
Could the Windows Automation API for UI Automation (http://msdn.microsoft.com/en-us/library/ms753388.aspx) be useful? Of course, the program to be automated must be compatible with that.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 Wink | ;)
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 390
1 Jochen Arndt 150
2 Richard MacCutchan 135
3 DamithSL 95
4 Garth J Lancaster 90
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 4 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100