Links

pmuellr is Patrick Mueller

other pmuellr thangs: home page, twitter, flickr, github

Wednesday, March 15, 2006

Eclipse Monkey publishing

Thought I'd paste in one of my scripts using the publishing help Eclipse Monkey supports. Just to try it out. You may be wondering what the wacky heading and trailing are all about. They are eclipse flavored lines from Jabberwocky. And they are easy to find in Google.

You'll want to grab the alert.js file from here.

--- Came wiffling through the eclipsey wood ---
/*
 * Menu: test > alert
 * DOM: http://homepage.mac.com/pmuellr/projects/eclipsemonkey-scriptloader/update/org.muellerware.eclipsemonkey.dom.scriptloader
 */

alert = ScriptLoader.loadProjectFile("MyEclipseMonkeyScripts", "monkey/lib/alert.js")

function main() {

 alert("Hello, World!")
}

--- And burbled as it ran! ---

update - 2006/03/20 - added title (keep forgetting that!) and added a link to the alert.js post

No comments: