Hi Can anybody give an example script to copy a string from one location and paste it in another location. For example i need to copy a date 091714 from rumba position 3,18 and paste to position 5,18.
Also please tell me how to add "wait for screen" in script. i tried a script but few datas not getting pasted in excel because it runs so fast. what i request is if we send a key F10 script should wait until the result comes.
these doubts are silly i think but your help is so much appritiated sice im unable to find the information anywhere else.thank you
#Rumba
#Rumba
Page 1 / 1
Hi Can anybody give an example script to copy a string from one location and paste it in another location. For example i need to copy a date 091714 from rumba position 3,18 and paste to position 5,18.
Also please tell me how to add "wait for screen" in script. i tried a script but few datas not getting pasted in excel because it runs so fast. what i request is if we send a key F10 script should wait until the result comes.
these doubts are silly i think but your help is so much appritiated sice im unable to find the information anywhere else.thank you
#Rumba
#Rumba
Sub Main
Emulation "TN5250"
dim buff as string
rem copy 10 characters from row 2, col 70 into buff
emreadscreen buff,10,2,70
set cursor position (optional)
SetCursor 21,30
rem paste the contents of buff
EMSendKey buff
Stop
End Sub
I find Rumba wait for keyboard input anyway, I have no problem with typing too fast... (unlike Client Access)
Hi Can anybody give an example script to copy a string from one location and paste it in another location. For example i need to copy a date 091714 from rumba position 3,18 and paste to position 5,18.
Also please tell me how to add "wait for screen" in script. i tried a script but few datas not getting pasted in excel because it runs so fast. what i request is if we send a key F10 script should wait until the result comes.
these doubts are silly i think but your help is so much appritiated sice im unable to find the information anywhere else.thank you
#Rumba
#Rumba
sorry should be EMSetCursor
should not have edited it after testing :-)
Hi Can anybody give an example script to copy a string from one location and paste it in another location. For example i need to copy a date 091714 from rumba position 3,18 and paste to position 5,18.
Also please tell me how to add "wait for screen" in script. i tried a script but few datas not getting pasted in excel because it runs so fast. what i request is if we send a key F10 script should wait until the result comes.
these doubts are silly i think but your help is so much appritiated sice im unable to find the information anywhere else.thank you
#Rumba
#Rumba
thank you so much Adrian it worked!
Hi Can anybody give an example script to copy a string from one location and paste it in another location. For example i need to copy a date 091714 from rumba position 3,18 and paste to position 5,18.
Also please tell me how to add "wait for screen" in script. i tried a script but few datas not getting pasted in excel because it runs so fast. what i request is if we send a key F10 script should wait until the result comes.
these doubts are silly i think but your help is so much appritiated sice im unable to find the information anywhere else.thank you
#Rumba
#Rumba
yes i added this. your script is perfectly working. thanks alot :)
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.