Script Kit 1.53.22 - April 2023 Release #1178
johnlindquist
announced in
Announcements
Replies: 2 comments 2 replies
-
Launch bugs 🐞 (will have fixed this weekend):
Please report any more if you find them and I'll get it sorted by this weekend 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've been looking for the Script Kit AI course but haven't been able to find it. Is it available yet? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Script Kit 1.53.22 - April 2023 Release
Features
await mic()
Using await mic will return a buffer of the audio recorded from your microphone.
await webcam()
Using await webcam will return a buffer of the image captured from your webcam.
Resizing
The prompt will now grow and shink to match the length of the list of options.
You can also manually control the size of prompts by using the new
PROMPT
constants:Terminal "Close on Exit"
The terminal will now automatically close when you exit the command.
You can also use the
shell
option to disable the shell and just run the tool directly:Windows App Launcher
Press
;
from the main menu to launch the App Launcher.Thanks to @dodgez: #1161
Custom Fonts
You can now use custom fonts with the UI. In your
~/.kenv/.env
file, add:Experimental: Shebang Scripts 🎉
Add a script in your
~/.kenv/scripts
directory with a shebang:Then run it from the main menu
Experimental: Windows
.bat
FilesMac and Linux users have always had executables they could run in the terminal in the
~/.kenv/bin
dircetory. Now, on Windows, Script Kit will generate.bat
files associated with each script that you can run from the terminal.Info Choices
We now have a custom "info" choice that isn't selectable, but shows up in the list to present the user with additional information about the input/list:
Removing
npm
requirementWhen you run a script with a missing module, it will catch the error and prompt you to install it. This removes the requirement of the
await npm()
, but you can still use it if you find it more convenient.The examples and scripts that I share from now on will no longer use
await npm()
, but I have no plans to deprecate it.Fixes
chat
component.Call for Help: Disable Window Animation on Windows?
If anyone knows how to disable the window animation on Windows (the one that transparently zooms in when you open a window), please let me know because I think it's super annoying and I'd love to disable it in the app. For now, I strongly recommend disabling it globally on Windows:
One Last Thing...
Script Kit AI course part 1 dropping this week... 💥
Beta Was this translation helpful? Give feedback.
All reactions