SaveAndWait Recipe

Parent Previous Next

SaveAndWait Recipe

Function to save and wait until it is finished, a Recipe Document in the default path or a path specified in the parameters.


Syntax:

Void SaveAndWait(String RecipeFile):
Save the Recipe in the default path.

Void SaveAndWait(String RecipeFile,String Path):
Save Recipe in the path passed in the parameter. The path passed in the parameter will replace the Path configured in the Recipe Document.

Params:

String RecipeFile: A String parameter containing the name of the Recipe Document that will be saved.

String Path: A String parameter containing a Path that the Recipe will be saved.


Example:

Save the Recipe Document named 'Recipe1' in the default path.

  


SVRecipe.SaveAndWait("Recipe1");

 


Save the Recipe Document named 'Recipe1' in the path 'C:\Recipes\recipe1.rpf'

  


SVRecipe.SaveAndWait("Recipe1","C:\\Recipes\\recipe1.rpf");

 



 

 Note: The Parameter Path should have the name of the file with the extension .rpf