Nitesh Meshram
Nitesh Meshram

Reputation: 555

Is there a scripting tool for Mac?

Is there a tool for Mac OS like Windows VBScript?

I want to write some script which generates folders automatically and copy & paste files according to input.

Upvotes: 0

Views: 1422

Answers (3)

Hawken
Hawken

Reputation: 2119

Apple-script is probably what you're looking for. Some applications have extensive support for Apple-script, whether made by Apple or not. Apple-script can also run shell scripts with the:

do shell script ""

command. In the Apple-script Editor there are templates for folder manipulation. Apple-scripts can also be saved as Applications. I use this for launching command-line programs (Ex: Andriod SDK)

You can also write a shell script and rename it *.command so it can be double-clicked to execute

Upvotes: 0

Jan
Jan

Reputation: 1847

There is Automator, a tool to create automated tasks. It's quite packed with useful stuff out of the box and easy and fun to use.

Upvotes: 1

jondavidjohn
jondavidjohn

Reputation: 62402

It's called AppleScript...

BUT

python is also another option that comes packed with OSX that has filesystem tools, and probably most popularly, OSX's terminal is bash, so most bash shell scripts will also work with OSX.

Upvotes: 3

Related Questions