prompt is a command-line or graphical interface which presents the user with a line editor or modal dialog and suspends execution until input is returned
Questions tagged [prompt]
2321 questions
0
votes
1 answer
Preventing interactive prompts for parameter values in scripts
I have a script, pingtest.ps1, which makes the following call:
Start-abc -SourceIpaddress x.y.x.z -Protocol TCP -DestinationIpAddress a.c.d.e
During execution it prompts for the source port and destination port.
How do I avoid these interactive…

kranthi
- 77
- 1
- 6
0
votes
1 answer
Continuing iMacros Script After Prompt For User Input
iMacros 10.0.2.1450 (Free for Firefox)
Firefox 65.0.2
Windows 7 Pro (Version 6.1 Build 7601; SP1)
I'm trying to run a script and the two variables I need to input are the customer's name and the customer's phone number. I made the discovery that the…

Christopher Cass
- 817
- 4
- 19
- 31
0
votes
0 answers
Runtime.getRuntime().exec("some.exe") silently
I've the following code which launches an exe
Runtime.getRuntime().exec("some.exe");
The problem is, I see a console which pops up for a while until some.exe is triggerred.
Options that I've tried so far
Runtime.getRuntime().exec("cmd /C /Q start…

SDS
- 828
- 3
- 17
- 35
0
votes
1 answer
Copy Dialog Box Response to a Cell
So I am kind of new to Google Scripts, and am not sure what exactly I am doing wrong. I am trying to copy the results from a dialog box to a cell in google sheets. However, the current method I am trying is not working, and I get a response saying…

Jonathan Connolly
- 57
- 1
- 1
- 6
0
votes
2 answers
ORA-00936: missing expression using prompt
Cannot get a CASE WHEN to work in my query using a variable.
select field1, field2
from table
where 1=1
AND GLCC.SEGMENT2
(CASE
WHEN :P_AccountType = 'B' THEN < 40000
WHEN :P_AccountType = 'P' THEN => 40000
ELSE
BETWEEN…

Fernando
- 1
0
votes
1 answer
I cant figure out why my prompt is not working. interface.prompt?
in this interface.prompt the word must writer don't come at Cmder ! i don't know what i'm missing
0
votes
1 answer
Repeated ChoicePrompt clears UserState
I implemented a bot with the Microsoft BotFramework. For gathering user data, I use ChoicePrompts. When a user doesn't choose one of the proposed options, the ChoicePrompt repeats until the user enters a valid option (this is default behavior from…

FRANZKAFKA
- 53
- 2
- 13
0
votes
1 answer
ReferenceError: prompt is not defined
I'm trying to set a battleship game as a website for an assignment. In the assignment, prompt() is used.
I tried assigning a new value to the variable guess. That didn't work either. Here is what I have so far:
let location1 = 3;
let location2 =…

Lucia
- 11
- 1
0
votes
0 answers
Preventing People from Not Inputting with prompt()?
With the prompt(); method in JavaScript, if a prompt(); window keeps popping up, there's an option to "prevent this page from creating further dialogues." I have a page where I need the user to input something specific, an if they don't the page…

Domani Tomlindo
- 239
- 1
- 5
- 12
0
votes
0 answers
how to put users prompted response into clipboard (formatted differently)
I'm working on tampermonkey script that prompts somebody to type in a number, then again for some different text, and so on. Once all the prompts are fulfilled, I would like them to be copied to the clipbaord in a certain format. for example,
…

idk
- 1
- 3
0
votes
0 answers
sorry, we couldn't find ABC.xism'. is it possible it was moved or deleted?
I have two files:
Listing Database Sheet PRO version quick - SCRAP3.xism
Copy of Listing Database Sheet PRO version quick - SCRAP - testing the script PRO19
Both are on my OneDrive folder.
As I don't need the SCRAP3 file, I want to move it to a…

Maxime Leclerc
- 1
- 1
0
votes
1 answer
"git branch" outputs result even when I'm inside an ".gitignored" folder
I'm trying to parse the branch I'm currently checked out into to my bash prompt. This is quite easy using the following bash function in your PS1:
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export…

Rodrigo Broggi
- 69
- 5
0
votes
1 answer
I don't know how to input through windows command prompt
I made a simple program on java:
public class HelloWorld {
public static void main(String[]args) {
System.out.print(" Hello World");
int n=Integer.parseInt(args[0]);
StdOut.println();
StdOut.print(n);
…
GEOMAZ
0
votes
2 answers
Prompting user for integer 2> and >9 in C
Really rookie question about C...
I want the user to enter a number between 2 and 9, and if they don't, the prompt repeats itself until an integer within my parameters is entered. I can get this to work with one parameter ie
int…

Steve Rose
- 3
- 2
0
votes
0 answers
SCCM - Accept a dialog box via command line to uninstall a simple MSI
I'm trying to uninstall a simple MSI via SCCM but when I start the command line, this message appears "Are you sure to uninstall this application ?" and I have the "Yes or No" choice.
I tried with this command line: msiexec /x…

Dev'Dev
- 245
- 1
- 4
- 9