Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!bionet!ames!amdahl!pyramid!leadsv!laic!nova!darin From: darin@nova.laic.uucp (Darin Johnson) Newsgroups: comp.sys.amiga Subject: Re: MyMenu with IconX scripts? Message-ID: <648@laic.UUCP> Date: 3 Aug 89 02:39:43 GMT References: <0657.AA0657@worsel> Sender: news@laic.UUCP Reply-To: darin@nova.UUCP (Darin Johnson) Organization: Lockheed AI Center, Menlo Park Lines: 47 In article <0657.AA0657@worsel> blaine@worsel.UUCP (Blaine Gardner) writes: > >Is it possible to get MyMenu to work with IconX scripts? I've got several of >my games setup with IconX scripts that make the assigns needed to get the >game to run, run the game, then cancel the assigns after the game exits. Yes, this 'anomoly' showed up real quick after I first posted it. Later postings (same version) included a workaround. Problem is, I naively assumed there would be a tool icon, which there isn't with IconX or Xicon. Easy workaround that works fine for me and other users is to make the menu a CLI menu, instead of a WB menu, and use EXECUTE as the command. For example: menu Foo Bar | CLI c:execute baz:iconx_script This won't work for some Xicon scripts though, since some of them have commands embedded in the .info file instead of having a script. I haven't tried creating a dummy .info file, but I expect that would work also. Other wierd things FYI: Paths aren't inherited, so doing NEWCLI from MyMenu will have a CLI without a path (same as dmouse). A NEWPREFS IntuiMessage causes the menus to go away (since WB redraws its menus). When this happens, just quit it and restart. The source was posted with SHAR, so some of the graphics characters were converted to ascii (such as the copyright symbol, and the >> symbol). >PS I just tried it with Browser, and it failed too. "Can't open tool >Error 121" was the error message. Yup, I used WBrun as a skeleton when doing the workbench stuff, and since that is by the same author as Browser... PS: Supposedly WB 1.4 will have customizable menus. Anyone know for sure how much functionality it has? I am not seriously planning a new version unless WB 1.4 is limited. (MyMenu has multiple menus, submenus, color for item text, WB or CLI commands, and configuration by a text file) Darin Johnson (leadsv!laic!darin@pyramid.pyramid.com) We now return you to your regularly scheduled program.