peterthisted
03-25-2010, 07:57 AM
Arms are up :D
I was trying to find a way to click a button in one of those panel windows you do not
wish to have open when flying VC. Using the Keyboard that is........
I think it is possible to do using calls of some kind but I find it very difficult.
So why not make the window transparent when the button press should occur.
The free app "AutoHotKey" can do just that, and in a very simple way
ex. the code line ....... "WinSet, Transparent, 200, Untitled - Notepad"
will make the window transparent.
But set the value to 1 (instead of 200) you cannot find the window at all :shock:
However I did a little testing, and it is possible still to make a mouse down event in the window.
So, the plan is to make this script for a button press that do not have a key shortcut and cannot be interfaced via fsfuipc or otherwise.
1. Open the Panel window and fix the size (can be done with AutoHotkey )
2. Pre-define all the clickspots that you want (xy-coordinates relative to the window itself, therefore the fixed size)
3. Add a keyboard shortcut to the clickspots
4. Make the window transparent
5. When a key is used, make the window front most before the mouse-xy-down.
6. Make FSX main window front again
I am not sure 5. and 6. are needed, but haven't tested.
re. Peter
I was trying to find a way to click a button in one of those panel windows you do not
wish to have open when flying VC. Using the Keyboard that is........
I think it is possible to do using calls of some kind but I find it very difficult.
So why not make the window transparent when the button press should occur.
The free app "AutoHotKey" can do just that, and in a very simple way
ex. the code line ....... "WinSet, Transparent, 200, Untitled - Notepad"
will make the window transparent.
But set the value to 1 (instead of 200) you cannot find the window at all :shock:
However I did a little testing, and it is possible still to make a mouse down event in the window.
So, the plan is to make this script for a button press that do not have a key shortcut and cannot be interfaced via fsfuipc or otherwise.
1. Open the Panel window and fix the size (can be done with AutoHotkey )
2. Pre-define all the clickspots that you want (xy-coordinates relative to the window itself, therefore the fixed size)
3. Add a keyboard shortcut to the clickspots
4. Make the window transparent
5. When a key is used, make the window front most before the mouse-xy-down.
6. Make FSX main window front again
I am not sure 5. and 6. are needed, but haven't tested.
re. Peter