Results 1 to 1 of 1
- 07-18-2007, 04:14 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 4
- Rep Power
- 0
how to issue the command of Ctrl-C (copy) in Java
Respected Members,
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.
Thanking You,
Bilal Ali
Similar Threads
-
Java command line
By agouzoul in forum New To JavaReplies: 2Last Post: 04-02-2008, 01:12 PM -
Run method on Ctrl+Shift+D
By Echilon in forum AWT / SwingReplies: 1Last Post: 02-16-2008, 11:31 PM -
How to add hotkey(Ctrl+VK) to a button?
By rpwtdj in forum Advanced JavaReplies: 5Last Post: 01-10-2008, 03:13 AM -
java copy paste cut and undo functions
By Mr tuition in forum AWT / SwingReplies: 1Last Post: 12-09-2007, 01:02 AM -
Unable to execute command line command in java
By LordSM in forum New To JavaReplies: 1Last Post: 08-08-2007, 01:23 AM
Bookmarks