Questions tagged [ctrl]
Similar to the shift key, the control key is a modifier key that performs an advanced operation when pressed in conjunction with another key. An example would be Ctrl + Z which is a keyboard shortcut for Undo, a common shortcut in a Windows based environment.
264
questions
0
votes
0
answers
13
views
Jumping toward text of CTRL-F inside iframe (pdf) embedded in page (js)
for a project I'm working on I have extracted certain sentences from a pdf (uploaded by a user) and I now embedded this pdf inside my page:
<iframe seamless
id="PDFdisplay"
src=&...
0
votes
0
answers
34
views
C getchar() and EOF behavior [duplicate]
I am reading The C Programming Language (K & R) and playing with the code having some hard time understanding behavior of getchar() function and related EOF macro.
Environment: Windows 10 (Ctrl-Z ...
2
votes
1
answer
35
views
What signal is emitted when pressing CTRL+D in node:readline?
I've been trying to intercept CTRL+D so I can use it to represent 'document' for a CLI I am building. I have been unsuccessful identifying how to intercept it when using readline with keypress.
Is ...
0
votes
0
answers
38
views
Is there a way to perform ctrl + click using "execute_script" in Python Selenium?
In the specific web page, I need to click some element. The problem is that the element cannot be click with the regular 'element.click()' method. So, I need to click it with the 'driver....
0
votes
2
answers
310
views
I want to use ctrl+f command with search box
I want to use a search like Ctrl+F in Virtual Tour work. First of all, the address of this study is 360franke.com
I have a single index.html file. Almost all work,
<body>
<div id=&...
1
vote
2
answers
279
views
Flutter - actively check if special key (like ctrl) is pressed
Question: How to actively check if a certain (decoration) key is pressed, like CTRL or SHIFT, like:
if (SomeKeyboardRelatedService.isControlPressed()) {...}
background
I'd like to check if a certain (...
0
votes
1
answer
40
views
Trying to find a code that changes the control V function to paste as values
I need to change control V to always paste as values, when I use the below code;
Public Sub PasteValue()
Selection.PasteSpecial Paste:=xlPasteValues
End Sub
This works except when I try and use ...
0
votes
0
answers
79
views
How can I replace a CLICK in a <select> dropdown list with a CTRL+CLICK in Javascript?
A client wants a multi-select dropdown list that replaces the normal mouse click behavior with a CTRL+CLICK, as though the CTRL key is pressed while clicking the mouse. The client was warned that this ...
0
votes
0
answers
82
views
How to send Ctrl + / to the stdin in Linux via byte string in Python?
I know I can send b'\x03' to send CTRL + C to Linux but I don't know the code for CTRL + \. What resource covers CTRL + <key>?
By way of background, I am writing a small test script that ...
1
vote
2
answers
72
views
Ctrl+Backspace in VB6?
I use the following VB6 code to Ctrl+Backspace words, but it only works if the words are separated by spaces. I need it to work if the words are separated by any special character: . - #, etc.
Public ...
0
votes
3
answers
341
views
Event shift key in combination
I need undo and redo in javascript.
ctrl + z = undo
ctrl + shift + z = redo
In the code described below, undo works normally but redo does not work. I noticed if it is shift.key alon then it works, if ...
0
votes
1
answer
1k
views
Difference between Ctrl + Z and Ctrl + C
As per my understanding Ctrl+Z means EOF, isn't it? When Ctrl+Z is passed in as an input in the following program;
#include <stdio.h>
int main()
{
int a;
a = getchar();
if(a == EOF)
...
0
votes
1
answer
296
views
Swiching windows inside vmware with alt+tab not between vm and host
I'm using vmware. When I press "alt+tab" inside the vm, it switches to host.
How can I change it to switch windows inside the vm?
0
votes
1
answer
105
views
Cancel CTRL+C while system() is executing [C++]
How can I make CTRL+C not do anything when I'm currently doing system().
This is my code:
#include <iostream>
#include <functional>
#include <signal.h>
void noCTRLCCancel(int sig) {
...
0
votes
1
answer
435
views
VS code shortcut to toggle from code window to terminal in Mac OS Big Sur
What is the keyboard shortcut on VSCODE in MacBook to toggle between terminal and file or to say to open the VS CODE terminal?
In windows, the same works when CTRL + ~ is pressed but the same isn't ...
2
votes
1
answer
184
views
Close Browser's find (CTRL + F)
I am creating a script to register where users are making CTRF + F in my website.
For this I made a code that look every time the user is calling the browser's find and I push into an array the name ...
1
vote
1
answer
201
views
Can't detect state of Shift and Ctrl keys
I wrote a simple PyQt5 application that tries to detect the state of the Shift and Ctrl keys, checking at one second intervals. For reasons that I don't understand, the code consistently reports that ...
0
votes
1
answer
298
views
How to simulate ctrl+enter
I am building a win app that sends some pre-made messages to a chrome window (on a small chat window) button clicks.
I was able to do it, but now I want to simulate alt+enter when I click on a ...
1
vote
2
answers
472
views
How to allow Ctrl+A to select all in a Windows Form textbox (powershell)
I'm writing a .ps1 script with a windows forms GUI. When I run it from Powershell ISE, it allows the use of Ctrl+A to 'select all' in the text box. However when running the .ps1 outside of ISE, the ...
1
vote
0
answers
60
views
Ctrl+c is not working as expected in Install4j console mode
I am developing console mode installer for CentOS platform and facing issues while exiting script with Ctrl+C.
I have use following code in console handler.
console.println(string1);
console....
0
votes
1
answer
92
views
PostMessage send ctrl + key in background
I have this code but I don't know why it doesn't work, can anyone help me? I need to send ctrl + f to another application in the background
Imports System.Runtime.InteropServices
Public Class Form2
...
0
votes
0
answers
404
views
PDF CTRL + F function with Python
I am attempting to search a PDF file of its contents. The pdf files Im most interested in are construction sheets so they are not orderly like an essay email with words. However in a pdf viewer I am ...
2
votes
1
answer
213
views
CTRL + a in treeview widget - Python
Please help me with the idea to select all row at once using ctrl+a key in treeview widget tkinter python.Thank you.
import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cols = ('name','age')
...
0
votes
2
answers
321
views
vba excel macro to use adb
i'm trying to create a macro that allows me to take screenshot, video and retrieve them via adb.
using shell + line i can do almost everything, but i cannot stop recording.
the stop recording command ...
0
votes
1
answer
288
views
how to send Ctrl + G to another application?
I'm trying to send CTRL + G keys using InputSimulator with ForegroundWindow but it doesn't work. With other keys it works as expected, for example Ctrl + A or Ctrl + C
hotkeys menu options
I have ...
0
votes
2
answers
377
views
Send ctrl-c to break kubectl+sed output, reliable
When using sed to format kubectl log output, e.g. like this:
kubectl log mypod -f |sed -u 's/\\n/\n/g; s/\\t/\t/g'
Sending CTRL - C often doesn't break the command, when there is currently no output....
0
votes
0
answers
185
views
C++ Get ctrl-c and special keys to work to work when getting characters from users input on windows
I'm trying to make a program where users enter in information and the program reads it character by character. I'm trying to use SetConsoleMode to change the console. I understand that I need ...
-1
votes
1
answer
48
views
How to send the clipboard my own content after clicking ctrl+C using C#?
How can I replace the copied text on the clipboard with my own?
When I'm clicking CTRL+C, my clipboard still consists of marked text, but not with "Hello there".
if(Keyboard.IsKeyDown(Key.C) &&...
0
votes
0
answers
146
views
Press ctrl key programatically in javascript
Can someone please tell me how can I press ctrl key through javascript code? I want to press the ctrl key programaticaly, so that I can select multiple things from mouse clicks. So what i am trying to ...
0
votes
1
answer
528
views
How to use Ctrl+A in a MS-Access textbox in order to select all the text - standard module option
I found a solution that will allow me to use Ctrl+A combo in an Access textbox in order to select all of the text inside it.
This solution needs:
Set theForm.KeyPreview property to True
Add the ...
1
vote
0
answers
521
views
Can the right ctrl key be turned off in Windows 10?
At some point in the past my right ctrl key stopped working and now I cannot turn it back on again. I have an HP USB keyboard. I'm using Windows 10. I suspect it happened after I installed VMWare ...
-1
votes
1
answer
1k
views
handle ctrl+c in client-server socket in c programing
I wrote a telnet server in C programing language. Clients connect to the server using this command :
telnet *IP_Address*
I want when a client presses ctrl+c in its teminal, server closes the client ...
2
votes
1
answer
86
views
In Eclipse, cursor keeps jumping into the Console after clicking Ctrl+S
Having studied, these articles
Ctrl-S moves the cursor near the top of the document in Eclipse
Eclipse jumping to function name on Ctrl-S
I am still facing the issue that every time I hit Ctrl + S the ...
1
vote
1
answer
84
views
How to map ":f" to "1<c-g>"?
:f[ile] has similar feature as <c-g>. However, I want :f to print the full path of the current file which is 1<c-g>'s job. The following config doesn't work: nnoremap :f 1<c-g>, the ...
0
votes
1
answer
151
views
Detecting of keydown combination Ctrl+= (Ctrl+Key.OemPlus)
I have a RichTextBox control and I need to handle CTRL + = keydown combination. = sign itself is Key.OemPlus. So the problem is that when I press this combination, the KeyDown event is not raised.
I ...
1
vote
1
answer
933
views
How to create a report navigation in Power BI
I have created a home page with button and I want to navigate on next tab when click on button.
I am able to do it using Bookmarks the pages and Add Bookmarks in action of respective button.
For ...
0
votes
2
answers
117
views
Why can't I retrieve my program that was suspended from inside backticks?
I created a program that takes a list of arguments and put them in a grid on a new tty where I can move around and select from it what I want.
When I run the program without backticks like this...
$&...
1
vote
2
answers
520
views
Intellij: Change ctrl+space pop-up background
I updated my Intellij Idea, and when the ctrl+space suggestion bar came up it went to a very disgusting colour, I want to change it back to blue. Can anybody help where can I change the colour?
0
votes
2
answers
292
views
BASH - trap CTRL+C - Are you sure prompt doesn't always work
I've added the following to the top of my bash script:
quit() {
echo "Do you want to quit ? (y/n)"
read n
if [ "$n" = 'y' ]; then
exit
fi
}
trap quit INT
trap quit SIGINT
trap quit ...
0
votes
0
answers
347
views
Zoom page with jQuery same as Ctrl + mouse scroll
I am new to jQuery.
I am trying figure out whether I can solve a problem I have with jQuery.
What I want to do is simulate Ctrl + mouse scroll (page zoom) event via jQuery.
Can this be done with ...
0
votes
1
answer
78
views
Finding image via ctrl+f via Python
I have collected many unique JPEG files and compiled them into a single ~1000-page PDF file via Python. Each unique image occupies a single page within the PDF file.
Now, I would like to go back and ...
0
votes
1
answer
935
views
Block SIGINT from terminating program
I need some help on C program - it is a reverse shell (https://github.com/arturgontijo/remoteShell/blob/master/reverseShell.c) I made few changes, like put that all in a loop and some sleep pattern + ...
7
votes
1
answer
1k
views
Ctrl+C not working with gradle in Git Bash 2.20.1
Back in Windows 7, Ctrl+C worked fine for killing tasks such as gradle. On Windows 10, it does not. I upgraded to Git Bash 2.20.1, where it claims it is fixed (can't find a web link, the release notes ...
2
votes
1
answer
1k
views
ctrl + c kills user sqlplus connection
(Sorry for the long post, but this will help to give cleare picture)
DB: Oracle 12c
Host: Linux 6.10
Server Location: Chi and Boston
Recently we moved Oracle database to new server location in Boston ...
8
votes
3
answers
2k
views
VsCode - Bind keyboard-key to scroll horizontaly
Is there a way to bind a keyboard-key to scroll horizontally?
I tried many different things and I cannot seem to put it together.
0
votes
1
answer
715
views
Ctrl + R not working for running the program in Visual Studio
I have this program all of a sudden. I was coding fine in visual studio and i guess i pressed a combination which changed a setting. I always used ctrl + r to run the program, as soon as im ready to ...
0
votes
1
answer
97
views
Ctrl + Down in blank column hits ghost cell and stops?
I have a file that is csv and converted to excel. it is a data extract from a CRM application and it outputs ~ 90K lines.
When I use the Ctrl + Down to navigate to the last used range of the data, I ...
1
vote
1
answer
149
views
Retrieve CTRL + F Keyword
I'm trying to understand how many users click CTRL+F with jquery script but I want to go deeper and understand which keyword they put into the browser box dialog (or which is highligthed in the web ...
61
votes
25
answers
72k
views
In Visual Studio Code Ctrl+V is not working
In Visual Studio Code Ctrl+V is not working on editor.
However from the command palette Ctrl+Shift+V is working.
0
votes
1
answer
613
views
How to catch ctrl+v?
I am writing a keylogger (for educational purposes).
I am trying to copy what will be in the clipboard and write it to a file in case Ctrl+V is pressed. I found out that it's abbreviation is 'SYN' but ...