Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

send, {enter} command is not working


  • Please log in to reply
6 replies to this topic
anton
  • Guests
  • Last active:
  • Joined: --
Hi i have a script with this command: send, {enter}
and the send, {enter} is not working. i must manualy click with the mouse.
does anybody know the problem?

greatings
anton

PhiLho
  • Moderators
  • 6850 posts
  • Last active: Jan 02 2012 10:09 PM
  • Joined: 27 Dec 2005
Well, the problem is that you don't give enough information...
What program, what control, code snippet, etc.
Posted Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")

  • Guests
  • Last active:
  • Joined: --
Try sending the {tab} key until the enter key is hightlighted or the active key and then send the {enter} key command.

PhiLho
  • Moderators
  • 6850 posts
  • Last active: Jan 02 2012 10:09 PM
  • Joined: 27 Dec 2005
Or just use ControlSend or ControlClick, if possible.
Posted Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")

jonny
  • Members
  • 2951 posts
  • Last active: Feb 24 2008 04:22 AM
  • Joined: 13 Nov 2004
A good way to see why it isn't working is to look at the script and do everything in it by hand. That is, press every key exactly how it appears in the script. Then you can easily see if something is missing.

(If only we could do that with C!)

slomz
  • Members
  • 601 posts
  • Last active: Mar 30 2008 12:54 AM
  • Joined: 03 Sep 2006
Try it as a hotkey:

P::Send, {Enter}

Posted Image

mtanika
  • Members
  • 1 posts
  • Last active: Mar 23 2015 05:13 AM
  • Joined: 23 Mar 2015

Using   {Tab}{Enter}   instead of only    {Enter}   resolved my problem.

 

Thanks a lot !

 

It is a passwork entry field and it used to work with just {Enter}  ... after some windows update it stopped working, and I had to click OK or equivalent to complete the entry.