Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error with send text
#1
This is the script:

C# code:
var w = wnd.find(1, "*(mysql)").Activate();
keys.send(@"mysqlsh");

wait.s(1); //wait 1 seconds

// press enter
keys.send(@"Enter");



wait.s(5); //wait 5 seconds

// check ClusterSet Status

keys.send(@"var clusterset = dba.getClusterSet()");

wait.s(1); //wait 5 seconds

keys.send(@"clusterset.status()");

wait.s(1); //wait 5 seconds

And I got this error:

C# code:
System.ArgumentException: Error in keys string: var clusterset = dba.get■ClusterSet■()
   at line 23 in {removed).cs
   >>
   --- Raw stack trace ---
   at Au.keys.AddKeys(String keys_)
   at Au.keys.Add(KKeysEtc[] keysEtc)
   at Au.keys.send(KKeysEtc[] keysEtc)
   at Program.<Main>$(String[] args) in (removed):line 23

I got success with mysqlsh and automated press of enter, so not sure why the next string after pressing enter got an error.


Messages In This Thread
Error with send text - by fablefox - 04-21-2026, 03:51 AM
RE: Error with send text - by Gintaras - 04-21-2026, 04:54 AM
RE: Error with send text - by fablefox - 04-21-2026, 05:06 AM
RE: Error with send text - by Gintaras - 04-21-2026, 06:04 AM
RE: Error with send text - by fablefox - 04-21-2026, 06:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)