![]() The reverse translation was already done when calling COM methods in previous versions These values are now translated automatically instead of being wrapped in an object. ![]() IDispatch allows omitting parameters by specifying a VARIANT of type VT_ERROR with value DISP_E_PARAMNOTFOUND. Added support for omitting parameters in incoming COM calls. Instead of receiving a ComObject wrapper with the VT_BYREF|VT_VARIANT variant type, the script receives a temporary variable compatible with a normal ByRef parameter Added support for ByRef VARIANT in incoming COM calls. Both the script invoking the object and the object itself must be running a supported AutoHotkey version Added support for two-variable enumerators (for-loops) with IDispatch-wrapped AutoHotkey objects. Integers in the 32-bit range are still passed as VT_I4 Changed COM method and property calls to pass large integers as VT_I8, not VT_R8 (floating-point), so the original type and precision is retained. It is still necessary to meet certain conditions before any such attempt can be made. Fixed an issue where any attempt to reinstall the keyboard or mouse hook would fail if the OS had automatically uninstalled the hook. Fixed MouseGetPos, ControlClick, ContextMenu Gui events and DropFile Gui events erroneously detecting a control at a specific point which actually lies one pixel below or to the right of the control. ![]() Fixed hotstrings to use the Last Found Window set by #If This was likely to occur only if another keyboard hook was installed more recently than the script's own hook, since in that case the OS would not update key state until the other hook's thread has resumed and returned. If a modifier hotkey such as ~*RWin:: called Send or GetKeyState too soon, the OS could report that RWin isn't down, so the hook's modifier state would be "corrected" and hotkeys would wrongly fire or fail to fire. Fixed an issue with hotkeys not firing due to a race condition.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |