Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

User Image
Jeff Weeks
7 discussion posts
I have been using the following script for a long time to remove double spaces and white space at the beginning and end of lines. I think after a recent update Clipboard Fusion now says that the script is invalid. Does someone have an updated script or can they fix this one?

using System;
using System.Text.RegularExpressions;

public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
Regex regex = new Regex(@" {2,}");
return regex.Replace(text, " ").Trim();
}
}
Jan 22, 2020 (modified Jan 22, 2020)  • #1
User Image
Jeff Weeks
7 discussion posts
I think I have figured it out. Its a permissions issue on the folder that CF is trying to write to during execution. Compile Failed.
Line 0: Unexpected error creating debug information file 'c:\Users\6000\AppData\Local\Temp\0y4zlr34.PDB' -- 'c:\Users\6000\AppData\Local\Temp\0y4zlr34.pdb: Access is denied.
[System.Exception]

The script is fine. For now consider this resolved.
Jan 22, 2020 (modified Jan 22, 2020)  • #2
User Image
Jeff Weeks
7 discussion posts
I figured it out. I had to go to C:\Program Files (x86)\ClipboardFusion and in the properties for the clipboardfusion.exe set Run as Administrator for all users. Now everything works again. I hope this helps someone else in the future.
Jan 23, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for posting the fix! Sounds like maybe the permissions on the AppData folder are a bit wonky on your machine, normally that folder doesn't need Administrator access :(
Jan 24, 2020  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)