Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSandor Deli
Full Stack JavaScript Techdegree Student 4,894 PointsWhat did the instructor mean with javascript OS automation, at the beginning of the video? thanks
So at the beginning of the video the instructor told, that javascript can be used for even os automation. The only thing I know where your could automatize things is obviously node.js and Gulp. Are they what he meant or there is really something for operating system automation in javascript. ?
Thanks
2 Answers
Jennifer Nordell
Treehouse TeacherHi there, Sandor Deli! Yes, JavaScript can be used to automate tasks in operating systems. That being said, macOS is the only one I know of off the top of my head. There could potentially be others. It uses something called JXA which stands for JavaScript for Automation. You can find some documentation from Apple about it here. I also came across an interesting article about a sample case that was done which you might consider looking at here.
So yes, it is possible to automate certain tasks in at least macOS but potentially more and possibly an expanding number.
Hope this helps!
Sandor Deli
Full Stack JavaScript Techdegree Student 4,894 PointsThanks a lot Jennifer for your help it was really nice from you=)
Sandor Deli
Full Stack JavaScript Techdegree Student 4,894 PointsSandor Deli
Full Stack JavaScript Techdegree Student 4,894 PointsThanks a million Jennfer=) Would you have an article or a google keyword for linux/windows automation? Thanks a lot.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherSandor Deli when I search for "Windows automation javascript", I was lead to this open-source node.js project which purports to support Windows and Linux. Keep in mind that I have not tried this Take a look here.