def reg_read(
        self, key_name: str, value_name: Optional[str] = None, *, blocking: bool = True
    ) -> Union[str, FutureResult[str]]:
        """
        Analog for `RegRead <https://www.autohotkey.com/docs/commands/RegRead.htm>`_
        """
        args = [key_name]
        if value_name is not None:
            args.append(value_name)
        else:
            args.append('')
        return self._transport.function_call('AHKRegRead', args, blocking=blocking)

        Analog for `RegRead <https://www.autohotkey.com/docs/commands/RegRead.htm>`_
        
ahk/_sync/engine.py