By running it in something that runs Windows or its applications.
So the options are
1. Crossover
2. Boot Camp + Windows
3. Fusion + Windows
4. Parallels + Windows
5. Sun VirtualBox + Windows
6. You look at what this script does and search for a program that does the same on Mac OS X side
7. Or if there is no such program and it's a simple script, rewrite it yourself in AppleScript or something more universal like Perl.