COLAB, verification/accept issue - input

I need your help with colab, not receiving inputs like (y, yes) or (n, no), in which is necessary to continue my work. You see, the thing is, I want to be able to answer questions like (yes) and then press (enter), but its not accepting any other inputs.
Please help me - I really want to know how to do this.
Here is an example of the output:
(do you want to allow root access? (y/n):
but then I enter y and press Enter and still get no result, it does not receive the "Enter" keypress.

Related

Questionnaire list q&a in word

I'm a typer in a Justice court. All the time topping Q and then the question. Then Enter and then A for answer.
I thought: why isn't there a way to automatically write those, just like when you write 1. and it automatically adds 2 when you press Enter?
Bottom line: I want to be able to have automatically written Q when I press Enter, and the next time I press Enter I'll have A written automatically.
Thank you to everyone in advance!! (First time I use stack overflow :D )

how to change colour of the text entered in label as we enter the desired regular expression in password text field?

I am new to objective C and I dont know if this can be done without any library or not but if yes kindly let me know...
I have a view in which I have added a button & textfield with some character like "A b # 1 6". Here I need to change the color of characters as I enter the password.
I mean to say when I enter T color or 'A' changes, p is pressed 'b' color changes and so on if I enter special character that color changes and minimum lenth is 6 so when I enter 6 character color of 6 changes.
I tried it with using regular expression but i need this functionality.
for refrence I am adding Image.
I have updated my code instead of labels I have taken Buttons to show the changes. Here is my code:
Now I want to know when user delete character from textfield the color should get back to normal color. I mean if user deletes "A" then button roundButtonCapital should change to normal button.
I hope I am clear. Please let me know if any doubt.
https://drive.google.com/file/d/0B3EymICOjqeNM01zcEQ4eUN0eUk/view?usp=sharing
Now I want to know when user delete character from textfield the color should get back to normal color.
At a guess when checking the user input you are only setting the color if the particular condition - uppercase, length, etc. - is met. You should always set the color, to the "passed" color if the condition is met and to the normal color if it is not. Do this on every change to the user input, addition or deletion, and your indicators will always be correct.
Note: You did not edit your question to include minimal code fragments, posting a link to a file is no substitute for this. You need to isolate the problem, which is what you should be doing anyway in trying to solve it, show the code for that issue in the question.
In this case you maybe could have include the code for a particular test - uppercase, digit, etc. - and explain what it was doing right and what didn't work. Maybe here because I don't know my answer is correct, it is a guess - to be sure I'd have to scroll through in detail 5 pages of code on a tablet I'm currently typing this on, essentially debug your code and that is not what Stack Overflow is here for.
You have help people help you, and show you've put effort in, or people just won't be willing to put in effort to help you.
That said, I hope the guess helps, and stick with SO asking and answering questions!

IntelliJ v14, how to bring up a method parameters information via keyboard or mouse input?

I really like how IntelliJ displays the information of the type of parameters that you are required to fill in as you are writing the code. The problem is that this info sometimes disappears if u click somewhere to check something etc. I never quite know how to get it to display that information again in same fashion. So I always spend some time to fiddle around until it displays that info again in the same fashion. I know you can hold down on ctrl and hover over the method name to bring up parameters information but its not quite the same and it then does not highlight on what parameter you are currently on. IntelliJ also brings up required parameters type of information when you are starting to go wrong. It brings up this big separate box and you can get very clear view of what needs to be done. I've taken a screenshot of the type of information that I'm on about. Both of them are on the same pic.
Please check it out.
My question: is there a way to bring this information up via keystrokes or mouse input at will? I've tried to google for an answer but I haven't had any joy. Please advise as I'm sure someone else might like this information too.
Thank you.
PS. I know that a good code does not usually have that many parameters but in my case there is not much that can be done.
Default shortcut for that is CTRL-P when cursor is inside the brackets.

VB.net Click on a certain coordinate

i'm making a windows application that would open a program and click on certain coordinates, first i need to know how to get a coordinate, which i already know, but how do I let my mouse click on a certain position? Simply it would be somthing like mouse.Click(coordinate). I don't know, could anyone help?
Regards
I tried putting this as a comment, but SO wouldn't put the comment up after I typed it, so I had to put what I had as an answer.
Here are two links that might have what you're looking to do: http://social.msdn.microsoft.com/Forums/vstudio/en-US/7b68f005-1d09-4085-b236-b05797df3bf0/how-to-make-the-mouse-click
and
http://social.msdn.microsoft.com/Forums/vstudio/en-US/a2518c35-ed77-42b3-a9c4-705238d714c2/mouse-click
And if you just want to click a button, you could use
button.Performclick()
But I don't think that there's any simple way (such as Mouse.Click()) to make the mouse click anywhere.
HTH

Speech to text automatically starts when textfield begins to edit

I don't know the specific name for this button, but it is the one with the microphone that when you press it, it allows you to speak, and it will convert your speech into text.
I haven't been able to find anything on this, but when I click to edit a textfield I want that button to be pressed automatically so I can just begin to speak and then click done so that it will convert the audio to text.
I don't know if this is possible and can't seem to find anything on it... Probably because my search is weak since I have no idea how to ask it.
If anyone knows how to do this, or knows where there is anything on it, I would appreciate it greatly.
You cannot do that.
That is a part of Siri.
Till now Apple not provided any api to interact with siri.