Login / Register
▼
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
VoiceBot
WallpaperFusion
Home
▼
Download
Download
Change Log
Download Beta
Beta Change Log
License (EULA)
▼
Features
Features
Incredible Desktop Wallpaper
Monitor Configuration
Monitor Splitting
Powerful Functions
Triggers
Multi-Monitor Taskbars
Useful Windows 10 Tweaks
Useful Windows 8 Tweaks
Windows Lock Screen
Multi-Monitor Screen Savers
Monitor Fading
Window Snapping
Window Management
Mouse Management
Alt+Tab Handler
Window Position Profiles
Desktop Icon Profiles
Remote Control
Available in dozens of Languages
Easy Administration
Free vs Pro
Purchase
Screenshots
Languages
▼
Help
Help Guide
FAQ
Discussions
Contact Us
Find My License
Mailing Address
Advanced Settings
Scripted Functions (Macros)
Display
Fusion
WARNING: You currently have Javascript disabled!
This website will not function correctly without Javascript enabled.
Title
Message
OK
Confirm
Yes
No
Format Copied UNC Path for Outlook (Requires Selected File to UNC Path script)
Return to DisplayFusion Scripted Functions (Macros)
Description
You'll need to also download the "Selected File to UNC Path" script for this script to work. This will run that function, then take the path generated from that and put it on the clipboard in a format that works in Outlook.
Language
C# (.Net)
Minimum Version
9.6.1+
Created By
Manuel R.
Contributors
-
Date Created
Apr 16, 2020
Date Last Modified
Apr 16, 2020
Scripted Function (Macro) Code
Copy
Select All
Toggle Line Wrapping
using System; using System.Drawing; using System.IO; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { // wait for save_UNC_path_and_selection to change flag FLAG_UNCPATH_UPDATED then retrieve the calculated UNCPATH variable bool ok = BFS.ScriptSettings.WriteValueBool("FLAG_UNCPATH_UPDATED", false); ok = BFS.DisplayFusion.RunFunction("get_UNC_path_and_selected_file"); while (! BFS.ScriptSettings.ReadValueBool("FLAG_UNCPATH_UPDATED")) { BFS.General.ThreadWait(20); } string uncPath = BFS.ScriptSettings.ReadValue("UNCPATH"); // Outlook 2010 : To preserve the spaces in your link text, use an opening and closing chevron uncPath = "<" + uncPath + ">"; BFS.Dialog.ShowTrayMessage("Copied to clipboard : " + uncPath); BFS.Clipboard.SetText(uncPath); } }
Copyright © 2007-2021 Binary Fortress Software
•
News
•
Discussions
•
FAQ
•
Support
•
Privacy
•
ToS
•
Get DisplayFusion Merch