Hi Andreas,
There is an issue with the “Pause Until Clipboard Changes” action in a BetterTouchTool automation:
- Pause Until Clipboard Changes – Works as expected on the first trigger.
- ChatGPT action – Uses OCR and copies the result to the clipboard.
- Pause Until Clipboard Changes – On the second trigger, the action does not seem to detect the clipboard change, so the AppleScript does not execute.
The issue can be worked around by using ”(Async) Delay next action” instead of “Pause Until Clipboard Changes” for the second pause, but it would be better if the original action worked reliably.
with the latest version you should not need the wait for clipboard anymore because the screenshot to clipboard action automatically waits until the screenshot is in the clipboard - this is however only when configuring this from scratch - existing setups are not affected.
That’s correct, I just tested it. However, the issue remains that the “Pause Until Clipboard Changes” action does not detect when ChatGPT saves the response to the clipboard.
weird, I’ll check! It doesn’t work without the wait for clipboard? (the chatgpt action should copy immediately, so there might not be any changes to detect afterwards)
Yes, exactly. The next action, in this case, “Run Apple Script”, does not start because the change in the clipboard made by ChatGPT is apparently not recognized by the “Pause Until Clipboard Changes” action. As a result, “Run Apple Script” keeps waiting, and nothing happens.
And one more question: Should the action automatically detect whether it is dealing with text or an image, or should I explicitly choose one or the other?
If the detection is supposed to be automatic, it doesn’t seem to be working. When “Append Selected Text To User Prompt” is enabled, “Attach Image File To Request (e.g. for OCR)” is not used, even if an image is in the clipboard.
but does the action work if you completely remove the wait?
The image/selected text thing should only depend on the prompt you provide but I’ll have a look! Maybe I forgot something
Now everything is working perfectly. Delays no longer need to be added. Apparently, the issue was “existing setups are not affected.” After recreating everything from scratch, it runs smoothly, including “the image/selected text thing.”
Now I know for the future that if something doesn’t work and an update is released, I should first recreate everything from scratch.
that would be very strange
the change was only for the screenshot action.
But maybe some other setting in the chatgpt action caused a conflict?
I had three different automations with ChatGPT actions, all with exactly the same settings. When I read that “existing setups are not affected,” I deleted one of the three automations and recreated it from scratch with the same settings as the two that hadn’t been deleted. The newly created automation worked perfectly, but the two old ones didn’t.
Anyway, I’m happy that it’s working now! 