Total members 11894 |It is currently Fri Nov 22, 2024 4:32 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





in Java is it possible to issue the command of Ctrl-C (copy) directly from a
program, suppose I have many different windows running on my desktop(Win XP) but
since in MS Windows OS at one time only one window is active, lets say the
active window is Java Application which I have purchased from a vendor, is it
possible to write a program in which when ever the user enters some hot key lets
say Ctrl-F1 than my Java program traps this event and issue a command of Ctrl-C
at the back end, as a consequence any selected text written in these Java
windows would be Copied, to issue Ctrl-C command will I need to access the Win
32 API or is this possible directly using Java, please guide me how can this be
possible, I would be thankful to you from the depth of my heart if you can guide
me to the
solution.




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

you need somthing closer to the kernel of the OS.
You can use Runtime class to Execute external Script or program writen in
another lang such as c++ which will take alot of work.
Surely you need2use WinAPI32 in your work i dnt think java has the ability to do

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : how to issue the command of Ctrl-C in Java
 Word & ASP.Net ISSUE     -  
 Issue in ajax     -  
 Datepicker issue with Internet Explorer     -  
 Javascript select menu validation issue     -  
 solving dojox/mobile/Heading moveTo function bug issue     -  
 Crystal report export to excel, page header issue asp.net     -  
 BETWEEN SQL COMMAND     -  
 SQL ALTER Command     -  
 SQL COUNT Command     -  
 Calling the man Command     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com