Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending '=' inside of any send function doesn't seem to work #96

Closed
Frankushima opened this issue Aug 15, 2020 · 3 comments · Fixed by #97
Closed

Sending '=' inside of any send function doesn't seem to work #96

Frankushima opened this issue Aug 15, 2020 · 3 comments · Fixed by #97
Labels
bug Something isn't working

Comments

@Frankushima
Copy link

I'm creating an Auto-Login script for a game, but it seems that sending an equal sign with any function causes it to not work.
Ex:
ahk.send_raw('=')
ahk.send_input('=')
ahk.send('=')
ahk.type('=')
ahk.send_play('=')

None of these send an equal sign, nor throw an exception.

In fact, adding something after the equal sign doesn't change anything.
Ex: ahk.type('=hello')
This also doesn't send anything.

Am I doing something wrong?

Sorry about the weird formatting. I'm new to GitHub

@spyoungtech spyoungtech added the bug Something isn't working label Aug 26, 2020
@spyoungtech
Copy link
Owner

Reproduced this and confirmed this is a bug. ahk.type should perform any necessary escapes for the user, but in this case it does not. ahk.send and other variants require users to escape strings themselves, e.g. Send {=}

send_raw seems to exhibit this bug because the template fails to include a , after SendRaw

I should be able to get this fixed in the next release.

spyoungtech added a commit that referenced this issue Sep 7, 2020
@spyoungtech
Copy link
Owner

Resolved in #97

@spyoungtech
Copy link
Owner

Fix released in v0.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants