asterisk www.monkeyfood.com

/Software/SubEthaEdit JavaC Script

SubEthaEdit Java Compile Script(v1.0)

Download Script:

What & Why?

SubEthaEdit is a very interesting text editor - it was used to write this web page. One of its most interesting features is that it allows several authors to edit the same document simultanously across a network (locally or over the internet).

This script was written by me on behalf of a MacNN forum member, they asked if someone would write it. It was an interesting idea, so I did.

When run, this script will attempt to compile the contents of the front document as Java. Errors in compilation will be displayed in a new Text Edit document.

Where to install the script

The script's location does not affect how it works, but there are a couple of places you can keep the script that will make it easier to use.

The AppleScript Menu

Place the script in the following location: ~/Library/Scripts/Applications/SubEthaEdit/
(If the Directories below Library do not exist you should create them yourself.)

If you do not have the AppleScript Menu in your menubar you can activate it by opening the following file: /Applications/AppleScript/Script Menu.menu

n.b. The script will only show in the menu when SubEthaEdit is the front application.

The Speakable Items Folder

You did know your Mac can run AppleScripts using voice recognition didn't you? :)

Place the script (or an alias to the script) in the following location: ~/Library/Speech/Speakable Items/Application Speakable Items/SubEthaEdit/
You can then rename the alias/script to the phrase you wish to trigger the script.

n.b. The phrase will only be recognised when SubEthaEdit is the front application.

You can use both of these options - keep the script in the Scripts folder and an alias of it in the Speakable Items folder.

n.b. Speakable Items accepts aliases, but the Scripts folder does not - so you should keep the original script in the Scripts folder.


This Script is freeware.