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?

Confirm

Are you sure?

User Image
Ciatronical
1 discussion post
I have a little macro that remove spaces.
It works fine with CTRL+SPACE.

Code

using System;
using System.Collections.Generic;
// CTRL+SPACE
public static class ClipboardFusionHelper{
    public static string ProcessText( string text ){
        text = text.Replace( " ", "" );
        return text;
    }
}

How I can paste the text without press CTRL+v.
I will only press CTRL+SPACE to to remove spaces and paste.

Thanks Ronny
Sep 5, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Before the "return text;" line, add a line like this:

BFS.Clipboard.PasteText(text);


Hope that helps!
Sep 5, 2019  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)