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

If clipboard text is the same, do not send #108

Closed
gattigcg1 opened this issue Nov 21, 2024 · 1 comment
Closed

If clipboard text is the same, do not send #108

gattigcg1 opened this issue Nov 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gattigcg1
Copy link

gattigcg1 commented Nov 21, 2024

Using AutoOCR feature in Kamui it's often the case that the exact same line gets picked up by the OCR over and over and the text in JL gets hard to read because the definition flashes in and out when it's the exact same text that gets sent. Is there some setting to prevent JL from accepting new clipboard events when it's the exact same text? I also have a separate script that relies on clipboard timing so if it's the exact same text, i'd prefer to only capture the first event of that to prevent issues. This is via clipboard copying by the way, kamui doesn't have websockets yet.

@gattigcg1 gattigcg1 changed the title If clipboard/websocket text is the same, do not send If clipboard text is the same, do not send Nov 21, 2024
@rampaa
Copy link
Owner

rampaa commented Nov 23, 2024

  • Enable Preferences -> Main Window -> Merge sequential texts when they match
  • Set the value of Preferences -> Main Window -> Max delay between copies to merge sequential texts when they match (in milliseconds) to 0 to remove the time constraint, or set it to a resonable number
  • Disable Preferences -> Main Window -> Hide popups on text change

I might add a new option for users who do not wish to merge matching sequential texts in general but still want to discard duplicate text in the next version of JL.

@rampaa rampaa added enhancement New feature or request question Further information is requested labels Nov 23, 2024
@rampaa rampaa closed this as completed in be5430b Dec 7, 2024
@rampaa rampaa removed the question Further information is requested label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants