Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

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(-)