Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!ncar!gatech!udel!haven!wam!walrus From: walrus@wam.umd.edu (Udo K Schuermann) Newsgroups: comp.sys.amiga.misc Subject: Re: Execute script from icon Message-ID: <1991Jan31.201743.13927@wam.umd.edu> Date: 31 Jan 91 20:17:43 GMT References: <1222@sjfc.UUCP> Sender: usenet@wam.umd.edu (USENET Posting) Reply-To: walrus@wam.umd.edu (Udo K Schuermann) Organization: University of Maryland at College Park Lines: 33 In article <1222@sjfc.UUCP> bpv9073@sjfc.UUCP (Brett VanSprewenburg) writes: >I am setting up my new harddisk system on my A500 and don't wish >to have all my path assigns for Pro-Page, Word Perfect, and NetHack... >etc, etc hanging around when I don't need them. > >What I wish to do is to click on an icon from the WB and have it >execute an assign script which does all the dirty work for me. > >==Brett ...uupsi!cci632!sjfc!bpv9073 Use a PROJECT icon (named, say, Nethack) that runs c:IconX. Rename Nethack to Nethack3.0 and create a script named Nethack (which matches the Nethack.info (project)): assign nethack: games:nh30 cd nethack: Nethack3.0 ; the executable assign nethack: remove If you want to get rid of the window that IconX puts up, add the following tool type: WINDOW=NIL: The : (colon) is important. All output will go to the NULL device, I believe, which must be mounted. I hope this is clear enough so you can apply it to other applications, too. Cheers, ___ ._. Udo Schuermann / | \ "There is no Way to Peace. ( ) walrus@wam.umd.edu \/|\/ Peace is the Way!" -- Gandhi. ~~~