Questions tagged [prompt]

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

2321 questions
0
votes
1 answer

Bring Terminal in the front with Ruby

I am using Ruby on a mac to open a dozen URLs one at a time with Nokogiri etc. For each URL I need to let my ruby program know whether to keep the URL window for further inspection or close it. But I cannot see the terminal window and its prompt,…
Anne G
  • 1
  • 2
0
votes
1 answer

Phonegap: Ask for permission again if denied first time

I'm using Phonegap cli-8.0.0 to build my app. When my app loads up for the first time it prompts the user with 2 permissions - location and notifications which is fine. Now if a user accidentally taps the wrong button and denies the plugin is there…
Max Thorley
  • 173
  • 1
  • 17
0
votes
0 answers

JHipster yeoman repeating prompt based on option selected

Suppose I want to prompt the user to select among a list of database options with "type checkbox": { type: 'checkbox', name: 'databaseType', message: `Which ${chalk.yellow('*type*')} of database(s) would you…
jche
  • 129
  • 2
  • 16
0
votes
1 answer

Can someone explain this line of zsh shell code for me please?

I am creating a custom zsh prompt based on this zsh theme https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/jonathan.zsh-theme but I'm having difficulty deciphering this line of code... local…
Paul Hale
  • 307
  • 4
  • 14
0
votes
1 answer

Command Prompt does not execute .py file correctly?

I use Adobe products (such as Premiere Pro/Photoshop) a lot and wanted to have Discord Rich Presence implementation. I found a very useful python script for this: https://github.com/smokes/adobe-rpc If I manually execute it (opens command prompt) it…
Magnum
  • 43
  • 6
0
votes
1 answer

vars_prompt not working in role - Ansible

I'm trying to automate hostname creation for 10x machines using ansible roles. What I want when executing playbook, as this wait for enter the user name manually. I tried with vars_prompt module for satisfying the requirement. But here for a…
user183980
  • 274
  • 3
  • 12
0
votes
1 answer

fish shell: unable to erase function

When trying to temporarily disable a fish_mode_prompt function: function get_input -a prompt var_name -d 'get user input and place it in var_name' functions -c fish_mode_prompt fish_mode_prompt_tmp functions -e fish_mode_prompt read --global…
Andrew Matthews
  • 3,006
  • 2
  • 29
  • 42
0
votes
1 answer

fish shell disable all prompts temporarily

I wanted to create a simple text entry system to provide input to a script. I created a helper function: function get_input -a prompt var_name -d 'get user input and place it in var_name' echo -n "$prompt" read --global $var_name echo…
Andrew Matthews
  • 3,006
  • 2
  • 29
  • 42
0
votes
1 answer

How can i get placeholder text from prompt via selenium java

I need to get the default value from prompt via selenium. If this is my prompt : prompt("Please enter your name:", "Harry Potter"); I want to get "Harry Potter" to my String I tried use this : alert.Text; But i get the first text "Please enter…
daniklo
  • 31
  • 1
  • 5
0
votes
0 answers

How to fix a looping prompt with a timeout implemented?

Modifying code that was shared here in order to make it loop, however on subsequent iterations, the code assumes the first input every time. Probably has to do with delayed expansion but I don't know how to fix it? @echo off setlocal…
servicecli
  • 95
  • 9
0
votes
2 answers

How to add multiple values via prompt to textarea without removing and changing other texts?

I created this fiddle so that you can see the struggle I have. My HTML