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
Convert Text to Lower Case (dual mode)
Return to ClipboardFusion Macros
Description
Converts text to lower case. Dual mode: works on selected text or clipboard text if nothing was selected.
Language
C#.net
Minimum Version
4.2+
Created By
igorb
Contributors
-
Date Created
Aug 17, 2016
Date Last Modified
Aug 17, 2016
Macro Code
Copy
Select All
using System; // Suggested HotKey: Alt + Ctrl + L public static class ClipboardFusionHelper { public static string ProcessText(string text) { // Setup. string clipboardText = text; // Get clipboard. string selectedText = string.Empty; BFS.Clipboard.CopyText(out selectedText); // Get selected text. if( string.IsNullOrWhiteSpace(selectedText)) { text = clipboardText; // Operate on the clipboard text. } else { text = selectedText; // Operate on the selected text. } // End early if no text found. if(string.IsNullOrEmpty(text)) { return null; } // Main. text = text.ToLower(); // Wrapup. BFS.Clipboard.PasteText(text); return null; } }