Hi Daniel,
danielbriggs wrote:Hi Dave,
I would like to change the function of the "last wizard" button on the Load screen to load the same wizard every time (Newfangled Addons - A suite of handy wizards).
I'll point you in the start direction, but I'm unsure if what you want can be done simply or not...
danielbriggs wrote:
Can you point me in the right direction on how to:
- Edit the functionality of the button to load this wizard directly
First you will need to get familiar with how screen sets are constructed and how they relate to script files etc.
Section 15 of the MSM user manual covers customizing MSM screen sets.
To edit what a button does you will need to edit the image button in a screen set editor. I recommend using MachScreen for this.
danielbriggs wrote:
Can you point me in the right direction on how to:
...
- Change the text on the button to reflect this new function (if allowed?) to "Newfangled" say.
Changing the text of the button requires editing the bitmap image for the button, or making a new button with the text you want. This can be done using the button sources that are optionally installed with MSM. RealDraw was used as the image editing tool for MSM bitmaps.
danielbriggs wrote:
I've tried "Operator -> Edit Button Script" but it launches the wizard instead of editing that button.
That mach menu item is only good for editing buttons that have a script embedded inside the button within the screen set... which is not the case for that button.
This is where it may get hard... the current button calls mach with an OEM code (280) to reload the last wizard. Thus the knowledge re what was the last wizard etc is embedded inside mach. I don't know of a way to load a specific wizard from the NFW wizard set. The pick wizard button also calls a mach OEM code (320) to display the pick dialog... I don't know of a mach function where you can pass the name or a number of the wizard that you want to start up. There may be one, I just don't remember it.
There is a mach script call: "LoadWizard" - but it is not what you want. It will load a wizard file from disk by name. But the NFW set of wizards is not a single wizard, and the internal set of wizards are a layer removed fro this. You can load the NFW wizards set, but not pick which specific NFW wizard you want.
If it were me, I'd start by trying to figure out how to get a script to load a specific NFW wizard. If you can solve that, patching it into a screen set (MSM or any other screen set) it the easy part.
Dave