12-06-2006 04:37 PM
12-06-2006 09:00 PM
12-07-2006 12:55 AM
Hi,
All you need is one ActiveX Automation Step and use "Set PropertyObject.Name".
If this step is place just before the step whose name you wish to change then use as the reference RunState.NextStep.
If you wish to restore back to the previous name then, you will need to obtain the steps' name before you change it and this can be done in the pre-expressions of the ActiveX Step, use the Locals.tmpStepName = NameOf(RunState.NextStep)
If you want to restore the name afterwards. Insert an ActiveX Step after your step whose name you have changed.
Use the ActiveX step as before, but this time use the reference RunState.PreviousStep and use the Locals.tmpStepName as the parameter. (Obviously with this step you dont need the pre-expression)
So thats one step to change the name and one step to restore the name.
Hope this helps
Regards
Ray Farmer