Jump to content

Copy Paste


Recommended Posts

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

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 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

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

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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...