Hi,
I'm just evaluating RDM and am pretty happy with it already.
However, I have a small problem with the After Connect Macro.
I have added notepad as my own command line application and I want to be able to open the file-menu by sendind ALT+F to the application.
When I press those keys manually it works perfectly, but when I try to use the macro it just doesn't work.
I can send normal text, but not the ALT-key.
So far I've tried the following:
%f
%(f)
{ALT}f
{ALT}(f)
What I'm ultimately trying to do is the following:
Open File / Connect / Enter IP / Enter username / Enter password / Send Enter within a custom application.
I'm only using Notepad for testing purposes.
Do you have any suggestions?
Thanks in advance,
Mark
Hello,
I had a chat with our engineering department regarding your question and could you try to send the ALT+F using the following command;
{SENDKEYS}%F{SENDKEYS}
The command {SENDKEYS} means that we are using the .Net syntax as mentioned in the documentation below
https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
Best regards,
Jeff Dagenais
Thanks Jeff.
I've just tried that, but it unfortunately gives me an error message saying:
"Unable to execute macro. Keyword "SENDKEYS" is not valid"
Cheers,
Mark
Hello,
Sorry, I sent you the wrong command.
As per my test, this one should work
{SENDKEYS}%f
Best regards,
Jeff Dagenais
Thanks a lot, mate.
That works like a charm :)
However, I'm having problems passing the $PASSWORD$-variable via the macro.
$VPN_PASSWORD$ is working fine, but the other one isn't. It simply types $PASSWORD$ instead of the password itself.
I have already enabled the "Allow password variable" checkbox within the entry's security settings.
Hello Mark,
sorry that i meddle -
is the session linked to a credential entry? If yes, could you try to enable the "Allow password variable" also in the linked credential entry?
Regards,
Min
Hello,
This variable is a little bit tricky, because specific options needs to be enabled so that you can used it for security reasons.
The first option is the one that you have enabled in the properties of the session.
The second option is located in the data source settings. Go in Administration -> Data Source Settings -> Password Policy and check the option Allow password in macro (send keys).
Now, you should be able to send your password via a variable.
Best regards,
Jeff Dagenais
Thanks guys, it's working now.
Great piece of software :)