-
Notifications
You must be signed in to change notification settings - Fork 2
Extendscript ThioUtilsLib External Library DLL
ThioJoe edited this page Oct 10, 2025
·
3 revisions
Extendscript external libraries allow adding native javascript methods, functions, etc that can be used with Extendscript. I've created my own to add various functionality that wasn't built into extendscript. Currently there's just one method for playing a system error sound but I'll add more to it over time.
1. Get the latest ThioUtils.dll from the Releases page of this repo, and the wrapper script ThioUtilsLib.jsx, and put them in the same folder.
2. Include the wrapper script in your own extendscript script. Or if you are using ThioUtils.jsx for Premiere Pro, that will automatically include it already.
#include "C:\\Whatever\\Path\\ThioUtilsLib.jsx";3. After that, a new object called ThioUtils will be available such as:
// Play system error sound
ThioUtilsLib.systemBeep();
// Play a specific sound from the Windows Media folder:
ThioUtilsLib.playSoundAlias("Windows Information Bar.wav")
// Copy a string to the clipboard
ThioUtilsLib.copyTextToClipboard(whateverStringVariable)-
- Plays the standard windows error sound. Useful if you want to indicate an error / failure without popping up a message box.
- It takes a
uintparameter to specify one of the default sounds like0x00000000for Default OK,0x00000010for Default Error- The wrapper script will use 0 as default if no parameter is provided
- It supports any that are defined here but many are the same:
-
- Plays a system sound by alias or filename within the
C:\Windows\Mediafolder
- Plays a system sound by alias or filename within the
-
- Copies an inputted string into the windows clipboard