ahk icon indicating copy to clipboard operation
ahk copied to clipboard

Missing Directives

Open spyoungtech opened this issue 7 years ago • 3 comments

Currently the directives implementations are incomplete. Particularly, directives which take in parameters are not fully implemented.

I think defaults for arguments should be the same as in AutoHotkey, unless a good argument can be made for a more sensible default. We may also opt to provide defaults where AutoHotkey does not.

Anything that is deprecated, not recommended, or being removed in AutoHotkey v2.0 should not be implemented.

spyoungtech avatar Dec 12 '18 09:12 spyoungtech

I believe, if you know what arguments are expected, you can actually instantiate the incomplete directives.

So, specifically, the goal here is to add __init__ methods to incomplete directives and provide the proper signature and docstrings.

spyoungtech avatar Dec 19 '18 03:12 spyoungtech

Could you define "directive" in this use case?

Nickiel12 avatar Jul 30 '19 17:07 Nickiel12

Directives, as in AutoHotkey script directives. Some examples include #NoEnv #NoTrayIcon #Persistent and many more. The wrapper implements these in directives.py -- For instance, the implementation of ClipboardTimeout maps to the Autohotkey directive #ClipboardTimeout

Some directives are missing, others take arguments that could be defined and documented.

Hope that answers your question @Nickiel12

spyoungtech avatar Jul 30 '19 17:07 spyoungtech