Paladin of the Pegasos
Posts: 1282 from 2010/1/6
From: EU-Austria (Wien)
You cannot add to utility menue as it works under OS3.x - thats right - but you can create your own additional menues with submenues and items useing Ambients AREXX-Interface.....
look at this:
This example from my installation shows you how it works
/*Ambient - add new menue*/
address AMBIENT
'menu add id="m1-0" title="Network" type=menu'
'menu add id="m1-1-0" parentid="m1-0" title="Virtual Network" type=menu'
'menu add id="m1-1-1" parentid="m1-1-0" title="VNC- Aspire/XP" type=item command="System:Internet/Remote/VNC_ASPIRE.script" commandtype=workbench'
'menu add id="m1-1-2" parentid="m1-1-0" title="VNC- Pegasos3" type=item command="System:Internet/Remote/VNC_Pegasos_3.script" commandtype=workbench'
'menu add id="m1-1-3" parentid="m1-1-0" title="VNC- A3000" type=item command="System:Internet/Remote/VNC_A3000PPC.script" commandtype=workbench'
'menu add id="m1-1-4" parentid="m1-1-0" title="VNC- Julia" type=item command="System:Internet/Remote/VNC_Pegasos_Julia.script" commandtype=workbench'
'menu add id="m1-1-5" parentid="m1-1-0" title="Remote A3000T " type=item command="System:Envoy/Envoy_Remote/Ventriloquist" commandtype=workbench'
'menu add id="m1-1-6" parentid="m1-1-0" title="VNC- Aspire/LX" type=item command="System:Internet/Remote/VNC_ASPIRE_Linux.script" commandtype=workbench'
'menu add id="m1-1-7" parentid="m1-1-0" title="VNC- Toshiba" type=item command="System:Internet/Remote/VNC_Toshiba.script" commandtype=workbench'
'menu add id="m1-1-8" parentid="m1-1-0" title="VNC- Efika" type=item command="System:Internet/Remote/VNC_Efika.script" commandtype=workbench'
'menu add id="m1-2-0" parentid="m1-0" title="Browser" type=menu'
'menu add id="m1-2-1" parentid="m1-2-0" title="IBrowse" type=item command="System:Internet/Ibrowse/Ibrowse" commandtype=workbench'
'menu add id="m1-2-2" parentid="m1-2-0" title="AWeb" type=item command="System:Internet/Aweb/Aweb" commandtype=workbench'
'menu add id="m1-2-3" parentid="m1-2-0" title="Sputnik" type=item command="System:Internet/Sputnik/Sputnik" commandtype=workbench'
'menu add id="m1-3" parentid="m1-0" type=separator'
'menu add id="m1-4" parentid="m1-0" title="E-Mail" type=item command="System:Internet/YAM_NG/YAM" commandtype=workbench'
'menu add id="m1-5" parentid="m1-0" title="TelNET" type=item command="System:Internet/DCTelnet/DCTelnet" commandtype=workbench'
'menu add id="m1-6" parentid="m1-0" title="Net-Snooper" type=item command="System:Internet/NetworkSnooper/Snoop" commandtype=workbench'
'menu add id="m1-7" parentid="m1-0" type=separator'
'menu add id="m1-8-0" parentid="m1-0" title="Envoy-Net" type=menu'
'menu add id="m1-8-1" parentid="m1-8-0" title="Import FS" type=item command="System:Envoy/FilesystemImports" commandtype=workbench'
'menu add id="m1-8-2" parentid="m1-8-0" title="Import Printer " type=item command="System:Envoy/Printerimports" commandtype=workbench'
'menu add id="m1-8-3" parentid="m1-8-0" title="Netprobe" type=item command="System:Envoy/Netprobe" commandtype=workbench'
'menu add id="m1-8-4" parentid="m1-8-0" title="Config Envoy" type=item command="System:Envoy/NetworkConfig" commandtype=workbench'
'menu add id="m1-8-5" parentid="m1-8-0" title="Export Device" type=item command="System:Envoy/Filesystem_Exports" commandtype=workbench'
.....................
I think this is enough to understand how it works.......this example will add two new main-menues (Network and Tools) with items an certain submenues.....
Create your own menue-file (normal textfile), save it as projekt to WBStartup and choose rx as defaultprogram......after reboot you should have some nice new customized menues.....
BTW: All between ' ' is one line! No CR as it may be shown in your browser....
[ Editiert durch Amigaharry2 an 2010/2/12 21:25 ]
Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....