Key Sequence.

avatar

Servus, ich bin derzeit ein Benutzer von anderem "Manager", er ist für mich aber nicht optimal (mit Web-Logins spinnt). Ich suche was besseres. Ich dachte, ich bin fündig worden mit RDM aber ich kann damit keine gscheid funktionierende KeySeq erstellen (für SSH Sitzung).
Einfachste Beispiel, der ich täglich nutze:
Doppelklick auf SSH (mit Autologin ohne Rechte am Server).
Doppelklick auf KeySequence Task für "ummelden auf root, bconsole starten und ein Befehl ausführen).
KeySequence schaut so aus:

su -{ENTER}{WAIT:500}$this.CustomField11$
{WAIT:500}bconsole{ENTER}{WAIT:500}s dir{ENTER}

und funktioniert immer zuverlässig. Immer.

Ich habe schon bei RDM es schon mehrmals versucht, mal als "skript" mal as "tasten folge" - geht nichts. Vor allem, nach doppelklick auf Task, Cursor springt gar nicht ins SSH-Window (noch kein Problem) aber wenn ich es schon mache, drin sind die Befehle irgendwie gemischt / zerschmettert / komplett durcheinander, was ein NoGo ist.

Hätte jemand für mich eine Lösung bzw. der richtige Weg? Es ist kaum zu glauben, dass es nicht gscheid funktioniert. Ich bin sicher, ich mache was falsch, aber was?
VG.TB

All Comments (2)

avatar

Hello,

My apologies for replying in English.

I did a few tests and I cannot replicate the issues you mentioned. For my test, I put the macro in te Events > After Open > Macro:

su -
{DELAY}$CUSTOM_FIELD5$
{DELAY}bconsole
{DELAY}s dir{ENTER}


In my case, the CUSTOM_FIELD5 is the one that contains text. Please note I also have the consider line breaks as enter enabled and I set the delay time to 500ms directly.

forum image

Then, when I open my SSH session, they are performed normally (the su authentication failure is normal)
forum image

Could you try something like the above to see if you still have an issue?

Best regards,

Richard Boisvert

avatar

Hi,
first of all: Happy New Year!
About the problem, yes, it seems to work. I thought rather to have a "default SSH connection" and a several "key macros", executable with "double click", but so is OK too. I don't have so many such "sequences".

Thank you very much!
Best Regards
Tadek