Kinook Software Forum

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

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 01-04-2007, 10:03 AM
wellilein wellilein is online now
Registered User
 
Join Date: 11-30-2005
Posts: 53
Nesting Process Files Action

I tried to nest two process files actions.
I know that this is not possible according to the help, but I think that this is just a problem of implementation:

Process files A
. Set macro FILE1 = PROCFILES_FULLPATH
. Process files B
. Set macro FILE2 = PROCFILES_FULLPATH

This partly works. For the second FILE1, it will have the correct file name, but the folder of the process files B action.

In my opinion there should not be a problem nesting two process files actions if the script implementer takes care of saving the temporary PROCFILES_* macros, so I consider this as some kind of bug, at least a missing feature :-)
Reply With Quote
  #2  
Old 05-20-2010, 10:59 AM
abcdetech abcdetech is online now
Registered User
 
Join Date: 04-30-2008
Posts: 18
What's a workaround for nested Processed Files?

it is so true how you described this problem.

The problem is with the PROCFILES_FULLPATH macro which does not get updated properly on the second round in netsed Processed Files.

I know it is not recommended to have nested Processed Files.

Kinook, what's a workaround for this? I need to Process files, find a file then process another folder and find some files based on the first search.

In ohter words something like two loops. Any ideas?

thank you
Reply With Quote
  #3  
Old 05-20-2010, 11:07 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
For one of the loops, store the filenames in a macro and use a repeating build rule to iterate.
http://www.kinook.com/VisBuildPro/Ma...scriptloop.htm

Or put the inner loop in another .bld file and call it with the VisBuildPro Project action.
http://www.kinook.com/VisBuildPro/Ma...projaction.htm
Reply With Quote
  #4  
Old 02-22-2012, 02:32 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Nesting is supported in v8.0.
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 10:22 AM.


Copyright © 1999-2023 Kinook Software, Inc.