English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.AmigaOS (https://eab.abime.net/forumdisplay.php?f=142)
-   -   Custom Menus OS3.2 (https://eab.abime.net/showthread.php?t=108473)

rabidgerry 10 October 2021 14:30

Custom Menus OS3.2
 
Is there features built into OS3.2 that allow me to customize drop down menus from the title bar, right clicking on the screen drop down menu and also a way to put the time in the title bar?

Or do I need to install something like ToolsDaemon? I literally just discovered ToolsMenu but it only allows you to put things under "Tools" and whilst that does what I want, it would be better to have the option to put things under different titles like "programs" or Utilities. Things like this.

Firestone 10 October 2021 15:03

Yes, OS3.2 got a native and supported way of making custom pulldown menus. It's called MenuTools. Should be in your WBStartup-drawer and is an ARexx-script.

Predseda 10 October 2021 15:34

You can edit it in a text editor and it contains easy to understand examples. Customising is not so comfortable as with ToolsDaemon, but works well and it is considered to be system friendly.

rabidgerry 10 October 2021 16:46

Quote:

Originally Posted by Firestone (Post 1510658)
Yes, OS3.2 got a native and supported way of making custom pulldown menus. It's called MenuTools. Should be in your WBStartup-drawer and is an ARexx-script.

I don't seem to have this MenuTools, I have something called ToolsMenu which lets me edit things in the Tool drop down menu. Would it be anywhere else?

rabidgerry 10 October 2021 16:58

I have a hunch that after installing BestWB it has removed MenuTools and put in this ToolsMenu instead!

fxgogo 10 October 2021 23:22

I think so. I am approaching 3.2 without any custom installers like BestWB etc. They make customisation assumptions based off old versions like 3.1, 3.1.4 and the people who made it. I want to experience this new OS in its raw state and add bits as I see fit.

gulliver 10 October 2021 23:50

I designed BestWB for AmigaOS 3.1.4.

It SHOULD NOT be used under other AmigaOS versions. The website and readme are pretty clear about this.

rabidgerry 11 October 2021 20:22

Quote:

Originally Posted by gulliver (Post 1510738)
I designed BestWB for AmigaOS 3.1.4.

It SHOULD NOT be used under other AmigaOS versions. The website and readme are pretty clear about this.

Sorry that was my fault I used this - BestClassicWB v2.0.3 Easy to get mixed up with the titles.

https://eab.abime.net/showthread.php?t=107410

So I didn't read your instructions wrong, just used a completely different thing.

Quote:

Originally Posted by fxgogo (Post 1510736)
I think so. I am approaching 3.2 without any custom installers like BestWB etc. They make customisation assumptions based off old versions like 3.1, 3.1.4 and the people who made it. I want to experience this new OS in its raw state and add bits as I see fit.

I did this with 3.1.4 any it was tiresome. I figured BestClassicWB would get me up to speed a little quicker.

I dunno how to uninstall this ToolsMenu, but I think I'll just get rid. Not sure if I can just copy MenuTools from another HDF I have PRE BestClassicWB and just stick it in the WB Startup folder. If so I can do this or get if from the install disks.

Or Just install ToolsDaemon.

rabidgerry 13 October 2021 19:54

Went for ToolsDaemon instead, much easier for someone like me to use. I tool a look and MenuTools and thought it seemed like a lot of hassle.

rabidgerry 05 December 2022 23:02

So back at this again and have a new build (again :D). I ditched 3.2 for a while and then decided it was time t start fresh.

Actually managed to pull off making one or two things using menu tools. I still hate the limitation of everything has to go under "Tools" but that's just me.

Anyways, I was attempting to have a menu item open the directory I created in:

DH0:Programs

Just so I could browse the drawer myself.


Now I thought this would be a sinch but I was wrong. So I looked into commands that can open drawer. First one I looked at was WBLoad. This didn't work for me. Next one was the older command I copied over from 3.1 WBRun. This also did not work. Then I figured as it's an Arexx script right? I'd look for an Arexx command. So I tried Openseldrawer. This also failed.

Can anyone shed some light on this for me?

Even attempting to run WBLoad in shell did not work. Same went for WBRun in both 3.2 and 3.1 I just could not get a drawer to open for me.

And for the Arexx attempt, I was really trying to logically add the openseldrawer to the script and copy the examples that I had got working for opening programs but I'm obviously not knowledgeable enough to get it working how I want.

EctoOne 06 December 2022 00:00

I don't quite understand your problem but WBrun and similar tools are used to start programs from the shell like if they were started by a double click from the Workbench, including stuff like tooltypes from the corresponding icon.

I for example use it with the text editor Redit, because it has no arguments to set the colors. They can only be changed with the tooltypes.

It sounds that you're trying to use it on a directory instead of a file, which is actually an interesting idea.

If you want to open a directory from a shell or something like ToolsDaemon, there are some tools available on Aminet http://aminet.net/search?query=Open+drawer

I hope this what you're looking for.

DisasterIncarna 06 December 2022 01:17

Theres an older thread on this topic, https://eab.abime.net/showpost.php?p...3&postcount=11

tero 06 December 2022 02:05

2 Attachment(s)
OS3.2 comes with an arexx script to open a drawer from a given path. It's in s and is called win.

It is possible to add additional menus besides 'tools', just put a / before the name.
I have the menu i use attached, you can use it as an example. It's in german but the lines inside the script will give you the idea.
Hope it helps
Attachment 77341

Attachment 77340

Octopus66 06 December 2022 09:27

Thread on selecting drawers to open using MenuTools http://eab.abime.net/showthread.php?t=107358

rabidgerry 06 December 2022 11:28

Quote:

Originally Posted by EctoOne (Post 1579869)
I don't quite understand your problem but WBrun and similar tools are used to start programs from the shell like if they were started by a double click from the Workbench, including stuff like tooltypes from the corresponding icon.

Well basically I tried to use the command in the menutools script. It didn't work. So then I tried to use just within shell and that didn't work either in 3.1 or 3.2. WBLoad I managed to at least open a program from shell, but not a drawer. WBRun I thought was supposed to be able to open a drawer.


Quote:

Originally Posted by EctoOne (Post 1579869)
It sounds that you're trying to use it on a directory instead of a file, which is actually an interesting idea.

If you want to open a directory from a shell or something like ToolsDaemon, there are some tools available on Aminet http://aminet.net/search?query=Open+drawer

I hope this what you're looking for.

I saw that also and was close to downloading, but I really thought I'd be able to write some sort of command to do it. I mean I could create a shortcut in the menu to each individual program but I thought the idea to just open the drawer would be better.



Quote:

Originally Posted by DisasterIncarna (Post 1579887)
Theres an older thread on this topic, https://eab.abime.net/showpost.php?p...3&postcount=11

Saw this as well but as I mentioned I thought a command could take care of it.

I might try it out though. Believe me I did a fair bit of searching and reading before I bothered to post here. It could be some of the Arexx stuff is just above my skills right now, but I figured I had a small win getting a few things top open within menutools. It kinda inspired me to get a little bit more advanced.

Quote:

Originally Posted by tero (Post 1579896)
OS3.2 comes with an arexx script to open a drawer from a given path. It's in s and is called win.

It is possible to add additional menus besides 'tools', just put a / before the name.
I have the menu i use attached, you can use it as an example. It's in german but the lines inside the script will give you the idea.
Hope it helps
Attachment 77341

Attachment 77340

Ohh fantastic, thank you for this :great:great:great. I will give it a try. I prefer this as opposed to all under Tools.

Quote:

Originally Posted by Octopus66 (Post 1579942)
Thread on selecting drawers to open using MenuTools http://eab.abime.net/showthread.php?t=107358

I had found this also, I'll read over again thanks.

rabidgerry 06 December 2022 11:50

Quote:

Originally Posted by tero (Post 1579896)
OS3.2 comes with an arexx script to open a drawer from a given path. It's in s and is called win.

It is possible to add additional menus besides 'tools', just put a / before the name.
I have the menu i use attached, you can use it as an example. It's in german but the lines inside the script will give you the idea.
Hope it helps
Attachment 77341

Attachment 77340

Wow thank you for this! I have not even bothered to create new titles other than tools just yet, but I have on my first attempt got the programs drawer to open as desired. No need for anything extra to be installed!

I noticed you had way less speech marks and apostrophe's than me in certain places, yet I was just following the examples provided originally. So happy about this.

Probably worth reading some of the other info provided by other people here though. Will post my examples later.

EctoOne 06 December 2022 12:24

Quote:

Originally Posted by rabidgerry (Post 1579968)
Well basically I tried to use the command in the menutools script. It didn't work. So then I tried to use just within shell and that didn't work either in 3.1 or 3.2. WBLoad I managed to at least open a program from shell, but not a drawer. WBRun I thought was supposed to be able to open a drawer.

I didn't knew that WBLoad is already part of WB3.2, I recently found a tool with the same name in the CLICon package and I thought you were talking about that. That's why I was so confused why you haven't tried some of the other available tools.

Good to know that WB3.2 already comes with all those features though.

tero 06 December 2022 14:13

Quote:

Originally Posted by rabidgerry (Post 1579977)
I noticed you had way less speech marks and apostrophe's than me in certain places, yet I was just following the examples provided originally. So happy about this.

That depends how you want the programm to be launched.

If the command is a CLI command you have to use 'address command' which uses some additional apostrophes:
Code:

MENU ADD NAME '"iGame"' TITLE '"\Start...\iGame"' CMD "'address command ''sys:tools/igame/igame'''"
If you want the Icon of the programm processed to use tooltypes or the default tool just add wbload:
Code:

MENU ADD NAME '"shell"' TITLE '"\Start...\Shell"' CMD "'address command ''wbload sys:system/shell'''"
For starting a normal CLI script use execute:
Code:

MENU ADD NAME '"jitoff"' TITLE '"\UAE\JIT\JIT Off"' CMD "'address command ''execute s:uae_scripts/jitoff'''"
If you want to start an arexx script or other arexx commands, there are no additional apostrophes as the menu script itself is arexx:
Code:

MENU ADD NAME '"drawertemp"' TITLE '"\Drawers\Temp"' CMD "rexx:win ram:t"
With this 4 ways to start stuff you can do, more or less, everything. All that's left is writing or downloading some usefull scripts. Some good ones are in the T.H.E. package found on Aminet.

rabidgerry 06 December 2022 14:25

1 Attachment(s)
Quote:

Originally Posted by EctoOne (Post 1579987)
I didn't knew that WBLoad is already part of WB3.2, I recently found a tool with the same name in the CLICon package and I thought you were talking about that. That's why I was so confused why you haven't tried some of the other available tools.

Good to know that WB3.2 already comes with all those features though.

It does, but sometimes it is nice to have a little extra commands or features so you might still have uses forr CLIcon.


Quote:

Originally Posted by tero (Post 1580009)
That depends how you want the programm to be launched.

If the command is a CLI command you have to use 'address command' which uses some additional apostrophes:
Code:

MENU ADD NAME '"iGame"' TITLE '"\Start...\iGame"' CMD "'address command ''sys:tools/igame/igame'''"
If you want the Icon of the programm processed to use tooltypes or the default tool just add wbload:
Code:

MENU ADD NAME '"shell"' TITLE '"\Start...\Shell"' CMD "'address command ''wbload sys:system/shell'''"
For starting a normal CLI script use execute:
Code:

MENU ADD NAME '"jitoff"' TITLE '"\UAE\JIT\JIT Off"' CMD "'address command ''execute s:uae_scripts/jitoff'''"
If you want to start an arexx script or other arexx commands, there are no additional apostrophes as the menu script itself is arexx:
Code:

MENU ADD NAME '"drawertemp"' TITLE '"\Drawers\Temp"' CMD "rexx:win ram:t"
With this 4 ways to start stuff you can do, more or less, everything. All that's left is writing or downloading some usefull scripts. Some good ones are in the T.H.E. package found on Aminet.

Thank you so much for this.

I have been using your examples.

Now I had a shortcut to load Dopus from the menu. It worked no problem. However the CFG file was not being loaded. My knowledge was not able to figure out why. However from your menutools script I saw you used WBLoad as the command to open Dopus, so I used this and HEY PRESTO! The cfg file loaded alongside the program.

This is really great knowledge so thanks for sharing.

So far have created this -


Also attached my menutools

https://i.ibb.co/9vLg7V3/004.png
https://i.ibb.co/NZhWkkV/005.png

AMIGASYSTEM 06 December 2022 15:29

Quote:

Originally Posted by tero (Post 1579896)
OS3.2 comes with an arexx script to open a drawer from a given path. It's in s and is called win.

It is possible to add additional menus besides 'tools', just put a / before the name.
I have the menu i use attached, you can use it as an example. It's in german but the lines inside the script will give you the idea.
Hope it helps
Attachment 77341

Attachment 77340


Actually your Menu other than the famous application named T.H.E.

http://aminet.net/package/util/wb/THE2

http://aminet.net/package/util/wb/THE3

https://aminet.net/package/util/wb/THE3


All times are GMT +2. The time now is 19:17.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.05147 seconds with 11 queries