Questions tagged [right-click]
A right-click is pressing the right or secondary button on a mouse.
693
questions
-1
votes
1
answer
43
views
Open pdf in new tab with right click option ' open in new tab'
function showPDF(pdfUrl) {
var iframe = document.getElementById("pdfFrame");
iframe.style.display = "block";
iframe.src = pdfUrl;
document.getElementById("...
0
votes
0
answers
25
views
I'm having trouble copying from Jupyter notebooks using the mouse. What can I do?
I can't copy from the jupyter-notebook by right-clicking the mouse and then clicking copy. I am able to use the keyboard to copy from the jupyter-notebook, but not with the mouse.
Thanks in advance.
I ...
1
vote
2
answers
41
views
How to place imageview on the right end in the linear layout horizontal orientation
Code:(Image Attached)I am using LinearLayout and
gravity and weight is not working for me in this case.[![enter image description here][1]][1]
I want to place heart icon at the right end of the row. ...
1
vote
1
answer
73
views
MFC: How to detect right-click on popup menu item?
In a CMenu menu, WM_MENURBUTTONUP is only fired when the right mouse button is released while the mouse pointer is over a normal menu item (MF_STRING), but not if it's over a popup menu item (MF_POPUP)...
0
votes
1
answer
112
views
How to context click within the canvas and select the context menu with text Remove indicators within tradingview.com using Selenium in Python
I am scraping Tradingview.com and I'm trying to get my code to right click on the chart but it can't do it.
This is my code:
# import modules
import time
from selenium import webdriver
from selenium....
0
votes
1
answer
82
views
Get rid of "Show Context Actions" in PhpStorm
Is there any way to get rid of this thing:
And force PhpStorm to actually show the error / problem directly, after single right-click?
It drives me crazy that I have to click underlined item and then ...
0
votes
0
answers
216
views
Win 11 how to add vs code to right click menu after instalation
No right click vs code menu after right click
Press Win + R
Type regedit into Run’s Open text box
go to HKEY_CLASSES_ROOT\Directory\Background\shell\vs_code\command
make new key vs_code
icon to (your ...
0
votes
0
answers
305
views
download video from right click disabled website on Xvast Browser
I want to download video from a right click disabled website on xvast browser.
Inspect element doesn't appear by pressing "F12 key" or "ctrl+shift+I"
Extension doesn't work on ...
0
votes
0
answers
25
views
How to disabled right click in ifarme?
i am using iframe and using those properties style="pointer-events:none;" oncontextmenu="return false" but its not for pdf than why saying for Iframe, which is working fine.
style=&...
0
votes
0
answers
41
views
Disabled right-click, three.js
I made a website using react.js but somewhere in the process, the right-click was disabled. I noticed that first when I used three.js to add a 3d model as a glb file. I don't have much experience with ...
0
votes
0
answers
48
views
How to add add option to dev tools right click menu
Saw this was raised a while ago (link) but haven't seen anything since.
As part of my job I am constantly copying elements, attributes and text to build selectors and then testing it inside a function ...
3
votes
0
answers
384
views
Customise windows 11 context menu
I want to add an option in windows 11 context menu but not in show more option submenu , it should added to the main context menu . I don't want to use the classic windows 10 context menu.
I tried ...
0
votes
1
answer
91
views
JavaScript: Custom Widget with Default Context Menu
I have created a custom button/widget for opening links. But it doesn't have the context menu options that a regular hyperlink has.
css:
span.button {
display: inline-block;
border: solid;
...
0
votes
1
answer
94
views
Select MS-Access Record On Right Click
I have a form called "DetailedCalendar" with the default View "Continuous Forms".
The issue I'm having is that when I Right Click on a record, the context menu appears for the ...
-2
votes
1
answer
37
views
How to find item in wpf listview after second right-click?
Certainly something I don't understand but I hope you could help me.
I have a wpf list view defined like this :
<ListView x:Name="listviewPlugins" ItemContainerStyle="{StaticResource ...
0
votes
0
answers
166
views
Chromium (or Firefox) extension for right clicking and downloading media
I am trying to implement this in a chromium extension:
On start of browser:
Create an event listener for right click events on the document
When a right click event is triggered:
Prevent the ...
0
votes
0
answers
109
views
Global and dynamic context menu
I have an application which uses a lot (~1000) little components which all have a context menu associated running on Vaadin 23.
This creates a huge amount of data transfered from the server to the ...
4
votes
1
answer
3k
views
Add "Open with Visual Studio Code" shortcut to right click menu
Step 1: Open Run and Access the Registry Editor
Step 2: Navigate to the Following Directory in the Registry Editor
Computer\HKEY_CLASSES_ROOT\Directory\Background\shell
Step 3: Create a New Key
...
0
votes
1
answer
159
views
How to Perform rightClick on an element using WebDriverIO?
I tried Keys and rightClick() option.
Was getting ReferenceError: Key is not defined error with await browser.keys([Key.shift,'F10'])
and, seeing error TypeError: elem[prop] is not a function with *...
1
vote
1
answer
382
views
+50
Prevent Visual Studio Code from opening up when Open in Terminal option is selected
When I right click on a folder in the path bar and select the Open in Terminal option a VS Code window pops up instead of the classical terminal window. If I delete VS Code then the action is ...
0
votes
0
answers
51
views
Python selenium right-clicking wrong elements
I am writing a program that answers questions from a database. I am currently on the last question type (ordering questions). Here is an image of what the question looks like. The user needs to put ...
1
vote
1
answer
167
views
How to get out of a context click in python selenium?
This has been asked before here: How to hide context click? Selenium Chromedriver
But none of the solutions there have worked for me. There is an element on my webpage that requires a right-click to ...
0
votes
1
answer
73
views
Adding custom option in the right click menu through chromium Chrome Session C#
I want to create my own option in the context menu that appears on right clicking anywhere on the chrome browser.
I tried looking into solutions and this one so far seems to have the answer to my ...
0
votes
0
answers
32
views
Why does left clicking a button run the function for right clicking a button? Python, tkinter
I'm trying to make a simple version of minesweeper using python. I have two functions, one for left clicking a button, to reveal the amount of bombs touching that button or if its a bomb, and another ...
1
vote
1
answer
43
views
How do I make a function triggered by pressing right click?
I'm working on a game involving turtle for a school project and I want to end it when the player right clicks on anything but I've been researching for ages and I can't find how to key bind a right ...
-1
votes
1
answer
494
views
Disabling right click brave browser
I am trying to disable right click on my website. I tried with:
<body oncontextmenu="return false">
But it doesn't work in Brave browsers, in other browsers it look to work. Does ...
0
votes
1
answer
423
views
How to automatically right click on YouTube for "stats for nerds" using chrome extension?
I'm developing a Chrome Extension which blocks the ads & get the Ad Video ID.
But I'm facing a problem that to do all of that I've to right click on video for menu & click on "stats for ...
1
vote
2
answers
1k
views
vscode interesting undocumented feature
I got an interesting feature from vscode, but did not retrieved how I had it:
from the windows explorer, while trying an opening of vs code for a file with a right click, I put inadvertendly my hand ...
1
vote
1
answer
193
views
right click menu from a button in kivy
I'm trying to get a right click menu to appear by right clicking a button, while still allowing left click to do something else.
Main.py
from kivy.config import Config
Config.set('input', 'mouse', '...
0
votes
0
answers
30
views
Where does the "Set Working Directory" feature in RStudio come from ? Does it come from Rstudio or is it from an add-in?
I have just noticed that one can set the working directory with a right-click on the tab of a .R file in Rstudio.
Is this a new feature of RStudio or does it come from an add-in (added when ...
0
votes
1
answer
216
views
Adding a command to the right click menu in Windows using Python
My question is, how to add a command to the right click menu using Python.
Note that this application is for Windows.
I need to add the command here -
7
votes
1
answer
1k
views
how to remove items from right click context menu in Visual Studio Code?
Currently, my right click context menu looks like this
It is too long. Many items I don't ever use. Can I remove some items from the menu?
Thank you.
0
votes
2
answers
1k
views
Exe file generated from python script executed on a folder when the folder is right-clicked on
I'm somewhat new with with Python, so hopefully my question is not entirely wrong. I have a python script, which scans the files inside a folder, and renames some of them based on a criteria. Like ...
3
votes
2
answers
2k
views
Windows 11 add custom buton on new context menu (right click menu)
On Windows 10, I had created a button in the menu that called a python script (see project). I had managed to do this by modifying values in the registry editor.
My button still appears on Windows 11 ...
1
vote
2
answers
1k
views
Access custom right-click menus
I have written an app that makes extensive use of custom right-click menus on an Access form. The code works great and the user loves it, but lately I am having trouble making it work properly.
In ...
0
votes
0
answers
404
views
CreatePopupMenu for windows 11
I checked windows 11 has a new style of menu items which looks like this
Please note
It has an icon row on top
What modification are required in usage of CreatePopupMenu function (winuser.h) for ...
1
vote
0
answers
275
views
How to handle right click to show context menu and edit row in angular using mat table?
I want to edit Table row in angular material table at the same time I need an contextmenu in the same row without interrupting the edit actions
0
votes
1
answer
245
views
Adding Keybinds to Windows10 Right-Click Context Menu?
I work at a Japanese company and we all use Windows 10. I am used to using keybinds after rightclicking for a pop up Context Menu. At home, my PC does not show any keybind options when I do the same ...
14
votes
2
answers
4k
views
right click context menu in vs code executes immediately
When I right click in the editor, vs code executes whatever menu item the cursor happens to be over. It happens far too fast for me to make my actual choice known.
I have already spent 30 minutes ...
1
vote
0
answers
684
views
How to 'Right click' or 'Context click' on an element in Karate UI
I have a situation where I have to right click on an element in Karate framework. I discovered that there is no direct facility to do so.
Is there any other way of doing that without the help of ...
0
votes
1
answer
537
views
Right-click options disappear on Dev-tool inspect mode chrome browser
Right-click options disappear Dev-tool inspect mode chrome browser and they are not shown on Dev-tool browser. I have installed some chrome extensions and developed one recently. Besides, google ...
1
vote
1
answer
737
views
How to make the Keyboard module detect if a right click was made
I have tried to search google and other websites such as GitHub but I cant find a way to detect if the right key has been pressed. I am using the two modules Keyboard and Pyautogui to make a auto ...
0
votes
1
answer
704
views
How to customise or disable right click menu on offline plotly plot?
I am creating an offline plotly plot in a similar manner as this code:
from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.QtWidgets import QApplication, QMainWindow
import plotly....
1
vote
0
answers
118
views
Access right-click menu in optimization process
I'm using an .exe program in Windows 10 (Poisson Superfish), which requires the user to right-click a file (and choose "Run Poisson") to run the solver, and then right click again (and ...
0
votes
1
answer
992
views
How can i add my program to the right click context menu and pass it's path
I'm looking for a way to add my program to the right-click context menu and when I click my program from there it will receive the path of the file
we can use this code as the program that would run ...
1
vote
0
answers
378
views
How to add a custom program to WIndows 10 right-click context menu and pass highlighted text to it?
So I would like to create a simple word counter program with Python and add it to the Windows 10 context menu which opens when you right-click something. My goal is to then be able to highlight some ...
2
votes
1
answer
1k
views
VBA: right click in user form
is there an easy way to enable the right click pop up menu in a text box in a user form in vba, excel? Im just trying to paste into a textbox but cant open the menu on right click in a user form
my ...
0
votes
1
answer
282
views
Right click in listview in order for contextmenustrip to be shown , but the popup menu is appearing in an irrelevant point of the screen
Using the above vb.net code i have managed to show a popup contextmenustrip when i right click a selected item of a listview.
Private Sub ListViewResults_MouseUp(sender As Object, e As MouseEventArgs) ...
0
votes
1
answer
3k
views
Custom right click for anchor tag to open link in new tab
I have below code to open specific right click menu for <a> element.
On whichever link i right click and click to open in new tab it opens the 1st link only.
There is something to do with ...
2
votes
1
answer
251
views
how to capture event when right clicking on tab using winforms in powershell
I want to fire an event when right clicking on a tab, not the contents displayed by the tab, but the tabs themselves.
So far, I have tried using the selected event for the tabcontrol:
$maintab....