Binary Fortress
Binary Fortress Software
CheckCentral
ClipboardFusion
CloudShow
DisplayFusion
FileSeek
HashTools
LogFusion
Notepad Replacer
Online Base64 Decoder
Online Base64 Encoder
Online JSON Formatter
ShellSend
TrayStatus
VoiceBot
WallpaperFusion
Window Inspector
More Apps...
DisplayFusion
CheckCentral
CloudShow
ClipboardFusion
FileSeek
TrayStatus
VoiceBot
WallpaperFusion
Clipboard
Fusion
by Binary Fortress Software
Download
Download
Change Log
Download Beta
Beta Change Log
License (EULA)
Features
Features
HotKeys
Macros
Triggers
Clipboard Syncing
Clipboard Manager
Languages
Free vs Pro
Apps
More
Screenshots
Macros
Languages
Help
Help Guide
FAQ
Discussions
Contact Us
Find My License
Mailing Address
Advanced Settings
Purchase
Login / Register
WARNING: You currently have Javascript disabled!
This website will not function correctly without Javascript enabled.
Title
Message
OK
Confirm
Yes
No
Prompt for New History Item
Return to ClipboardFusion Macros
Description
This Macro will prompt for some text. After entering the text, it will be added to the top of the History list, and also put onto the clipboard.
Language
C#.net
Minimum Version
5.4.1+
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Sep 17, 2018
Date Last Modified
Sep 17, 2018
Macro Code
Copy
Select All
using System; using System.Collections.Generic; public static class ClipboardFusionHelper { public static string ProcessText(string text) { // Get the text for the new History item string newHistoryItem = BFS.Dialog.GetUserInput("Please enter the text for the new History item:", ""); // Add the new History item BFS.ClipboardFusion.AddHistoryText(newHistoryItem); // Put the text on the clipboard as well return newHistoryItem; } }