Skip to content

how to write the python script to ahk file to avoid dependencies? #259

Closed Answered by spyoungtech
sardnar asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm. This isn't really a capability that's offered and likely impractical, depending on exactly what your script does.

In the older v0 version of the library, AHK commands worked by generating scripts for each function call. At one point, there was a suggestion to add a capability for script generation, which would generate you an AHK script equivalent to the ordered function calls. Though, there's obviously still some large gaps, like if you make use of any flow control statements in Python (like if conditions, for or while loops, etc), that won't appear in the scripts generated. It wouldn't necessarily be portable across machines (or even runs on the same machine) because it would proba…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spyoungtech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants