05-31-2009, 10:34 AM
Hi Gintaras
Sorry I'm a bit slow to pick this up. I've:
- Created a function called Paste_in_console
- Pasted in the code:
;/
function# iid FILTER&f
if(wintest(f.hwnd "" "ConsoleWindowClass"))
,PostMessage f.hwnd WM_SYSCOMMAND 65521 0
,ret -1
ret -2
- Set the keyboard hotkey to Ctrl+V, with Eat ticked.
- Ticked "This function is a filter function" in function properties.
My experience with the following setup is that pressing Ctrl-V does nothing in any window.
When I remove the first line (;/) in the function and press Ctrl-V in any window, I get the error: Error (RT) in "Paste_in_console /26"oPaste_in_console: invalid pointer
I am using QM 2.3.0.2
Regards,
John
Sorry I'm a bit slow to pick this up. I've:
- Created a function called Paste_in_console
- Pasted in the code:
;/
function# iid FILTER&f
if(wintest(f.hwnd "" "ConsoleWindowClass"))
,PostMessage f.hwnd WM_SYSCOMMAND 65521 0
,ret -1
ret -2
- Set the keyboard hotkey to Ctrl+V, with Eat ticked.
- Ticked "This function is a filter function" in function properties.
My experience with the following setup is that pressing Ctrl-V does nothing in any window.
When I remove the first line (;/) in the function and press Ctrl-V in any window, I get the error: Error (RT) in "Paste_in_console /26"oPaste_in_console: invalid pointer
I am using QM 2.3.0.2
Regards,
John
