Order of the Butterfly
Posts: 419 from 2003/8/18
Create a file 'open_win.rexx' in sys:arexx/
Quote:
/*
Small script that will open Ambient window of 'ARG' directory
*/
arg dir
parse var dir
address value AMBIENT
SCANDIR dir SHOWALL 'MODE=ICON'
LOADURI dir NEW
exit
Then create a 'go' in s:
Quote:
.key Dir/M
.bra {
.ket }
run >NIL: rx sys:arexx/open_win.rexx {Dir}
Add 'S' flag to the go file by typing: 'protect s:go +s'
Now you just have to type 'go [dir]' to open dir in ambient.
NOTE: this script will work with older Ambient as well as newer (daily builds) Ambient executables.
Leo.
[ Edited by Leo on 2006/3/8 23:03 ]
Nothing hurts a project more than developers not taking the time to let their community know what is going on.