ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

mouse/key associations

(1/2) > >>

kalos:
hello

I would like to associate right/left mouse clicks with specific actions

eg:

right click on recycle bin = empty recycle bin (context menu should be blocked and only appear if I press for instance ctrl+right.click)

right click link in the browser = open link in new background tab (context menu should be blocked and only appear if I press ctrl+right.click)

right click on image in a webpage (image that is not at the same time a link) = save image (context menu should be blocked and only appear if I press ctrl+right.click)

double click on an empty space in a folder = create new folder

also, mouse gestures would be nice, especially to be able to associate drag-n-drop of the mouse with some actions

is it possible?

thanks

kalos:
anyone please?

mouser:
it's really not a bad idea, sounds like something for an autohotkey coding snack, we should move it to the pending requests section of coding snacks.

jgpaiva:
I was expecting someone to answer this request, as i think ahk can't be much of an assistence in most of this situations.
You see, it'd need the script to recognize exactly what is under the mouse at that given moment and the stuff you mentioned is quite hard to recognize.
Other than recognizing the active window and control, ahk can't help much. Doing the stuff you asked for would need link identifying, icon identifying and image identifying.
I can't help with this coding snack, but i definitelly hope someone will be able to solve it!!

kalos:
thanks for your reply

can autoit do it? is there any way it can be done?

Navigation

[0] Message Index

[#] Next page

Go to full version