Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

PabloMartinez's profile on WallpaperFusion.com
Unchecking, closing and reopening the trigger parameters return checkbox to the previous state. As a result, any script that returns a null value writes an empty string to the Clipboard.

As example

Code

using System;
using System.Collections.Generic;
using System.IO;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        var file = @"c:\test.txt";

        if (!File.Exists(file))
            File.Create(file);

        if (File.ReadAllText(file).Contains(text))
            return null;

        File.AppendAllText(file, text + Environment.NewLine);
        return null;
    }
}
Jun 29, 2017  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We were able to reproduce this issue here, and I've added it to our list. We'll be sure to let you know as soon as we're able to fix it up :)

Thanks!
Jun 29, 2017  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This issue should be all fixed up in 5.0 Beta 6 :)

Thanks!
Jul 3, 2017  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)