-
-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need an option to define custom action when double clicking on a Image #991
Comments
Mickey Nmickeysworkemail@gmail.com Apr 19, 2021, 10:17:32 PM (2 days ago) |
v9.0 beta 2 adds support for mouse action customization with this setting: Example 1:Left double-click to open image location and exit the app: // in igconfig.json file
"MouseClickActions": {
"LeftDoubleClick": {
"ToggleOn": {
"Executable": "IG_OpenLocation",
// action can be chained
"NextAction": {
"Executable": "IG_Exit",
}
}
}
}, Example 2:
// in igconfig.json file
"MouseClickActions": {
"RightDoubleClick": {
// first click to set zoom to 100%
"ToggleOn": {
"Executable": "IG_SetZoom",
"Arguments": "1"
},
// second click to set zoom value to Auto zoom's value
"ToggleOff": {
"Executable": "IG_SetZoomMode",
"Arguments": "AutoZoom"
}
}
}, Example 3:
// in igconfig.json file
"MouseClickActions": {
"LeftDoubleClick": {
"ToggleOn": {
"Executable": "MnuFullScreen",
"Arguments": "",
"NextAction": {
"Executable": "IG_ToggleToolbar",
"Arguments": false
}
},
"ToggleOff": {
"Executable": "MnuFullScreen",
"NextAction": {
"Executable": "IG_ToggleToolbar",
"Arguments": true
}
}
}
}, The
|
public enum MouseClickEvent | |
{ | |
LeftClick = 1, | |
LeftDoubleClick = 2, | |
RightClick = 3, | |
RightDoubleClick = 4, | |
XButton1Click = 5, | |
XButton1DoubleClick = 6, | |
XButton2Click = 7, | |
XButton2DoubleClick = 8, | |
WheelClick = 9, | |
WheelDoubleClick = 10, | |
} |
In setting we can define what to do when we scroll the wheel but nothing to define what to do when we double click on the image. Personally I would like to define an option like : "open image location & close ImageGlass" when I double click on the image (instead of the actual behavior to set the image at full size).
The text was updated successfully, but these errors were encountered: