Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!higgin From: higgin@cbmvax.commodore.com (Paul Higginbottom - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: How do I invoke ARexx pgm by an icon ? Message-ID: <18030@cbmvax.commodore.com> Date: 24 Jan 91 21:41:34 GMT References: <1991Jan23.093446.37959@eagle.wesleyan.edu> Reply-To: higgin@cbmvax.commodore.com (Paul Higginbottom - CATS) Organization: Commodore, West Chester, PA Lines: 26 In article <1991Jan23.093446.37959@eagle.wesleyan.edu> jlovkay@eagle.wesleyan.edu writes: $I've just written my first program (ARexx), and it works so well I want to set $it up to be invoked by an icon :-) That's what IconX is for. Create a Project icon, with c:IconX as it's default tool. The Project icon would be the same name as an AmigaDOS script which could call rx to run the ARexx script. E.g: x.info - project icon, def. tool c:IconX x - AmigaDOS script containing: rx x.rexx x.rexx - your ARexx script. (This is off the top of my head, but it should work.) $I can't seem to find anything in the manual on how to define the icon, $although I've gotten pretty good with iconedit to draw the icon. The 1.3 icon editor does not allow you to specify the type of icon, so you must load one of the type you want, and then edit it. If I need a project icon, I usually just create a little note with the NotePad, and use that icon (which I know is a project one). Hope this helps, Paul.