Virtually all of my AHK scripts center around writing to and reading from the clipboard. I use Ditto as my clipboard manager, and Windows 11 as my operating system.
I'm writing to see if anyone else in the AHK community is experiencing problems with their Windows 11 clipboard and - if so - how they've fixed it so they can keep using their AHK scripts.
Specifically, around 10 times a day, my clipboard suddenly stops writing new clips (both the basic Windows clipboard and Ditto clipboards). I created the following AHK script to fix corrupted files (the recommended fix on the Microsoft discussion groups):
That occasionally works for a little while, but then the clipboard stops again after a short while.
I also have AHK scripts to close all unnecessary programs and processes, I run defragmentation programs, delete all of the clips in Ditto, etc. But nothing works. So I have to reboot several times a day.
This never happened with previous versions of Windows.
Does anyone have any ideas?
I'm writing to see if anyone else in the AHK community is experiencing problems with their Windows 11 clipboard and - if so - how they've fixed it so they can keep using their AHK scripts.
Specifically, around 10 times a day, my clipboard suddenly stops writing new clips (both the basic Windows clipboard and Ditto clipboards). I created the following AHK script to fix corrupted files (the recommended fix on the Microsoft discussion groups):
CODE:
if not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+
ExitApp
}
Run cmd.exe /c DISM.exe /Online /Cleanup-image /Restorehealth,,show
Run cmd.exe /c sfc /scannow,,show
That occasionally works for a little while, but then the clipboard stops again after a short while.
I also have AHK scripts to close all unnecessary programs and processes, I run defragmentation programs, delete all of the clips in Ditto, etc. But nothing works. So I have to reboot several times a day.
This never happened with previous versions of Windows.
Does anyone have any ideas?
Statistics: Posted by AlFlo — Today, 16:55