WB AREXX port (New drawer creation) question

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

WB AREXX port (New drawer creation) question

Post by Raziel »

I know there is a rather enhanced WB AREXX port with quite a lot of actions.

One in particular is bothering me since years now and i'd like to know if there is an option to turn it off or change it's behaviour otherwise, or maybe even enhance it's functionality?

CM_INVOKEWB,WINDOW.NEWDRAWER

Right-click on a dir, New, New Drawer...
will bring up a little window where i can rename my new drawer, but it will *always* add an icon by default.
Can i turn that off (by default) instead of unchecking the icon checkmark?
If so, how? It would make life a little easier and i looked at the documentation, but couldn't find anything.

If not, could it *please* be added as an option?
Maybe a new command, something like

CM_INVOKEWB,WINDOW.NEWDRAWER.NOICON

which simply unchecks the checkmark?

Thank you
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: WB AREXX port (New drawer creation) question

Post by nbache »

If you're invoking it through ARexx anyway, why not just let your script delete the .info file afterwards?

Best regards,

Niels
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: WB AREXX port (New drawer creation) question

Post by Raziel »

@@nbache

Possible, yes.

But right now I'd like to have a non-script solution through single line commands.
I was rewriting the contextmenu commodities config file yesterday to use AISS images instead of the few that came with the program (finally all entries have Icons now).

Unfortunately the program only allows a single command.
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: WB AREXX port (New drawer creation) question

Post by nbache »

Sure, but there's nothing preventing rthat single command to be an invocation of an ARexx script.

Example:

,Workbench,Lukke skuffer,CLI,rx CloseAllDrawers

("Lukke skuffer" being "Close drawers" in Danish, and CloseAllDrawers.rexx being a script in REXX:).

Best regards,

Niels
Post Reply