INNER CODE UNIT · Python

set_send_mode

spyoungtech/ahk · ahk/_async/engine.py:344

    async def set_send_mode(self, mode: SendMode) -> None:
        """
        Analog for `SendMode <https://www.autohotkey.com/docs/v1/lib/SendMode.htm>`_
        """
        args = [str(mode)]
        await self._transport.function_call('AHKSetSendMode', args)
        return None

    async def get_send_mode(self) -> str:
        resp = await self._transport.function_call('AHKGetSendMode')
        return resp

    # fmt: off
    @overload
    async def control_click(self, button: Literal['L', 'R', 'M', 'LEFT', 'RIGHT', 'MIDDLE'] = 'L', click_count: int = 1, options: str = '', control: str = '', title: str = '', text: str = '', exclude_title: str = '', exclude_text: str = '', *, title_match_mode: Optional[TitleMatchMode] = None, detect_hidden_windows: Optional[bool] = None) -> None: ...
    @overload
    async def control_click(self, button: Literal['L', 'R', 'M', 'LEFT', 'RIGHT', 'MIDDLE'] = 'L', click_count: int = 1, options: str = '', control: str = '', title: str = '', text: str = '', exclude_title: str = '', exclude_text: str = '', *, title_match_mode: Optional[TitleMatchMode] = None, detect_hidden_windows: Optional[bool] = None, blocking: Literal[False]) -> AsyncFutureResult[None]: ...
    @overload

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…