#Arexx & Icons
I have a problem getting an icon to do a job (guess you can tell that I
have been mucking with wb2.04 :). I also installed Wshell v2.0.
The program in question is DiskMaster v2.0 and it has arexx controls and a
port called 'DM'.
Normally I work out of wshell window. I've made a simple Arexx script
(called DMup.rexx) that first checks to see whether DiskMaster's port is
available, else – run DiskMaster. Sometimes in the wild frenzy of
computing, a second Diskmaster gets started, not that it wouldn't run, but
it's a waste of good memory for no good reason, hence DMup.rexx. From there
it gets alias'd to 'dm' for short, making it easy to type at the prompt.
Now, after going thru the Wshell manual, I find an item called
'AppWindows'. Neat stuff. Okay, so I add a line in the icon information
window in Tool Types:
WSHAPP="DMup & *N"
So when I pick up the icon and drop in the wshell, the arexx program runs
and I get DiskMaster – one way or the other.
I also want the option of double clicking the icon, to also start this
arexx script. I assume the Default Tool should be:
c:rx – or should it be ":c/rx" – or just "rx" ?
Besides having the WSHAPP line from above, as one of the Tool Types, what
can I add as tool types, that will start this particular arexx progam by
double clicking?
Ken Cooper – Vancouver