Skip to main content

Good day, Everybody!

 

I'd like to know if there was a way to manipulate/override/ignore Edit settings in Rumba via VBA code. Some of our users have the "Paste Insert" Edit setting checked, and that has been messing with our VBA macros that try to send text to Rumba using Putstring commands. With "Paste Insert" on, Rumba places the text that we send to wherever the current cursor position is even if we include coordinates in our Putstrings. If there was some way we can ignore this setting through code, we won't have to ask the users to change their Edit settings so they can use automation tools. `

 

Any input will be appreciated.

 

Thanks! 


#EditSettings
#Rumba
#Vba
#Rumba9.4
#PasteInsert

Good day, Everybody!

 

I'd like to know if there was a way to manipulate/override/ignore Edit settings in Rumba via VBA code. Some of our users have the "Paste Insert" Edit setting checked, and that has been messing with our VBA macros that try to send text to Rumba using Putstring commands. With "Paste Insert" on, Rumba places the text that we send to wherever the current cursor position is even if we include coordinates in our Putstrings. If there was some way we can ignore this setting through code, we won't have to ask the users to change their Edit settings so they can use automation tools. `

 

Any input will be appreciated.

 

Thanks! 


#EditSettings
#Rumba
#Vba
#Rumba9.4
#PasteInsert

Hi,
are you writing vba in the Rumba scripting engine ?
Unfortunately there is no method of changing the "paste insert" option via rumba script method.
But you can try to send the key codes to the Rumba Application and enable / disable the paste insert Option.

If you are working in Rumba Scripting then please try Emulation command EMSetCursor to set the position.

if you are using the  ActiveX Control then you can return or set a value that specifies whether to insert or overwrite text when pasting information from the Clipboard to the RUMBA display session. When PasteInsert is TRUE, the Clipboard text is inserted at the current cursor position; otherwise, the Clipboard text replaces the display text at the current cursor position.

Visual Basic Syntax: <object>.PasteInsert [= Boolean]

 

cheers

@ndre