I have a Perl script written in Windows and an AppleScript written in OS X. I want the AppleScript to invoke the Perl script that is residing in Windows. How can I do this?
MacOS – Invoke Perl script in Windows from OS X
macosperlwindows
Related Question
- Is El Capitan preventing me from getting the Perl module DBD::Oracle working
- Cron Perl – How to Control Where Script Run by Cron Saves Files
- AppleScript to Perl – How to Pass an AppleScript Variable to Perl Script
- MacOS – Did I just mess up system Perl
- Proper shebang line for running perl script with an AppleScript on a perlbrew install
- Perl Script Fails When Called from Terminal but Works on Double Click
- macOS Mojave – Running Perl Shell Script from AppleScript
Best Answer
Assuming you have access to the file from your Mac system, for example through a shared folder, you would run it locally (through Terminal) like this:
In AppleScript this would be something like:
However, this still executes the Perl script from your local Mac instance. If you want to actually invoke it on the Windows server, that's a different ballgame. This would require you to setup remote access, through for example SSH or IIS on the Windows machine.