Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I work in an environment where a number of applications are used including Exchequer, and, other custom applications, some of which are written using .NET technologies.

I was wondering whether it was possible to create applications that carry out "copy and paste" macros and copy data from one application to another, preferably without having to modify the source code of the applications themselves (due to licensing restrictions).

I hope that this is not a dumb question, however, I would like to code macros that would say accept the following parameters in terms of a procedural language:

Copy(ApplicationToCopyFrom, FormToCopyFrom, X_toCopyFrom, Y_toCopyFrom, ValueType, ApplicationToCopyTo, FormToCopyTo, Calculation, Trimming)
Posted

1 solution

If you can copy data in one application to the clipboard, you should be able to paste the same data in another application so long that application allows pasting. If you are trying to paste data to a location that does not allow pasting, then, IMO, no macro would be able to help you out.
 
Share this answer
 
Comments
jon-80 2-Aug-11 13:33pm    
That's fine, however I would like to be able to do it programmatically, by passing parameters that represent applications held in memory, and, interface directly with the Windows API, for example using the Clipboard API (http://msdn.microsoft.com/en-us/library/ms649012%28v=VS.85%29.aspx).

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900