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

Inconsistent Success using SendKeys #6

Closed
pseud0 opened this issue Jun 13, 2021 · 1 comment
Closed

Inconsistent Success using SendKeys #6

pseud0 opened this issue Jun 13, 2021 · 1 comment

Comments

@pseud0
Copy link

pseud0 commented Jun 13, 2021

Hello,
I noticed the SendKeys commands producing inconsistent results when attempting to Stream to Discord. After further investigation I believe you need to make the following changes in your code:

Line 668: Invoke-KeyAtTarget -CMD "^{k}" -Target $Script:Config.DiscordName
CHANGE TO : Invoke-KeyAtTarget -CMD "(^k)+(^)" -Target $Script:Config.DiscordName

and

Line 669: Invoke-KeyAtTarget -CMD "+{1}" -Target $Script:Config.DiscordName
CHANGE TO : Invoke-KeyAtTarget -CMD "(+1)+(+)" -Target $Script:Config.DiscordName

These changes have resulted in a 100% success rate when attempting to trigger the add to channel function.

TheyCallMeZ added a commit to TheyCallMeZ/JackBot that referenced this issue Jun 14, 2021
@alduron
Copy link
Owner

alduron commented Jun 14, 2021

@TheyCallMeZ added the new changes to the script. Thank you @pseud0 for identifying and submitting a fix.

@alduron alduron closed this as completed Jun 14, 2021
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