Skip to content
Advertisement

What are the alternative(s) to applescript in Linux? How are they different?

I’m preparing to switch to Linux. I want to learn more about what Linux users do to solve problems that OSX users solve with Applescript. More specifically: What are they called? How are they different?

Advertisement

Answer

I am assuming you’re using applescript for basic system automation. There are a wide variety of languages available, but none as closely/uniformly integrated with the windowing environment/applications as applescript on OS X. You might find certain applications have scripting environments available for a certain language. In general, for basic automation, you’d do fine with any shell scripting language of your choice (bash, tcsh, …). Since those same languages are also available on OS X, you might try working with them in that environment first. Be sure to check out the manual pages for the various programs you wish to automate, to find out what command-line parameters you need to use to get the behavior you want.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement