Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Set "Copy Subdirectories" flag via script (https://www.kinook.com/Forum/showthread.php?t=545)

rod 08-20-2004 11:48 AM

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.

kinook 08-20-2004 01:40 PM

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.

rod 08-20-2004 02:49 PM

Thanks
 
That worked!


All times are GMT -5. The time now is 02:13 PM.


Copyright © 1999-2023 Kinook Software, Inc.