Hi,
In my User-Startup i have this line:
C:Rx SYS:S/ARexx/AddMenu.rexx
It functions very well, but at the end I am greeted with a message that the process of running that script 'has not yet returned' thereby blocking furthert execution of the boot-sequence.
My little question:
How can I supress that message and have the boot-sequence to complete?
OldFart
@OldFart
AddMenu.rexx needs to talk to the Workbench's ARexx port to do its magic, but Workbench isn't normally loaded until after User-Startup returns. I don't know why you get a 'has not yet returned' error. When I tried it AddMenu.rexx just gave up without doing anything; I didn't get any errors, but I didn't get any added menus, either.
A better place to run AddMenus.rexx is WBStartup; that way Workbench is up and running before you try to talk to it. I added it with the WBStartup Preferences program and have never had any problems with it.
From a script the usual way to do this is to prepend it with a: Run >NIL:
Run >NIL: C:Rx SYS:S/ARexx/AddMenu.rexx
@Hypex
Tried, but no difference. Thanks.
OldFart