A sessão de perguntas e respostas de hoje nos é oferecida por cortesia do SuperUser, uma subdivisão do Stack Exchange, um agrupamento de sites de perguntas e respostas conduzido pela comunidade.
A questão
Leitor de SuperUser Jason S quer saber como emular arrastar e soltar sem segurar o botão do mouse:
I am currently recovering from an upper back injury and finding that the drag and drop mouse action is irritating some of my upper back muscles. Moving the mouse cursor is not a problem, but keeping the button held down while moving it is (in reality, I use a track pad, but it is the same issue).
Is there anything for Windows 7 (like some kind of plugin software, for example) that I could use as an alternative or replacement for drag and drop that would work the same way? In other words, I could do something like Shift+Click and it would make the operating system think that the mouse button is still being held down until I click somewhere else? Like this:
- Shift+Click initiates “drag mode” (a MouseDown event)
- Moving the mouse in “drag mode” makes the operating system think the mouse button is still being held down
- Clicking again while in “drag mode” initiates a release (a MouseUp event)
Como você emula arrastar e soltar sem segurar o botão do mouse?
A resposta
Os colaboradores do SuperUser, Keltari e Hvd, têm a resposta para nós. Primeiro, Keltari:
Windows has a ClickLock feature that lets you highlight or drag items without continually holding the mouse button down. Go to the Control Panel, then Mouse Properties. Under the Buttons Tab, select Turn on ClickLock.
Once the feature is enabled, briefly press down and hold the mouse button for the desired items. To release them, briefly press down and hold the mouse button again. You can even change the length of time the button press needs under Settings once the ClickLock feature has been enabled.
Seguido pela resposta do hvd:
As an alternative to the other answers posted, you can turn on Mouse Keys. Mouse Keys lets you use the numeric keypad to control the mouse pointer and buttons. You can combine this with a real mouse or track pad so that you use the keypad to control the buttons, but a mouse or track pad to control positioning.
Alt+Shift+NumLock will open a dialog box asking if you want to turn on Mouse Keys. Once enabled, the numeric keypad’s / (forward slash) and – (dash) keys can be used to switch between the left and right mouse button, or * (star) for both. 0 (zero) will press and hold the mouse button and . (decimal) will release it.
Tem algo a acrescentar à explicação? Som desligado nos comentários. Quer ler mais respostas de outros usuários do Stack Exchange com experiência em tecnologia? Confira o tópico de discussão completo aqui.