public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
// your code goes here
BFS.Input.SetMousePosition(-1502, 518);
BFS.General.ThreadWait(500);
BFS.Input.LeftClickMouse();
BFS.General.ThreadWait(500);
BFS.Input.SendKeys("^({VK_65})");
BFS.General.ThreadWait(500);
BFS.Clipboard.CopyText();
BFS.General.ThreadWait(500);
// your code goes here
if (text == "ping")
{
BFS.ClipboardFusion.RunMacro("#8 Fra Search: Sett til Pending #OVE 3 days", text, out text);
}
else if (text == "B")
{
BFS.ClipboardFusion.RunMacro("Macro2", text, out text);
}
return text;
}
}public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
BFS.Input.SetMousePosition(-1502, 518);
BFS.General.ThreadWait(500);
BFS.Input.LeftClickMouse();
BFS.General.ThreadWait(500);
BFS.Input.SendKeys("^({VK_65})");
BFS.General.ThreadWait(500);
// set the "text" variable with the contents of the Clipboard
text = BFS.Clipboard.CopyText();
BFS.General.ThreadWait(500);
if (text == "ping")
{
BFS.ClipboardFusion.RunMacro("#8 Fra Search: Sett til Pending #OVE 3 days", text, out text);
}
else if (text == "B")
{
BFS.ClipboardFusion.RunMacro("Macro2", text, out text);
}
return text;
}
}if (text == "ping")
if (text.Contains("ping"))