The Prince Posted August 1, 2006 Share Posted August 1, 2006 Hi; I want to copy data from Excel to Java form ; but this form doesn't accept Paste function using Ctrl V; any suggestions to solve this problem is highly appreciated WinActivate("Microsoft Excel - Book1") ; Activat input Source Window Send("^c") ;Copy from A1 cell WinActivate("Java Form AA") ; Activat Output Window MouseClick("left", 141,239,1) ;Cell to Paste Send("^v") ; Pase (not Wrking???) Link to comment Share on other sites More sharing options...
Cyber Posted August 1, 2006 Share Posted August 1, 2006 (edited) try to use a little timesleep MouseClick("left", 141,239,1) ;Cell to Paste sleep(100) Send("^v") ; Paste Edit: ctrl+c on the cell caopy the string BUT and carige return! try this: WinActivate("Microsoft Excel - Book1") ; Activat input Source Window send("x^z") sleep(50) send("^c");Copy from A1 cell sleep(50) WinActivate("Java Form AA") ; Activat Output Window MouseClick("left", 141,239,1) ;Cell to Paste Send("^v") ; Paste Edited August 1, 2006 by Cyber Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
The Prince Posted August 1, 2006 Author Share Posted August 1, 2006 It seems that this Java Applet Window doesnt accepts any Past command from window clipboard, so Ctrl V is not working, I try do it manually no result, Is there any way to paste data copied from any MS. Window application to such a form? Any hint is appreciated Link to comment Share on other sites More sharing options...
Cyber Posted August 1, 2006 Share Posted August 1, 2006 (edited) mmh you had try with WinActivate("Java Form AA") ; Activat Output Window MouseClick("left", 141,239,1) ;Cell to Paste $temp = clipget() Send($temp) ; Paste Edited August 1, 2006 by Cyber Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
The Prince Posted August 1, 2006 Author Share Posted August 1, 2006 Thanks very much Cvber, it works BestRregards Link to comment Share on other sites More sharing options...
The Prince Posted August 1, 2006 Author Share Posted August 1, 2006 Thanks very much Cvber, it works BestRregards Link to comment Share on other sites More sharing options...
Cyber Posted August 1, 2006 Share Posted August 1, 2006 Good Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
tradertt Posted August 2, 2006 Share Posted August 2, 2006 Send("{CTRLDOWN}c{CTRLUP}") $temp = clipget() Sleep(1000) _IECreate ($temp) i get a unknown function error Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now