placeOnClipboard throws COMException (CLIPBRD_E_CANT_OPEN)

Issue Description: Multiple users have reported they can’t use most of my app features because a chat message can’t be send.
Steps to reproduce: I can’t reproduce it locally.
Impact for my app: [show-stopper]
Do you currently have a workaround? No.

Please reproduce and attach a zip package of your OW client logs
Please mention the time of the event so we can find it easily in the logs

Sample error can be found at 2020-06-16 19:13:20,391
Clipboard_OverwolfLogs_2020-06-16_19-15-30.zip (347.7 KB)

To follow up. This seems to be caused by an AHK script running at the background some users have installed which also is an addon for the game.

@Kyusung4698 thanks for the info.
From our aspect, it’s not a common issue, so we classified it as a low priority.
Having said that, our R&D is investigating, and we will keep you updated.

Thanks.

@tom.wolf FYI

Another user without an AHK script. Can this get a higher priority?

OverwolfLogs_2020-06-26_22-48-42.zip (471.8 KB)

@Kyusung4698 we’ll check if there’s a workaround/fix for this issue.
Can you please send us an example for such an AHK script that blocks the placeOnClipboard function?

@itayG I’ve created following plugin to fix this issue myself.

@Kyusung4698 thanks for sharing! I forward your solution to our R&D, to check if they can use it or want to implement other solutions. Anyway, I’m glad that you find a workaround for now.

Thanks.
Eran

FYI: In version 0.155 overwolf.utils.placeOnClipboard and overwolf.utils.getFromClipboard reimplemented so that we tackle the coexistence issues with AutoHotKey.