void Run() -- Run(Form form) -- Run(ApplicationContext context)
BFS.Application.Run(); -- BFS.Application.Run(new FormMain()); -- BFS.Application.Run(new ApplicationContext());
bool WaitForExitByFile(uint appID, uint waitMS);
bool exited = BFS.Application.WaitForExitByFile("*excel.exe", 5000);
void AddHistoryFileList(string[] paths)
BFS.ClipboardFusion.AddHistoryFileList(new string[]{"C:\test.txt", "C:\image.jpg"});
void AddHistoryImage(Bitmap image)
BFS.ClipboardFusion.AddHistoryImage(myImage);
void AddHistoryText(string text)
BFS.ClipboardFusion.AddHistoryText("text");
void AddLocalPinnedFileList(string[] paths);
BFS.ClipboardFusion.AddLocalPinnedFileList(files);
void AddLocalPinnedImage(Bitmap image);
BFS.ClipboardFusion.AddLocalPinnedImage(image);
void AddLocalPinnedText(string text);
BFS.ClipboardFusion.AddLocalPinnedText("text");
AddSelectedListFileList(string[] paths);
BFS.ClipboardFusion.AddSelectedListFileList(files);
AddSelectedListImage(Bitmap image);
BFS.ClipboardFusion.AddSelectedListImage(image);
AddSelectedListText(string text);
BFS.ClipboardFusion.AddSelectedListText("text");
string[] CFOGetAllPinnedText();
string[] allPinnedText = BFS.ClipboardFusion.CFOGetAllPinnedText();
string[] CFOGetAllSavedText();
string[] allSavedText = BFS.ClipboardFusion.CFOGetAllSavedText();
string CFOGetLastSavedText();
string text = BFS.ClipboardFusion.CFOGetLastSavedText();
string CFOGetPinnedText(int index);
string pinnedText = BFS.ClipboardFusion.CFOGetPinnedText();
string CFOGetSavedText(int index);
string text = BFS.ClipboardFusion.CFOGetSavedText(0); //Gets the first item
void CFORemovePinnedText(int index)
BFS.ClipboardFusion.CFORemovePinnedText(0);
void CFORemoveSavedText(int index)
BFS.ClipboardFusion.CFORemoveSavedText(0);
bool CFOSavePinnedText(string text)
BFS.ClipboardFusion.CFOSavePinnedText("text");
bool CFOSaveText(string text);
bool ok = BFS.ClipboardFusion.CFOSaveText("My text.");
void CFOSetPinnedText(int index, string text)
BFS.ClipboardFusion.CFOSetPinnedText(0, "text");
void CFOSetSavedText(int index, string text)
BFS.ClipboardFusion.CFOSetSavedText(0, "text");
bool ClearHistory();
bool ok = BFS.ClipboardFusion.ClearHistory();
Bitmap ConvertDibToBitmap(byte[] dib)
Bitmap bitmap = ConvertDibToBitmap(data);
byte[] ConvertToDib5(Bitmap bitmap)
byte[] dib = ConvertToDib5(bitmap);
string[] GetAllHistoryText();
string[] allText = BFS.ClipboardFusion.GetAllHistoryText();
string[] GetAllLocalPinnedText();
string[] allText = BFS.ClipboardFusion.GetAllLocalPinnedText();
string[] GetAllSelectedListText();
string[] allText = BFS.ClipboardFusion.GetAllSelectedListText();
int GetClipboardManagerSelectedIndex();
int selectedIndex = BFS.ClipboardFusion.GetClipboardManagerSelectedIndex();
string[] GetHistoryFileList(int index);
string[] files = BFS.ClipboardFusion.GetHistoryFileList(0);
Image GetHistoryImage(int index);
Image picture = BFS.ClipboardFusion.GetHistoryImage(0); //Gets the first image
bool GetHistoryIndexContainsFileList(int index);
bool hasFiles = BFS.ClipboardFusion.GetHistoryIndexContainsFileList(0);
bool GetHistoryIndexContainsImage(int index);
bool hasImage = BFS.ClipboardFusion.GetHistoryIndexContainsImage(0);
bool GetHistoryIndexContainsText(int index);
bool hasText = BFS.ClipboardFusion.GetHistoryIndexContainsText(0);
int GetHistoryItemCount();
int count = BFS.ClipboardFusion.GetHistoryItemCount();
string GetHistoryText(int index);
string text = BFS.ClipboardFusion.GetHistoryText(0); //Gets the first item
string GetLastHistoryText();
string text = BFS.ClipboardFusion.GetLastHistoryText();
string[] GetLocalPinnedFileList(int index);
string[] files = BFS.ClipboardFusion.GetLocalPinnedFileList(0);
Bitmap GetLocalPinnedImage(int index);
Bitmap image = BFS.ClipboardFusion.GetLocalPinnedImage(0);
bool GetLocalPinnedItemContainsFileList(int index);
bool hasData = BFS.ClipboardFusion.GetLocalPinnedItemContainsFileList(0);
bool GetLocalPinnedItemContainsImage(int index);
bool hasData = BFS.ClipboardFusion.GetLocalPinnedItemContainsImage(0);
bool GetLocalPinnedItemContainsText(int index);
bool hasData = BFS.ClipboardFusion.GetLocalPinnedItemContainsText(0);
GetLocalPinnedItemCount();
int count = BFS.ClipboardFusion.GetLocalPinnedItemCount();
string GetLocalPinnedText(int index);
string text = BFS.ClipboardFusion.GetLocalPinnedText(0);
string[] GetMacros();
string[] macros = BFS.ClipboardFusion.GetMacros();
BFS.ClipboardFusion.ClipboardManagerListEnum GetSelectedClipboardManagerList();
BFS.ClipboardFusion.ClipboardManagerListEnum selectedList = BFS.ClipboardFusion.GetSelectedClipboardManagerList();
string[] GetSelectedListFileList(int index);
string files = BFS.ClipboardFusion.GetSelectedListFileList(0);
Bitmap GetSelectedListImage(int index);
Bitmap image = BFS.ClipboardFusion.GetSelectedListImage(0);
bool GetSelectedListItemContainsFileList(int index);
bool hasData = BFS.ClipboardFusion.GetSelectedListItemContainsFileList(0);
bool GetSelectedListItemContainsImage(int index);
bool hasData = BFS.ClipboardFusion.GetSelectedListItemContainsImage(0);
bool GetSelectedListItemContainsText(int index);
bool hasData = BFS.ClipboardFusion.GetSelectedListItemContainsText(0);
int GetSelectedListItemCount();
int count = BFS.ClipboardFusion.GetSelectedListItemCount();
string GetSelectedListText(int index);
string text = BFS.ClipboardFusion.GetSelectedListText(0);
bool IsAutoSyncEnabled();
bool enabled = BFS.ClipboardFusion.IsAutoSyncEnabled();
bool IsClipboardFusionSyncing()
bool isSyncing = BFS.ClipboardFusion.IsClipboardFusionSyncing();
bool IsClipboardListenerRunning()
bool isRunning = BFS.ClipboardFusion.IsClipboardListenerRunning();
bool IsOnlineEnabled();
bool enabled = BFS.ClipboardFusion.IsOnlineEnabled();
void PauseClipboardListener()
BFS.ClipboardFusion.PauseClipboardListener();
void RemoveHistoryItem(int index)
BFS.ClipboardFusion.RemoveHistoryItem(0);
void RemoveLocalPinnedItem(int index);
BFS.ClipboardFusion.RemoveLocalPinnedItem(0);
RemoveSelectedListItem(int index);
BFS.ClipboardFusion.RemoveSelectedListItem(0);
void ResumeClipboardListener()
BFS.ClipboardFusion.ResumeClipboardListener();
bool RunMacro(string macroName, string text, out string textOut); bool BFS.ClipboardFusion.RunMacro(string macroName, string text, out string textOut, out string error);
string text; bool ok = BFS.ClipboardFusion.RunMacro("My Macro", "Testing Text.", out text); string text; string error; bool ok = BFS.ClipboardFusion.RunMacro("My Macro", "Testing Text.", out text, out error);
string RunTriggers(string text);
string text = BFS.ClipboardFusion.RunTriggers("text");
void SetAutoSyncEnabled(bool enabled);
BFS.ClipboardFusion.SetAutoSyncEnabled(enabled);
void SetClipboardWithHistoryItem(int index)
SetClipboardWithHistoryItem(0);
void SetClipboardWithLocalPinnedItem(int index)
SetClipboardWithLocalPinnedItem(0);
void SetClipboardWithOnlinePinnedItem(int index)
SetClipboardWithOnlinePinnedItem(0);
void SetClipboardWithOnlineRecentItem(int index)
SetClipboardWithOnlineRecentItem(0);
void SetClipboardWithSelectedList(int index)
SetClipboardWithSelectedList(0);
void SetHistoryFileList(int index, string[] paths)
BFS.ClipboardFusion.SetHistoryFileList(0, new string[]{"C:\test.txt", "C:\image.jpg"});
void SetHistoryImage(int index, Bitmap image)
BFS.ClipboardFusion.SetHistoryImage(0, myImage);
void SetHistoryText(int index, string text)
BFS.ClipboardFusion.SetHistoryText(0, "text");
void SetLocalPinnedFileList(int index, string[] paths);
BFS.ClipboardFusion.SetLocalPinnedFileList(0, paths);
void SetLocalPinnedImage(int index, Bitmap image);
BFS.ClipboardFusion.SetLocalPinnedImage(0, image);
void SetLocalPinnedText(int index, string text);
BFS.ClipboardFusion.SetLocalPinnedText(0, "text");
SetSelectedListFileList(int index, string[] paths);
BFS.ClipboardFusion.SetSelectedListFileList(0, files);
SetSelectedListImage(int index, Bitmap image);
BFS.ClipboardFusion.SetSelectedListImage(0, image);
SetSelectedListText(int index, string text);
BFS.ClipboardFusion.SetSelectedListText(0, "text");
void ShowLocalPinnedItemMenu(isFocusingQuery = false);
BFS.ClipboardFusion.ShowLocalPinnedItemMenu();
void ShowMacroMenu(isFocusingQuery = false);
BFS.ClipboardFusion.ShowMacroMenu();
void ShowOnlinePinnedItemMenu(isFocusingQuery = false);
BFS.ClipboardFusion.ShowOnlinePinnedItemMenu();
void ShowOnlineRecentItemMenu(isFocusingQuery = false);
BFS.ClipboardFusion.ShowOnlineRecentItemMenu();
void ShowPreviewPopup();
BFS.ClipboardFusion.ShowPreviewPopup();
void ShowQuickHistoryMenu(isFocusingQuery = false);
BFS.ClipboardFusion.ShowQuickHistoryMenu();
void ShowSettingsWindow();
BFS.ClipboardFusion.ShowSettingsWindow();
void ToggleOnlineEnabled();
BFS.ClipboardFusion.ToggleOnlineEnabled();
void ToggleTriggerCommandOverride();
BFS.ClipboardFusion.ToggleTriggerCommandOverride();
string GetUserInputList(string title, string[] values);
string input = BFS.Dialog.GetUserInputList("Test", new string[] { "Item #1", "Item #2", "Item #3" });
string GetUserInputListViewWithFilter(string title, string[] values);
string input = BFS.Dialog.GetUserInputListViewWithFilter("Test", new string[] { "Item #1", "Item #2", "Item #3" });
string GetUserInputList(string title, string[] values, int width, int height);
string input = BFS.Dialog.GetUserInputListViewWithFilter("Test", new string[] {"Item #1", "Item #2", "Item #3" }, 350, 500);
string GetUserInputList(string title, string[] values, int width, int height);
string input = BFS.Dialog.GetUserInputList("Test", new string[] { "Item #1", "Item #2", "Item #3" }, 350, 500);
int CountRunningFunctions(string name)
int count = BFS.General.CountRunningFunctions("My Function");
bool IsFunctionRunning(string name);
bool isRunning = BFS.General.IsFunctionRunning("My Custom Function");
bool Sleep(uint waitMS);
bool ok = BFS.General.Sleep(500);
bool SendKeyDownWithoutWait(string keys);
bool ok = BFS.Input.SendKeyDownWithoutWait("X"); //Press X
bool SendKeysFastWithoutWait(string keys);
bool ok = BFS.Input.SendKeysFastWithoutWait("%{X}"); //Sends Alt+X
bool SetMousePositionRelativeNoAcceleration(int x, int y);
bool ok = BFS.Input.SetMousePositionRelativeNoAcceleration(10, 20); //Moves the mouse cursor right 10, down 20
bool TextToSpeechWithVoice(string text, string voice);
bool ok = BFS.Speech.TextToSpeechWithVoice("Hello, this is my voice!", "Microsoft David Desktop - English (United States)");
IntPtr GetWindowByText(string windowText);
IntPtr windowHandle = BFS.Window.GetWindowByText("starts with*");
IntPtr GetWindowByTextExact(string windowText);
IntPtr windowHandle = BFS.Window.GetWindowByTextExact("my title text exactly");
IntPtr[] GetWindowsByText(string windowText);
IntPtr[] windowHandles = BFS.Window.GetWindowsByText("starts with*");
IntPtr[] GetWindowsByTextExact(string windowText);
IntPtr[] windowHandles = BFS.Window.GetWindowsByTextExact("my window title");
bool IsOnCurrentVirtualDesktop(IntPtr windowHandle)
bool isWindowOnCurrentVirtualDesktop = BFS.Window.IsOnCurrentVirtualDesktop(windowHandle);