Page 1 of 1

WB AREXX port (New drawer creation) question

Posted: Fri Apr 16, 2021 7:55 am
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

Re: WB AREXX port (New drawer creation) question

Posted: Fri Apr 16, 2021 4:46 pm
by nbache
If you're invoking it through ARexx anyway, why not just let your script delete the .info file afterwards?

Best regards,

Niels

Re: WB AREXX port (New drawer creation) question

Posted: Fri Apr 16, 2021 5:58 pm
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.

Re: WB AREXX port (New drawer creation) question

Posted: Fri Apr 16, 2021 9:37 pm
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