by Brother Gabriel-Marie (Posted Fri May 20, 2016 2:38 pm)
XnView Classic did not use the QT components, so you could use WinSpy++ to fetch the class name of objects in the window.
So I wrote a script in Autohotkey that would:
Change the Sort Mode to Date by sending alt+commands to the menubar
and then scroll to the bottom of the list
Then I attached this script to a command button and put it in XnView's toolbar.
However, I can't do this with MP because MP is just one big class - I can't get a class name for the browser list.
Also, not all the items in the menus have alt-keys associated with them. (the main bar does - like alt+v opens the view menu).
Also, when I point MP's custom command to my script, I have to choose the * filter to get the script. It accepts it, but MP won't run the script because it isn't itself an executable.
With Classic I was able to run any script I wanted just fine.
Here's what I wish for:
1. MP to run a .ahk file or .vb file, etc normally.
2. MP to allow you to send regular MP commands to it (either by commandline or by providing a hidden window where folks like me could setText and in this way control MP from an external program) I can talk more about this if you are interested.
3. allow for the custom command to accept parameters
Read Main Topic
XnView Classic did not use the QT components, so you could use WinSpy++ to fetch the class name of objects in the window.
So I wrote a script in Autohotkey that would:
Change the Sort Mode to Date by sending alt+commands to the menubar
and then scroll to the bottom of the list
Then I attached this script to a command button and put it in XnView's toolbar.
However, I can't do this with MP because MP is just one big class - I can't get a class name for the browser list.
Also, not all the items in the menus have alt-keys associated with them. (the main bar does - like alt+v opens the view menu).
Also, when I point MP's custom command to my script, I have to choose the * filter to get the script. It accepts it, but MP won't run the script because it isn't itself an executable.
With Classic I was able to run any script I wanted just fine.
Here's what I wish for:
1. MP to run a .ahk file or .vb file, etc normally.
2. MP to allow you to send regular MP commands to it (either by commandline or by providing a hidden window where folks like me could setText and in this way control MP from an external program) I can talk more about this if you are interested.
3. allow for the custom command to accept parameters
Read Main Topic