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
2 answers
Make javascript prompt text read only
I have a prompt containing a url, however I would like to ensure that this text cannot be manipulated (changed, scripts injected, etc.). Would making this text "readonly" solve this problem? I'll post my code below, thank you!
Html
user9318798
0
votes
1 answer
How to use a date range in a Cognos SQL Prompt Query
I'm using a prompt query in Cognos to allow users to filter based on the past X number of days from the current date. How do I format the query for Teradata?
I've tried with and without "#sq" in my code and with and without "integer"as the format.…

Felicia Stewart
- 1
- 1
0
votes
1 answer
Modifying an existing jar file through command prompt
I'm trying to modify an existing class file in my JAR file through command prompt
I've used the following command:
jar uf
where class-file-name is the modified class file.
I expected the class to be overwritten with the contents of the modified…

TRV
- 17
- 1
- 6
0
votes
2 answers
try..except in interactive Windbg Python session throws me out of the Python session
I'm working with PYKD, doing dump analysis. The PYKD library is used in the heap_stat script, and I'd like to use PYKD library in a more interactive way, like this:
Windbg prompt>!py
Input>dbgCommand("x /2 *!CStringArray*vftable*")
This is working…

Dominique
- 16,450
- 15
- 56
- 112
0
votes
0 answers
Running a Visual Studio console application in the IDE differs from running it from the command prompt
I'm writting a c# console app that displays a list of items. The user can then navigate through the items and the screen as redrawn appropriately to display the cursor. This runs prefectly within the IDE and when i double click the built .exe.…

Angelo Mateus
- 1
- 1
0
votes
3 answers
How to insert information gathered by prompts in several different functions to display in a Div element in JavaScript?
I am trying to gather information from a user by prompts that are each in their own functions. Each of these own functions work by themselves as I have tested them. Next I am trying to display the information in a Div using the function…

Aj96
- 187
- 8
0
votes
2 answers
Prevent Bash from printing characters that were typed while before Bash fully loaded
Anyone with a complex .bashrc file has probably encountered this. If you type anything while Bash is loading, the characters you typed are printed both to the left and to the right of the prompt once it has loaded.
For example...
Steps to…

John Karahalis
- 3,369
- 2
- 15
- 20
0
votes
1 answer
Is the a way to disable the OK button until the User has inputted some text?
I need to be able to disable the OK button in Google Scripts until the User has input text into the prompt. Is there a way to do this?
Have tried to use the following code but it just aborts the process.
var ui = SpreadsheetApp.getUi();
var…

Robert Hall
- 191
- 3
- 11
0
votes
1 answer
Rails 3 - Forms - Jquery :remote make duplicates and prompts 2x?
Hi
Im working with a form and have added :remote => true to the form and the destroy link. But when I do that this happends:
I submit the form and it makes 2 versions that are the same.
I destroy, I get prompted twice?
If i remove the :remote =>…

Philip
- 6,827
- 13
- 75
- 104
0
votes
1 answer
PWA manifest loads but I cant get a install prompt
I managed to get my PWA to complete all the chrome dev tools tests but I still cannot get an install prompt to fire.
www.billtravis.net/pwa/
from what I've seen everywhere the install prompt should fire when the manifest loads before the service…

Bill Travis
- 1
- 2
0
votes
2 answers
How does isNaN verify the value of Prompt returning only string in this code?
As far as I know, Prompt returns only String type of value. Then, how does the below code work properly?
var a = prompt('Number or String? Verify now!');
if(!isNaN(a)){
alert('This is number.');
}
else alert('This is string.')
0
votes
1 answer
Text shatters after pressing up arrow and changing bash prompt
So I recently decided to change my bash prompt and I have a problem. After pressing up arrow a few times so I don't have to write the command I used like a minute ago the command suddenly breaks the whole prompt and the characters are randomly…

TweeZed
- 55
- 1
- 8
0
votes
0 answers
Command Line DIR to Excel Sheet by VBA
From excel VBA, how would I run the command prompt:
dir /a /s /b > FileList.xls
It should accept a directory variable from 'MSO Folder Picker', so that the user may select a directory to spill the contents onto a worksheet in the active workbook.
I…

BadDogTitan
- 103
- 1
- 9
0
votes
0 answers
How to store user input as a variable in an async function in node.js
Basically I am looking for a substitute to var x = prompt("Question") inside of an asynchronous function specifically for node.js. Does such a thing exist? I have tried dependencies such as inquirer but I am getting unhandled promise rejection…
0
votes
1 answer
java execute command prompt problem
public class CmdExec {
public static void main(String argv[]) {
try {
Runtime rt = Runtime.getRuntime();
StreamWrapper error, output;
String TEMP = "/output:C:\\InstallList.txt…

Hemant
- 1
- 2