Backlog

Improve Typing Macro scripting

0 vote

avatar

Hello Team,
we just migrated from SecureCRT to RDM. We have mostly all the features in place except an important one.
Starting from this thread: https://forum.devolutions.net/topics/37277/shortcut-button-bar
and referencing to the ticket 00046257, we need a script attached to a button, that not only is sending to an SSH opened session a static string, but pasting also the clipboard in the middle of the command.
Example:
sh auth session interface Gi3/0/19 detail
where Gi3/0/19 was pasted from the clipboard

"Typing macro" is missing the feature of pasting from the clipboard.

This is the code used in SecureCRT

# $language = "VBScript"
# $interface = "1.0"

Sub Main

crt.screen.send "sh auth session interface "
crt.screen.SendSpecial "MENU_PASTE"
crt.screen.send " "
crt.screen.send "detail"
crt.Screen.Send VbCr

End Sub


Thanks

All Comments (8)

avatar

Hello,

Thank you for the request. We will open a ticket to add support for this. We will aim to make this change both for the "Typing Macro" and the "SSH Command" (renamed "Terminal Command" in our upcoming 2024.1 version) entries, when used with our terminal entries.

Regards,

Hubert Mireault

avatar

Hello, is this feature now available?
I don't see the possibility to paste from the clipboard in "typing macro"

Thanks

avatar

Hello,

This is still in development on our end, I will see if we can raise the priority.

Regards,

Hubert Mireault

avatar

Hello,
any news on this?

Thanks

avatar

Hello,

This is still assigned to one of our developers, but I can't give you an estimate at the moment. There's big architectural changes coming for our 2024.3 version that requires a lot of developers to work on fixing internal issues, as well as other improvements planned on our roadmap. We will try to squeeze this in in our roadmap if we can.

Regards,

Hubert Mireault

avatar

Hello Team,
any update on this?
Thanks

avatar

Hello,

The ticket is still opened on our side, but we'll raise the priority. I'm hoping we can add this function in a minor update for 2025.2.

Regards,

Hubert Mireault

avatar

Hello,

We've implemented the new special command {CLIPBOARD} for more information check our documentation it is currently being updated. https://docs.devolutions.net/rdm/kb/how-to-articles/entry-types-events-settings/event-auto-typing-macro/

This feature should be available starting from the version 2025.3.19.0 of RDM.

Regards.