#1
|
|||
|
|||
Set "Copy Subdirectories" flag via script
In the Copy Files step, is there a way to programatically set the "Copy Subdirectories (recursive)" check box.
I can get the step fine via script but I was wondering if there is a property that I can set to have it checked or unchecked. |
#2
|
|||
|
|||
One way would be to use a field override and have the checkbox value be based on a macro's value. See 'field override' in the help index for details on that.
Otherwise, if you have the step object for that step, the script code Step.Property("Recurse") = True ' or False would set it. |
#3
|
|||
|
|||
Thanks
That worked!
|
|
|