I use Autohotkey for all my Windows scripting, but would like to use something that could apply to a Mac as well. Without having to write it in multiple languages. And having it compatible with Linux wouldn't hurt either. Is there such a thing? I'd want to use it for file manipulation, OS operations specifically, and hotkeys/mouse gestures would be nice as well.
If not, wouldn't it be possible to create a single language, then have a separate Windows and Mac interpreter that would implement the command according the the OS running it? Then use conditional statements in which there aren't equivalent features/funtions on each OS?
If the above doesn't exist, is there something close, or two languages similar in syntax making it easy to implement on both platforms?
** Found tons of answers soon after posting this. Stack Exchange had more than enough info when searching for cross OS scripting **