October 2022 Release (v1.32.2) - Windows Preview 🤩, Debugger 🐞, and Repairs 🛠️

Script Kit 1.32.2 Released 🎉

Download here: https://scriptkit.com

Windows Preview 🤩

We are excited to announce the first Windows preview of Script Kit! This build is very close to feature-parity with the OSX version, so you can expect the vast majority of scripts you run on Mac to also run on Windows.

Note: We haven't purchased the Windows code signing certificate yet, so Windows will warn you that it can't verify Script Kit when you begin the install process. Also, this causes that Windows updates will need to be installed manually. We plan on setting up the Windows code-signing certificate by the end of the year to fix these issues then we'll remove the "Preview" label 😊

Snippets, Watchers, Schedule, etc, etc, etc all work. If an api is not supported on Windows (mostly the functions that get information about the desktop) then it will display a "Not supported on Windows" message.

The "Browse" (/ from the main menu) and "File Search" (. from the main menu) both required a ton of work, but they're working as well. We'll get the App Launcher sorted out in the next release.

Debugger

You can now debug your scripts by simply pressing cmd+enter from the main menu (ctrl+enter on Windows). This will open a built-in inspector that will allow you to step through your script, set breakpoints, and inspect variables.

Use the debugger keyword to set a breakpoint in your script. The inspector will pause execution when it hits the breakpoint and you can mess around with the variables and step through the script to your heart's content. You can even invoke functions such as setDescription() and treat the inspector like a REPL.

Repair

The menubar now includes a Debug menu. From Debug->Force Repair Kit SDK you can force the Kit SDK to be reinstalled. This is useful if you're having issues with the Kit SDK due to npm acting up or if an update failed.

await cutText()

The cutText() function will cut the latest typed word and bring it into your script.

let word = await cutText()
// Send word to an API, wrap the word in markdown, etc, etc

Other Fixes

  • The TypeScript esbuild compiling should be faster and more stable
  • New install splash now shows the npm progress status
  • App Launcher fixes (; from the main menu)
  • Google Fixes (~ from the main menu)
Discuss on GitHub