Avoid Context Switching: Use ScriptKit.com

Avoid Context Switching: Use ScriptKit.com

Released Thursday, 6th May 2021
Good episode? Give it some love!
Avoid Context Switching: Use ScriptKit.com

Avoid Context Switching: Use ScriptKit.com

Avoid Context Switching: Use ScriptKit.com

Avoid Context Switching: Use ScriptKit.com

Thursday, 6th May 2021
Good episode? Give it some love!
Rate Episode

https://www.scriptkit.com/https://kentcdodds.com/blog/automationHey friends So you know how sometimes you do things so many times thatyou're like you know what I'm just gonna write a script for this and we'llrun it and whatever and so I don't have to do this over and over again. Andlike some of those things can be pretty extensive, like there's a lot ofstuff that you end up doing like you gotta open up this webpage and thenyou gotta click on that and then you gotta go do this, whatever.And some of those things can be like really simple. So I just need to openthis file add a line to this and save it and then close my editor orwhatever. And you can speed all of those things up using like little CLIto.Pull that you make or something and the the value of this isn'tnecessarily in the amount of time that it saves you but in the amount ofcontext switching it saves you from.So so you don't have to pull up your whole editor, you don't need to pullup this tab or whatever it is. I actually have a blog post about like whysaving time isn't the only reason to automate things which is kind of agood blog post. You can go check it out.But what I wanted to tell you about today was there's a much better way toautomate stuff. Especially if you're a Mac user Windows support for this iscoming.Eventually but what I wanted to tell you about is this tool calledscript kit by John Linquist. So if you haven't heard of script kit, it'ssort of like a spotlight or Alfred or or what what's the thing on Windowsthat you like you just hit the Windows key and then you can type something.But yeah, it's just this little key combination that you can executeanywhere and then you type something and you can execute some little scriptthat you have. So script kit it's it's really really cool and once youstart creating these little auto.Mations and there are a lot of cool thingsyou can do.And it has some really awesome APIs for accepting arguments and and forprompting you for additional information, you can drag and drop files allsorts of really cool things that I just strongly urge you to take a look atand see how it can improve your life. So one thing that I do is I have ascript that will automatically update dependencies for all of the epicreacts workshops, and so yeah.I just run this script. It opens up. What is it seven?To terminals for theseven repos that epic or maybe eight repost synaptic react has and and itupdates all of the dependencies and and then pushes that up automaticallyfor me. And so that I can keep things fresh and quick and it doesn't takeany time.I've got another one that allows me to quickly open up any project that Ihave in VS Code and it's just it's much quicker than opening up a terminaland doing it like executing a script. So take a look at script kit, it'ssuper cool. Have a nice.Day.

Show More
Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features