SetPageCopyRenameParam Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:12

Description

Fill-in automatically the values to apply when coping/renaming articles and to hide the dialog (silent apply).

Syntax

Fred.SetPageCopyRenameParam (iOrder, nValue)

iOrder        

Required.

-1= All parameters. Use it to reset all parameters, e.g.   fred.SetPageCopyRenameParam -1,""

0 = Define the prefix for the names of copied articles. Corresponds to the Add prefix field in the Articles copy dialog box.

1 = Define the suffix for the names of copied articles. Corresponds to the Add suffix field.

2 = Define the starting sequence in the name. Corresponds to the If starts with field.

3 = Define the replacement for the starting sequence in the name. Corresponds to the Replace with field next to the If starts with field.

4 = Define the middle sequence in the name. Corresponds to the If Contains field.

5 = Define the replacement for the middle sequence in the name. Corresponds to the Replace with field next to the If contains field.

6 = Define the end sequence in the name. Corresponds to the If ends with field.

7 = Define the replacement for the end sequence in the name. Corresponds to the Replace with field next to the If ends with field.

8 = Define the folder id for all article texts to be moved to.

nValue        

Required. Values for above parameters.

Param        Value

-1Empty string, e.g. ""
0-7String.
8Basket ID

Example


Context

Fred application dispatcher commands

See also

LayersCopyContent Method (Page)