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
by Binary Fortress Software
WARNING: You currently have Javascript disabled!
This website will not function correctly without Javascript enabled.
Title
Message
OK
Confirm
Yes
No
Start TeamSpeak if not already open & load Window Position Profile
Return to DisplayFusion Scripted Functions (Macros)
Description
This script will check if TeamSpeak is running, and if not, it will launch it, then load a Window Position Profile. Make sure to set the path to TeamSpeak on line 15, and the Window Position Profile name on line 29.
Language
C# (.Net)
Minimum Version
9.7.1+
Created By
jipijajay95586
Contributors
-
Date Created
Feb 19, 2021
Date Last Modified
Feb 19, 2021
Scripted Function (Macro) Code
Copy
Select All
using System; using System.Drawing; using System.Windows.Forms; using System.Management; using System.Threading; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { // Set the process name here (leave the asterisk at the start) string processName = "*ts3client_win64.exe"; // Set the full path to the process here string processFullPath = @"D:\APPS\TSClient\ts3client_win64.exe"; // Check if the app is running bool isAppRunning = BFS.Application.IsAppRunningByFile(processName); if (isAppRunning) { // If it's already running, show a message //BFS.Dialog.ShowMessageInfo("App is already running"); } else { // If it's not, then launch it BFS.Application.Start(processFullPath, ""); } BFS.DisplayFusion.LoadWindowPositionProfile("TeamSpeak"); } }
Copyright © 2007-2021 Binary Fortress Software
•
News
•
Discussions
•
FAQ
•
Support
•
Privacy
•
ToS
•
Get DisplayFusion Merch