Title

Message

Confirm

Want to earn a free ClipboardFusion Pro license? We're looking for ClipboardFusion translators!
<< DiscussionsReply

Script Stopped Working

Avatar from Gravatar.com
Jeff Weeks
4 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();
}
}
25 days ago (modified 25 days ago)  • #1
Avatar from Gravatar.com
Jeff Weeks
4 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.
25 days ago (modified 25 days ago)  • #2
Avatar from Gravatar.com
Jeff Weeks
4 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.
25 days ago  • #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
23 days ago  • #4
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply