Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-20-2004, 11:48 AM
rod rod is online now
Registered User
 
Join Date: 06-08-2004
Posts: 7
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.
Reply With Quote
  #2  
Old 08-20-2004, 01:40 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
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.
Reply With Quote
  #3  
Old 08-20-2004, 02:49 PM
rod rod is online now
Registered User
 
Join Date: 06-08-2004
Posts: 7
Thumbs up Thanks

That worked!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:40 PM.


Copyright © 1999-2023 Kinook Software, Inc.