Questions tagged [enter]

The ENTER/RETURN key on the keyboard.

On computer keyboards, the enter key in most cases causes a command line, window form, or dialog box to operate its default function. This is typically to finish an "entry" and begin the desired process, and is usually an alternative to pressing an OK button.

Source

Wikipedia

882 questions
-1
votes
2 answers

How do I make text go on to the next line (enter/return effect)? Python

I have numerous strings which I am writing into a notepad txt.file via python using x = open("File", "w") However i want the strings to be written in the text file in the format: ('Hello') ('Hey') ('Whatever') Instead of…
user6842389
  • 49
  • 1
  • 4
  • 8
-1
votes
1 answer

C on CodeBlocks: how can I send user input without pressing "enter"?

I'm trying an example from "The C programming language" on Windows with CodeBlock and I don't know how I can get user input without having to press enter. This program counts the number of lines in the input using getchar() and so when I run it…
MatSiv97
  • 11
  • 2
-1
votes
1 answer

How do I automatically trigger enter key in Javafx

Nowadays I am working on raspberry pi and I write some programs in java , javafx platforms.I just would like to inform you that I am simply beginner on javafx. According to that I just would like to trigger ENTER key after changing my…
Xspacex
  • 1
  • 1
  • 10
-1
votes
1 answer

Press "enter" key on Selenium (Java/chrome)

I click on a web element using xpath and a confirmation window pops up. I just need to press enter on selenium. I tried this: WebElement.sendKeys(Keys.RETURN); I got this error from the type WebElement: Cannot make a static reference to the…
forgivennn
  • 85
  • 1
  • 10
-1
votes
2 answers

How do I capture the "Enter" key in a windows form?

I am trying to get the text of a textbox and save it to a variable when the user presses the enter key (when the textbox has info and is focused) since this is already inside a method i haven't been able to put another method inside like…
-1
votes
1 answer

on Windows Qt Creator where do I enter commands like "cd" "nmake" and "configure"

I am on windows. I need to make a .exe standalone (static) executable from my completed Qt project. According to http://doc.qt.io/qt-5/windows-deployment.html to do this I have to do such things as enter this somewhere cd C:\path\to\Qt configure…
JoseOrtiz3
  • 1,785
  • 17
  • 28
-1
votes
1 answer

How to use enter key as while condition

I want to write a program that a part of it is that input some numbers that there is some spaces between them for example :1 2 3 and with a while loop i input them i want to have pressing enter key as condition of my while loop but how?
behnam
  • 100
  • 1
  • 8
-1
votes
3 answers

How to trigger my input type=button with enter?

I'm using this form I found :
It works fine for what…
Krys3000
  • 3
  • 5
-1
votes
2 answers

When user inputs string, nothing happens upon pressing enter

I am working on a library application which allows users to store, borrow and return technical manuals. I have ran into a problem when building the return section of the application. Currently, if the user borrows a manual and they wish to return…
Oscar
  • 511
  • 2
  • 10
  • 25
-1
votes
2 answers

Keyboard enter button on input

Anyone can teach me how to make input button onlick when press the keyboard "Enter" ? What i have study from web is something like this , but it's does't work when i press enter from keyboard . Anyone can show me how ??
Jack Lee
  • 3
  • 2
-1
votes
1 answer

Enter key does not click elements

The enter key in this script does not click the 'new' button. Am I missing something here? The button: The script: