Upcoming September 2022 Features #868
johnlindquist
started this conversation in
General
Replies: 2 comments 3 replies
-
seems the discord link is invalid..? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey @johnlindquist, Could you send me an invite to the discord server ? Sneak peak: Screen.Recording.2022-09-23.at.12.54.53.mp4 |
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
-
The next Script Kit release is right around the corner. We've been putting a lot of focus into the user experience and cleaning up the UI. Below are the features you can expect to see in the upcoming build. If you'd like to help test it out (expect minor bugs!), join us over on the new Discord server:
https://discord.gg/qnpVwbPy
Keyboard Shortcuts and Buttons
The
shortcuts
array allows you to define alternate behaviors for your prompt that are accessible and presented as keyboard shortcuts at the bottom of the prompt. You can also click the buttons if needed.In previous releases, you could just hit "Enter" to submit, now you can do anything 🤯. If you have any shortcut ideas you want to explore, please comment below and I'm definitely happy to help out:
Open shortcuts-example in Script Kit
Fields Prompt
await fields()
is now the quickest way to get multiple strings values from the user. The main goal offields
is simplicity and speed. Type a couple of strings, then hitEnter
.If you need a more robust feature set (autocomplete, previews, etc) then
await arg()
should have you covered.Open fields-example in Script Kit
enter
Defining
enter
helps the user know what's happening next. This was a major reason for this update as in all of my one-on-one sessions with Script Kit users, everyone was a bit hesitant to hit then Enter key when they didn't know what was going to happen:Open enter-example in Script Kit
Toggle Between Editing and Running a Script
When running a script, press
cmd+o
to open the script in your editor (unless you overridecmd+o
in your shortcuts, it will be auto-added, even if the button isn't visible). From the Kit editor, pressingcmd+shift+s
will save and run the script. This makes it SUPER FAST to jump between editing and running contexts and really boosts your script editing workflow:(I use the mouse and buttons in the video to explicitly show what's happening. It's way cooler to use the keyboard shortcuts 😎)
CleanShot.2022-08-20.at.08.15.36.mp4
resize
After building the
fields
prompt, I recognized there was too much empty space in simple prompts, so I began implementing an automatically resizing window.arg
is a special case because it can "lazy load" choices/previews/etc which makes the prompt impossible to measure right when it opens. So when you're usingarg
and want it to resize, setresize
totrue
. On the flip side, you can setresize
tofalse
for other components if you don't want the resize behavior:Open resize-example in Script Kit
Dev Settings in the Menubar
Because we're developers, we want access to all the settings. I'm attempting to expose as much as possible in the menubar so you can dig in and mess with whatever you need:
Beta Was this translation helpful? Give feedback.
All reactions