Author Topic: RoboScripter SendKey  (Read 215 times)

cballinger

  • Newbie
  • *
  • Posts: 2
RoboScripter SendKey
« on: April 12, 2018, 07:09:57 am »
It's been years since I used RoboScripter, but need to once again.  I thought there was a page/doc that listed the correct manner to use the sendkey function value like sending an enter key, etc.
I remember that you had to include the values in braces {Enter}, but can't find a listing of the other values or how to send control codes, etc.
Is that document still around?  Looked in the Control Manager help file on Roboscript and it just show using the ! for the ALT key I believe.

Thanks

Chuck

td

  • Tech Support
  • *****
  • Posts: 2499
    • WinBatch
Re: RoboScripter SendKey
« Reply #1 on: April 12, 2018, 07:22:22 am »
Like all other WIL functions, the documentation for the "SendKey" function is in the Consolidated WIL Help file. The "SendKey" topic includes a complete list of all special character representations.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates


cballinger

  • Newbie
  • *
  • Posts: 2
Re: RoboScripter SendKey
« Reply #2 on: April 12, 2018, 07:37:59 am »
sending a URL to the address bar as https://blah.blah.gov {Enter}  and it sends the {Enter} as a literal instead of acting as if the Enter key was pressed.

td

  • Tech Support
  • *****
  • Posts: 2499
    • WinBatch
Re: RoboScripter SendKey
« Reply #3 on: April 12, 2018, 01:48:27 pm »
It certainly doesn't work that way on any system I have tried it on.  Which version of WinBatch are you using what is the exact line in your script that contains the SendKey call look like?
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates


snowsnowsnow

  • Full Member
  • ***
  • Posts: 241
Re: RoboScripter SendKey
« Reply #4 on: April 13, 2018, 08:33:46 am »
1) FWIW, I didn't know that {Enter} was supposed to work.  I've always used ~.

2) This actually has nothing to do with RoboScripter...

td

  • Tech Support
  • *****
  • Posts: 2499
    • WinBatch
Re: RoboScripter SendKey
« Reply #5 on: April 13, 2018, 01:41:55 pm »
IIRC, the last time any special characters were added to SendKey was some time in 2002 but I think the "{Enter}" SendKey special character has been around since before the turn of the century.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates