Joe,
I installed Eclipse Monkey and keyed in your example, but for some reason 
it just does nothing at all...
Are you invoking the script when in the iSeries Editing perspective?
It looks kinda promising, but it'd have to actually DO something to be 
useful, of course ;-)
(I'm probably overlooking something very obvious here)
Thanks,
Peter Colpaert
Application Developer, Consumer Luminaires 
Industrieterrein Satenrozen 11, 2550 Kontich, Belgium 
Tel. +32/ 3 450 74 09, Fax +32/ 3 450 74 33, Internal 1317 
peter.colpaert@xxxxxxxxxxx, www.philips.com
The information contained in this message is confidential and may be 
legally privileged. The message is intended solely for the addressee(s). 
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or reproduction is strictly prohibited and may be 
unlawful. If you are not the intended recipient, please contact the sender 
by return e-mail and destroy all copies of the original message. 
Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
12/03/2008 15:01
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
Subject
[QUAR] Re: Rép. : With PDM on the mind , a question about options and 
substitution  variables
Simon Coulter wrote:
What PDM needs is built-in scripting. Rexx would be a good choice. 
Fat chance!
And what Eclipse (RDi) has that PDM does not is exactly that - all kinds 
of built-in scripting.  Currently most of it is a little rough around 
the edges, but it's very interesting.  I've been playing with something 
called Eclipse Monkey that allows you to write RPG editor scripts using 
JavaScript.
The article just came out today: 
http://tinyurl.com/ysytuu*
*
Joe
As an Amazon Associate we earn from qualifying purchases.