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

AutoHotkey Plugin: Error when sending "\"+String #17

Open
jadaCamp opened this issue Oct 30, 2022 · 1 comment
Open

AutoHotkey Plugin: Error when sending "\"+String #17

jadaCamp opened this issue Oct 30, 2022 · 1 comment

Comments

@jadaCamp
Copy link

Describe the bug
After the last update (18.10.2022) of the AutoHotkey Plugin, the "send"-function does not send "" [backslash] in combination with a string. With the prior version, all sending commands worked properly. I found a workaround by using "send {}left" leads to an outcome of "\left", but this results in enormous changes that have to be done and therefore a lot of time- due to the missing "search and replace"-function in the macro deck editor.

To Reproduce
Steps to reproduce the behavior:

  1. Define a new button.
  2. AutoHotkey Plugin--> Write an Run AHKv2 Script
  3. Enter: "Send \left". Save
  4. See error: printing "left" without ""

Expected behavior
Strings with prefix "" should be sent as defined, e.g. "\left"

Maybe there is a qucik way either to fix the changes made by the last update or to easily modify the AHKv2 scripts from "" to "{}".

@jbcarreon123 jbcarreon123 added the bug Something isn't working label Apr 3, 2023
@jbcarreon123
Copy link
Owner

Because it processes the script before running it, you need to put \\ (double backslash).

@jbcarreon123 jbcarreon123 removed the bug Something isn't working label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants