home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _613D2C300C934294828DF32F99503F67 < prev    next >
Text File  |  2003-03-07  |  49KB  |  1,904 lines

  1. {Page}
  2.  
  3. Syntax
  4.  
  5. {Page.Property}
  6.  
  7. Description
  8.  
  9. {Page} affects the active sheet(s). The next table lists the possible settings for Property. To display a property description with syntax, choose the property in the following list:
  10.  
  11. Property    Description
  12.  
  13. Conditional_Color    Changes the color of specific types of data in the active sheet: values above or below a specified range, and ERR values
  14.  
  15. Default_Width    Sets the default width of all columns in the active sheet
  16.  
  17. Display    Sets display characteristics for the active sheet
  18.  
  19. Name    Controls the name of the active sheet
  20.  
  21. Protection    Turns on protection in the active sheet
  22.  
  23. Tab_Color    Changes the tab color of the active sheet
  24.  
  25. Zoom_Factor    Lets you pull back to see a whole printed page, or focus in on the detail of a few cells
  26.  
  27. You can use {Page?} or {Page!} to display the Active Sheet dialog box. {Page?} lets you manipulate the dialog box, whereas {Page!} relies on the macro to manipulate it.
  28.  
  29. {Page.Conditional_Color}
  30.  
  31. Syntax
  32.  
  33. {Page.Conditional_Color<Option>}
  34.  
  35. PerfectScript Syntax
  36.  
  37. Page_Conditional_Color (Settings:String)
  38.  
  39. Page_Conditional_Color_Above_Normal_Color (ColorID:Numeric)
  40.  
  41. Page_Conditional_Color_Below_Normal_Color (ColorID:Numeric)
  42.  
  43. Page_Conditional_Color_Enable (Enable?:Enumeration {Yes!; No!})
  44.  
  45. Page_Conditional_Color_ERR_Color (ColorID:Numeric)
  46.  
  47. Page_Conditional_Color_Greatest_Normal_Value (Value:Numeric)
  48.  
  49. Page_Conditional_Color_Normal_Color (ColorID:Numeric)
  50.  
  51. Page_Conditional_Color_Smallest_Normal_Value (Value:Numeric)
  52.  
  53. Description
  54.  
  55. {Page.Conditional_Color} is equivalent to thesheet property Conditional Color, which makes cells change text color (based on the value in the cell). Each color specified in these commands is a number from 0 to 15, corresponding to which color of the notebook palette to use (1 through 16).
  56.  
  57. Example
  58.  
  59. The following macro makes negative values red, values greater than 10,000 green, ERR cells cyan, and positive values less than 10,000 black (assuming the default notebook palette is used).
  60.  
  61.     {Page.Conditional_Color "Yes,0,10000,4,3,5,7"}
  62.  
  63. Options
  64.  
  65. {Page.Conditional_Color "Enable, SmallVal, GreatVal, BelowColor, NormalColor, AboveColor, ERRColor"}    Changes the color of specific types of data in the active sheet: values above or below a specified range, and ERR values
  66.  
  67. {Page.Conditional_Color.Above_Normal_Color 0-15}    Sets the color of cells whose values are above the Greatest Normal Value
  68.  
  69. {Page.Conditional_Color.Below_Normal_Color 0-15}    Sets the color of cells whose values are below the Smallest Normal Value
  70.  
  71. {Page.Conditional_Color.Enable Yes|No}    Indicates whether to use the conditional colors set with this property
  72.  
  73. {Page.Conditional_Color.ERR_Color 0-15}    Specifies the color to use for ERR and NA values generated by formula errors
  74.  
  75. {Page.Conditional_Color.Greatest_Normal_Value Value}    Specifies the largest value of the range of values you consider normal
  76.  
  77. {Page.Conditional_Color.Normal_Color 0-15}    Sets the color of cells whose value falls within the range set by the Smallest Normal Value and the Greatest Normal Value
  78.  
  79. {Page.Conditional_Color.Smallest_Normal_Value Value}    Specifies the smallest value of the range of values you consider normal
  80.  
  81. {Page.Default_Width}
  82.  
  83. Syntax
  84.  
  85. {Page.Default_Width Width}
  86.  
  87. PerfectScript Syntax
  88.  
  89. Page_Default_Width (Width:Numeric)
  90.  
  91. Description
  92.  
  93. {Page.Default_Width} is equivalent to the sheet property Default Width. It sets the default column width of the active sheet. Width is the new column width in twips (a twip is 1/1440th of an inch).
  94.  
  95. Example
  96.  
  97. {Page.Default_Width "720"} makes the default column width a half inch (720 twips).
  98.  
  99. {Page.Display
  100.  
  101. Syntax
  102.  
  103. {Page.Display<Option>}
  104.  
  105. PerfectScript Syntax
  106.  
  107. Page_Display (Settings:String)
  108.  
  109. Page_Display_Borders (Settings:String)
  110.  
  111. Page_Display_Borders_Column_Borders (Show?:Enumeration {Yes!; No!})
  112.  
  113. Page_Display_Borders_Row_Borders (Show?:Enumeration {Yes!; No!})
  114.  
  115. Page_Display_Display_Zeros (Show?:Enumeration {Yes!; No!})
  116.  
  117. Page_Display_Grid_Lines (Settings:String)
  118.  
  119. Page_Display_Grid_Lines_Horizontal (Show?:Enumeration {Yes!; No!})
  120.  
  121. Page_Display_Grid_Lines_Vertical (Show?:Enumeration {Yes!; No!})
  122.  
  123. Description
  124.  
  125. {Page.Display} is equivalent to the sheet property Display, which sets the display of zeros, borders, and grid lines. The arguments of {Page.Display} (which sets all options of the Display property in one command) use the same syntax as those in the {Page.Display.Option} commands. All {Page.Display} arguments take Yes|No string values.
  126.  
  127. Example
  128.  
  129. The following macro displays zero values on the sheet, but hides borders and grid lines.
  130.  
  131. {Page.Display "Yes,No,No,No,No"}
  132.  
  133. Options
  134.  
  135. {Page.Display DisplayZeros?(Yes|No), RowBorders?(Yes|No), ColumnBorders?(Yes|No), HorzGridLines?(Yes|No), VertGridLines?(Yes|No)}    Sets display characteristics for the active sheet
  136.  
  137. {Page.Display.Borders "RowBorders?(Yes|No), ColumnBorders?(Yes|No)}    Turns border options off and on in the active sheet
  138.  
  139. {Page.Display.Borders.Column_Borders Yes|No}    Turns column borders off and on in the active sheet
  140.  
  141. {Page.Display.Borders.Row_Borders Yes|No}    Turns row borders off and on in the active sheet
  142.  
  143. {Page.Display.Display_Zeros Yes|No}    Suppresses display of any value in the active sheet that exactly equals zero
  144.  
  145. {Page.Display.Grid_Lines "HorizGridLines?(Yes|No), VertGridLines?(Yes|No)"}    Turns spreadsheet grid off and on in the active sheet
  146.  
  147. {Page.Display.Grid_Lines.Horizontal Yes|No}    Turns horizontal spreadsheet grid off and on in the active sheet
  148.  
  149. {Page.Display.Grid_Lines.Vertical Yes|No}    Turns vertical spreadsheet grid off and on in the active sheet
  150.  
  151. {Page.Name}
  152.  
  153. Syntax
  154.  
  155. {Page.Name NewName}
  156.  
  157. PerfectScript Syntax
  158.  
  159. Page_Name (NewName:String)
  160.  
  161. Description
  162.  
  163. {Page.Name NewName} is equivalent to the sheet property Name. It sets the name of the active sheet to NewName.
  164.  
  165. {Page.Protection}
  166.  
  167. Syntax
  168.  
  169. {Page.Protection<Option>}
  170.  
  171. Syntax
  172.  
  173. Page_Protection (Settings:String)
  174.  
  175. Page_Protection_Cells (Protect?:Enumeration {Yes!; No!})
  176.  
  177. Page_Protection_Objects (Protect?:Enumeration {Yes!; No!})
  178.  
  179. Description
  180.  
  181. {Page.Protection} is equivalent to the sheet property Protection. It enables or disables cell and object protection on the active sheet.
  182.  
  183. Options
  184.  
  185. {Page.Protection "CellLocking?(Yes|No), ObjectLocking?(Yes|No)"}    Turns on protection in the active sheet
  186.  
  187. {Page.Protection.Cells Yes|No}    Protects all cell entries in the active sheet
  188.  
  189. {Page.Protection.Objects Yes|No}    Protects all objects in the active sheet
  190.  
  191. {Page.Tab_Color}
  192.  
  193. Syntax
  194.  
  195. {Page.Tab_Color "Red, Green, Blue, UseRGB?"}
  196.  
  197. PerfectScript Syntax
  198.  
  199. Page_Tab_Color (Settings:String)
  200.  
  201. Description
  202.  
  203. {Page.Tab_Color} changes the tab color of the active sheet; Red, Green, and Blue are integers from 0 to 255.
  204.  
  205. {Page.Zoom_Factor}
  206.  
  207. Syntax
  208.  
  209. {Page.Zoom_Factor 10-400}
  210.  
  211. PerfectScript Syntax
  212.  
  213. Page_Zoom_Factor (Factor:Numeric)
  214.  
  215. Description
  216.  
  217. {Page.Zoom_Factor} sets the zoom factor of the active sheet (from 10% to 400%). This setting is for display only and does not affect printed output.
  218.  
  219. {PageViewGoto}
  220.  
  221. Description
  222.  
  223. Switches from either the Objects Sheet or the sheet in Draft mode to Page View.
  224.  
  225. {PANELOFF}
  226.  
  227. Description
  228.  
  229. {PANELOFF} disables normal display of menus and prompts during macro execution when Quattro Pro's Macro Suppress-Redraw property is set to None. It can significantly speed up execution for macros that use keystrokes to walk through menus, since it saves Quattro Pro the time normally needed to draw its menus on the screen. Its effect is canceled by Quattro Pro once the macro stops executing, so you need not worry about locking macro users out of the menus. To cancel its effect during macro execution, use {PANELON}.
  230.  
  231. {PANELOFF} does not disable menus created by {MENUCALL} and {MENUBRANCH} or subroutine calls that use menus or dialog boxes. Use this command with {WINDOWSOFF} to completely disable normal screen updating.
  232.  
  233. {PANELON}
  234.  
  235. Description
  236.  
  237. {PANELON} enables display of menus and prompts that have been disabled with {PANELOFF}. {PANELON} has no effect if used without an accompanying {PANELOFF}. Therefore, it can be used repeatedly with no ill effects.
  238.  
  239. Use this command with {WINDOWSON} to completely restore normal screen updating.
  240.  
  241. {ParseExpert.ApplyFormatting}
  242.  
  243. Syntax
  244.  
  245. {ParseExpert.ApplyFormatting Apply}
  246.  
  247. PerfectScript Syntax
  248.  
  249. ParseExpert_ApplyFormatting (Apply?:Enumeration {Yes!; No!})
  250.  
  251. Description
  252.  
  253. Lets you specify whether the column alignment and format specified in the Preview pane should be applied to the destination cells.
  254.  
  255. Parameter
  256.  
  257. Apply    0 Do not apply to the destination cells.
  258.  
  259. 1 Apply to the destination cells.
  260.  
  261. {ParseExpert.CellDelimiterString}
  262.  
  263. Syntax
  264.  
  265. {ParseExpert.CellDelimiterString Value}
  266.  
  267. PerfectScript Syntax
  268.  
  269. ParseExpert_CellDelimiterString (Value?: String)
  270.  
  271. Description
  272.  
  273. Lets you specify the string to use as the cell delimiter.
  274.  
  275. Parameter
  276.  
  277. Value    The string
  278.  
  279. {ParseExpert.CellDelimiterTypeComma}
  280.  
  281. Syntax
  282.  
  283. {ParseExpert.CellDelimiterTypeComma Enable}
  284.  
  285. PerfectScript Syntax
  286.  
  287. ParseExpert_CellDelimiterTypeComma {Yes!; No!}
  288.  
  289. Description
  290.  
  291. Lets you specify whether or not to make the cell delimiter a comma.
  292.  
  293. Parameter
  294.  
  295. Enable    0 Do not make the cell delimiter a comma.
  296.  
  297. 1 Make the cell delimiter a comma
  298.  
  299. {ParseExpert.CellDelimiterTypeMultiSpace}
  300.  
  301. Syntax
  302.  
  303. {ParseExpert.CellDelimiterTypeMultiSpace Enable}
  304.  
  305. PerfectScript Syntax
  306.  
  307. ParseExpert_CellDelimiterTypeMultiSpace {Yes!; No!}
  308.  
  309. Description
  310.  
  311. Lets you specify whether or not to make the cell delimiter a multi-space.
  312.  
  313. Parameter
  314.  
  315. Enable    0 Do not make the cell delimiter a multi-space.
  316.  
  317. 1 Make the cell delimiter a multi-space.
  318.  
  319. {ParseExpert.CellDelimiterTypeOther}
  320.  
  321. Syntax
  322.  
  323. {ParseExpert.CellDelimiterTypeOther Enable}
  324.  
  325. PerfectScript Syntax
  326.  
  327. ParseExpert_CellDelimiterTypeOther {Yes!; No!}
  328.  
  329. Description
  330.  
  331. Lets you specify whether or not to make the cell delimiter a character other than a comma, a multi-space, a semicolon, a space,.or a tab.
  332.  
  333. Parameter
  334.  
  335. Enable    0 Do not make the cell delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  336.  
  337. 1 Make the cell delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  338.  
  339. {ParseExpert.CellDelimiterTypeReturn}
  340.  
  341. Syntax
  342.  
  343. {ParseExpert.Return Enable}
  344.  
  345. PerfectScript Syntax
  346.  
  347. ParseExpert_CellDelimiterTypeReturn {Yes!; No!}
  348.  
  349. Description
  350.  
  351. Lets you specify whether or not to make the cell delimiter a carriage return.
  352.  
  353. Parameter
  354.  
  355. Enable    0 Do not make the cell delimiter a carriage return.
  356.  
  357. 1 Make the cell delimiter a carriage return.
  358.  
  359. {ParseExpert.CellDelimiterTypeSemiColon}
  360.  
  361. Syntax
  362.  
  363. {ParseExpert.CellDelimiterTypeSemiColon Enable}
  364.  
  365. PerfectScript Syntax
  366.  
  367. ParseExpert_CellDelimiterTypeSemiColon {Yes!; No!}
  368.  
  369. Description
  370.  
  371. Lets you specify whether or not to make the cell delimiter a semicolon.
  372.  
  373. Parameter
  374.  
  375. Enable    0 Do not make the cell delimiter a semicolon.
  376.  
  377. 1 Make the cell delimiter a semicolon.
  378.  
  379. {ParseExpert.CellDelimiterTypeSpace}
  380.  
  381. Syntax
  382.  
  383. {ParseExpert.CellDelimiterTypeSpace Enable
  384.  
  385. PerfectScript Syntax
  386.  
  387. ParseExpert_CellDelimiterTypeSpace {Yes!; No!}
  388.  
  389. Description
  390.  
  391. Lets you specify whether or not to make the cell delimiter a space.
  392.  
  393. Parameter
  394.  
  395. Enable    0 Do not make the cell delimiter a space.
  396.  
  397. 1 Make the cell delimiter a space.
  398.  
  399. {ParseExpert.CellDelimiterTypeTab}
  400.  
  401. Syntax
  402.  
  403. {ParseExpert.CellDelimeterTypeTab Enable}
  404.  
  405. PerfectScript Syntax
  406.  
  407. ParseExpert_CellDelimiterTypeTab {Yes!; No!}
  408.  
  409. Description
  410.  
  411. Lets you specify whether or not to make the cell delimiter a tab.
  412.  
  413. Parameter
  414.  
  415. Enable    0 Do not make the cell delimiter a tab.
  416.  
  417. 1 Make the cell delimiter a tab.
  418.  
  419. {ParseExpert.ColumnWidths}
  420.  
  421. Syntax
  422.  
  423. {ParseExpert.ColumnWidths Apply}
  424.  
  425. PerfectScript Syntax
  426.  
  427. ParseExpert_ColumnWidths (Apply?:Enumeration {Yes!; No!})
  428.  
  429. Description
  430.  
  431. Lets you specify whether or not the columns widths specified in the preview pane should be applied to the destination cells.
  432.  
  433. Parameter
  434.  
  435. Apply    0 Do not apply to the destination cells.
  436.  
  437. 1 Apply to the destination cells.
  438.  
  439. {ParseExpert.ConsecutiveAsOne}
  440.  
  441. Syntax
  442.  
  443. {ParseExpert.ConsecutiveAsOne Apply}
  444.  
  445. PerfectScript Syntax
  446.  
  447. ParseExpert_ConsecutiveAsOne (Apply?:Enumeration {Yes!; No!})
  448.  
  449. Description
  450.  
  451. Lets you specify whether or not to skip the delimiters that do not enclose data.
  452.  
  453. Parameter
  454.  
  455. Apply    0 Do not skip the delimiters
  456.  
  457. 1 Skip the delimiters
  458.  
  459. {ParseExpert.DataType}
  460.  
  461. Syntax
  462.  
  463. {ParseExpert.DataType Type}
  464.  
  465. PerfectScript Syntax
  466.  
  467. ParseExpert_DataType (Type?:String)
  468.  
  469. Description
  470.  
  471. Lets you specify which additional parse options are displayed.
  472.  
  473. Parameter
  474.  
  475. Type    "Fixed" Display the fixed parse options.
  476.  
  477. "Delmited" Display the delimited parse options.
  478.  
  479. {ParseExpert.DelimiterType}
  480.  
  481. Syntax
  482.  
  483. {ParseExpert.DelimiterType Type}
  484.  
  485. PerfectScript Syntax
  486.  
  487. ParseExpert_DelimiterType (Type?:String)
  488.  
  489. Description
  490.  
  491. Lets you specify which delimiter separates text.
  492.  
  493. Parameter
  494.  
  495. Type    "Space" Separates text with a space.
  496.  
  497. "Tab" Separates text with a tab.
  498.  
  499. "Comma" Separates text with a comma.
  500.  
  501. "CommaQuote" Separates text with a comma quote.
  502.  
  503. "Other" Separates text with a delimiter other than a space, a tab, a comma, or a comma quote.
  504.  
  505. {ParseExpert.Go}
  506.  
  507. Syntax
  508.  
  509. {ParseExpert.Go}
  510.  
  511. PerfectScript Syntax
  512.  
  513. ParseExpert_Go ()
  514.  
  515. Description
  516.  
  517. Parses the text and copies it as data to the destination cells.
  518.  
  519. {ParseExpert.IgnoreNonConformingRows}
  520.  
  521. Syntax
  522.  
  523. {ParseExpert.IgnoreNonConformingRows Apply}
  524.  
  525. PerfectScript Syntax
  526.  
  527. ParseExpert_IgnoreNonConformingRows (Apply?:Enumeration {Yes!; No!})
  528.  
  529. Description
  530.  
  531. Lets you specify whether or not to skip the lines in the text that the QuickColumns Expert cannot parse.
  532.  
  533. Parameter
  534.  
  535. Apply    0 Do not skip the lines.
  536.  
  537. 1 Skip the lines.
  538.  
  539. {ParseExpert.InputBlock}
  540.  
  541. Syntax
  542.  
  543. {ParseExpert.InputBlock Block}
  544.  
  545. PerfectScript Syntax
  546.  
  547. ParseExpert_InputBlock (Block?:String)
  548.  
  549. Description
  550.  
  551. Lets you specify the range of cells to parse.
  552.  
  553. Parameter
  554.  
  555. Block    The range of cells
  556.  
  557. {ParseExpert.InputFile}
  558.  
  559. Syntax
  560.  
  561. {ParseExpert.InputFile Filename}
  562.  
  563. PerfectScript Syntax
  564.  
  565. ParseExpert_InputFile (Filename?:String)
  566.  
  567. Description
  568.  
  569. Lets you specify the name of the file.
  570.  
  571. Parameter
  572.  
  573. Filename    The name of the file
  574.  
  575. {ParseExpert.InputType}
  576.  
  577. Syntax
  578.  
  579. {ParseExpert.InputType Type}
  580.  
  581. PerfectScript Syntax
  582.  
  583. ParseExpert_InputType (Type?:String)
  584.  
  585. Description
  586.  
  587. Lets you specify whether you want to parse data from a file or from the spreadsheet.
  588.  
  589. Example
  590.  
  591. {ParseExpert.InputType "Block"}
  592.  
  593. Result: Parse data from the spreadsheet.
  594.  
  595. Parameter
  596.  
  597. Type    File
  598.  
  599. Parse data from a file.
  600.  
  601. Block
  602.  
  603. Parse data from the spreadsheet.
  604.  
  605. {ParseExpert.JoinBrokenLines}
  606.  
  607. Syntax
  608.  
  609. {ParseExpert.JoinBrokenLines Apply}
  610.  
  611. PerfectScript Syntax
  612.  
  613. ParseExpert_JoinBrokenLines (Apply?:Enumeration {Yes!; No!})
  614.  
  615. Description
  616.  
  617. Lets you specify whether or not to restore the wrapped lines in the text file to single lines.
  618.  
  619. Parameter
  620.  
  621. Apply    0 Do not restore the wrapped lines.
  622.  
  623. 1 Restore the wrapped lines.
  624.  
  625. {ParseExpert.LineLength}
  626.  
  627. Syntax
  628.  
  629. {ParseExpert.LineLength Length}
  630.  
  631. PerfectScript Syntax
  632.  
  633. ParseExpert_LineLength (Length?:Numeric)
  634.  
  635. Description
  636.  
  637. Lets you specify the number of characters to count before restoring wrapped lines to single files.
  638.  
  639. Parameter
  640.  
  641. Length    The number of characters to count
  642.  
  643. {ParseExpert.LoadSettings}
  644.  
  645. Syntax
  646.  
  647. {ParseExpert.LoadSettings}
  648.  
  649. PerfectScript Syntax
  650.  
  651. ParseExpert_LoadSettings ()
  652.  
  653. Description
  654.  
  655. Loads the saved parse settings.
  656.  
  657. {ParseExpert.OtherDelimiter}
  658.  
  659. Syntax
  660.  
  661. {ParseExpert.OtherDelimiter Delimiter}
  662.  
  663. PerfectScript Syntax
  664.  
  665. ParseExpert_OtherDelimiter (Delimiter?:String)
  666.  
  667. Description
  668.  
  669. Lets you specify the character to separate the text other than a tab, a comma, a quote, or a space.
  670.  
  671. Parameter
  672.  
  673. Delimiter    The character to separate the text
  674.  
  675. {ParseExpert.OutputBlock}
  676.  
  677. Syntax
  678.  
  679. {ParseExpert.OutputBlock Block}
  680.  
  681. PerfectScript Syntax
  682.  
  683. ParseExpert_OutputBlock (Block?:String)
  684.  
  685. Description
  686.  
  687. Lets you specify the cells where you want to enter the parsed text.
  688.  
  689. Parameter
  690.  
  691. Block    The cells where you want to enter the parsed text
  692.  
  693. {ParseExpert.PageLength}
  694.  
  695. Syntax
  696.  
  697. {ParseExpert.PageLength Length}
  698.  
  699. PerfectScript Syntax
  700.  
  701. ParseExpert_PageLength (Length?:Numeric)
  702.  
  703. Description
  704.  
  705. Lets you specify the number of unparsed text lines on each page.
  706.  
  707. Parameter
  708.  
  709. Length    The number of unparsed text lines
  710.  
  711. {ParseExpert.PageLengthEnabled}
  712.  
  713. Syntax
  714.  
  715. {ParseExpert.PageLengthEnabled Apply}
  716.  
  717. PerfectScript Syntax
  718.  
  719. ParseExpert_PageLengthEnabled (Apply?:Enumeration {Yes!; No!})
  720.  
  721. Description
  722.  
  723. Lets you specify whether to skip text rows or to copy text rows into the destination cells as unparsed text.
  724.  
  725. Parameter
  726.  
  727. Apply    0 Skips text rows
  728.  
  729. 1 Copies text rows
  730.  
  731. {ParseExpert.Restore}
  732.  
  733. Syntax
  734.  
  735. {ParseExpert.Restore}
  736.  
  737. PerfectScript Syntax
  738.  
  739. ParseExpert_Restore ()
  740.  
  741. Description
  742.  
  743. Restores the current page settings to the default page settings.
  744.  
  745. Note
  746.  
  747.   You do not need to use this command in versions of Quattro Pro later than Corel Quattro Pro 8.
  748.   
  749. {ParseExpert.RowDelimiterString}
  750.  
  751. Syntax
  752.  
  753. {ParseExpert.RowDelimiterString Value}
  754.  
  755. PerfectScript Syntax
  756.  
  757. ParseExpert_RowDelimiterString (Value?:String)
  758.  
  759. Description
  760.  
  761. Lets you specify the row delimiter
  762.  
  763. Parameter
  764.  
  765. Value    The row delimiter
  766.  
  767. {ParseExpert.RowDelimiterTypeComma}
  768.  
  769. Syntax
  770.  
  771. {ParseExpert.RowDelimiterTypeComma Enable}
  772.  
  773. PerfectScript Syntax
  774.  
  775. ParseExpert_RowDelimiterTypeComma {Yes!; No!}
  776.  
  777. Description
  778.  
  779. Lets you specify whether or not to make the row delimiter a comma.
  780.  
  781. Parameter
  782.  
  783. Enable    0 Do not make the row delimiter a comma.
  784.  
  785. 1 Make the row delimiter a comma.
  786.  
  787. {ParseExpert.RowDelimiterTypeMultiSpace}
  788.  
  789. Syntax
  790.  
  791. {ParseExpert.RowDelimiterTypeMultiSpace Enable}
  792.  
  793. PerfectScript Syntax
  794.  
  795. ParseExpert_RowDelimiterTypeMultiSpace {Yes!; No!}
  796.  
  797. Description
  798.  
  799. Lets you specify whether or not to make the row delimiter a multi-space.
  800.  
  801. Parameter
  802.  
  803. Enable    0 Do not make the row delimiter a multi-space
  804.  
  805. 1 Make the row delimiter a multi-space.
  806.  
  807. {ParseExpert.RowDelimiterTypeOther}
  808.  
  809. Syntax
  810.  
  811. {ParseExpert.RowDelimiterTypeOther Enable}
  812.  
  813. PerfectScript Syntax
  814.  
  815. ParseExpert_RowDelimiterTypeOther {Yes!; No!}
  816.  
  817. Description
  818.  
  819. Lets you specify whether or not to make the row delimiter a character other than a comma, a multi-space, a semicolon, a space,.or a tab.
  820.  
  821. Parameter
  822.  
  823. Enable    0 Do not make the row delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  824.  
  825. 1 Make the row delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  826.  
  827. {ParseExpert.RowDelimiterTypeReturn}
  828.  
  829. Syntax
  830.  
  831. {ParseExpert.RowDelimiterTypeReturn Enable}
  832.  
  833. PerfectScript Syntax
  834.  
  835. ParseExpert_RowDelimiterTypeReturn {Yes!; No!}
  836.  
  837. Description
  838.  
  839. Lets you specify whether or not to make the row delimiter a carriage return.
  840.  
  841. Parameter
  842.  
  843. Enable    0 Do not make the row delimiter a carriage return.
  844.  
  845. 1 Make the row delimiter a carriage return.
  846.  
  847. {ParseExpert.RowDelimiterTypeSemiColon}
  848.  
  849. Syntax
  850.  
  851. {ParseExpert.RowDelimiterTypeSemiColon Enable}
  852.  
  853. PerfectScript Syntax
  854.  
  855. ParseExpert_RowDelimiterTypeSemiColon {Yes!; No!}
  856.  
  857. Description
  858.  
  859. Lets you specify whether or not to make the row delimiter a semicolon.
  860.  
  861. Parameter
  862.  
  863. Enable    0 Do not make the row delimiter a semicolon.
  864.  
  865. 1 Make the row delimiter a semicolon.
  866.  
  867. {ParseExpert.RowDelimiterTypeSpace}
  868.  
  869. Syntax
  870.  
  871. {ParseExpert.RowDelimiterTypeSpace Enable}
  872.  
  873. PerfectScript Syntax
  874.  
  875. ParseExpert_RowDelimiterTypeSpace {Yes!; No!}
  876.  
  877. Description
  878.  
  879. Lets you specify whether or not to make the row delimiter a space.
  880.  
  881. Parameter
  882.  
  883. Enable    0 Do not make the row delimiter a space.
  884.  
  885. 1 Make the row delimiter a space.
  886.  
  887. {ParseExpert.RowDelimiterTypeTab}
  888.  
  889. Syntax
  890.  
  891. {ParseExpert.RowDelimiterTypeTab Enable}
  892.  
  893. PerfectScript Syntax
  894.  
  895. ParseExpert_RowDelimiterTypeTab {Yes!; No!}
  896.  
  897. Description
  898.  
  899. Lets you specify whether or not to make the row delimiter a tab.
  900.  
  901. Parameter
  902.  
  903. Enable    0 Do not make the row delimiter a tab.
  904.  
  905. 1 Make the row delimiter a tab.
  906.  
  907. {ParseExpert.SaveSettings}
  908.  
  909. Syntax
  910.  
  911. {ParseExpert.SaveSettings}
  912.  
  913. PerfectScript Syntax
  914.  
  915. ParseExpert_SaveSettings ()
  916.  
  917. Description
  918.  
  919. Saves the current parse settings.
  920.  
  921. {ParseExpert.SettingsFile}
  922.  
  923. Syntax
  924.  
  925. {ParseExpert.SettingsFile Filename}
  926.  
  927. PerfectScript Syntax
  928.  
  929. ParseExpert_SettingsFile (Filename?:String)
  930.  
  931. Description
  932.  
  933. Save the current parse settings as a file.
  934.  
  935. Parameter
  936.  
  937. Filename    The name of the file
  938.  
  939. {ParseExpert.SheetDelimiterString}
  940.  
  941. Syntax
  942.  
  943. {ParseExpert.SheetDelimiterString Value}
  944.  
  945. PerfectScript Syntax
  946.  
  947. ParseExpert_SheetDelimiterString (Value?: String)
  948.  
  949. Description
  950.  
  951. Lets you specify the sheet delimiter.
  952.  
  953. Parameter
  954.  
  955. Value    The sheet delimiter
  956.  
  957. {ParseExpert.SheetDelimiterTypeComma}
  958.  
  959. Syntax
  960.  
  961. {ParseExpert.SheetDelimiterTypeComma Enable}
  962.  
  963. PerfectScript Syntax
  964.  
  965. ParseExpert_SheetDelimiterTypeComma (Yes!; No!)
  966.  
  967. Description
  968.  
  969. Lets you specify whether or not to make the sheet delimiter a comma.
  970.  
  971. Parameter
  972.  
  973. Enable    0 Do not make the sheet delimiter a comma.
  974.  
  975. 1 Make the sheet delimiter a comma.
  976.  
  977. {ParseExpert.SheetDelimiterTypeMultiSpace}
  978.  
  979. Syntax
  980.  
  981. {ParseExpert.SheetDelimiterTypeMultiSpace Enable}
  982.  
  983. PerfectScript Syntax
  984.  
  985. ParseExpert_SheetDelimiterTypeMultiSpace (Yes!; No!)
  986.  
  987. Description
  988.  
  989. Lets you specify whether or not to make the sheet delimiter a multi-space.
  990.  
  991. Parameter
  992.  
  993. Enable    0 Do not make the sheet delimiter a multi-space.
  994.  
  995. 1 Make the sheet delimiter a multi-space.
  996.  
  997. {ParseExpert.SheetDelimiterTypeOther}
  998.  
  999. Syntax
  1000.  
  1001. {ParseExpert.SheetDelimiterTypeOther Enable}
  1002.  
  1003. PerfectScript Syntax
  1004.  
  1005. ParseExpert_SheetDelimiterTypeOther (Yes!; No!)
  1006.  
  1007. Description
  1008.  
  1009. Lets you specify whether or not to make the sheet delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  1010.  
  1011. Parameter
  1012.  
  1013. Enable    0 Do not make the sheetdelimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  1014.  
  1015. 1 Make the sheet delimiter a character other than a comma, a multi-space, a semicolon, a space, or a tab.
  1016.  
  1017. {ParseExpert.SheetDelimiterTypeReturn}
  1018.  
  1019. Syntax
  1020.  
  1021. {ParseExpert.SheetDelimiterTypeReturn Enable}
  1022.  
  1023. PerfectScript Syntax
  1024.  
  1025. ParseExpert_SheetDelimiterTypeReturn (Yes!; No!)
  1026.  
  1027. Description
  1028.  
  1029. Lets you specify whether or not to make the sheet delimiter a carriage return.
  1030.  
  1031. Parameter
  1032.  
  1033. Enable    0 Do not make the sheet delimiter a carriage return.
  1034.  
  1035. 1 Make the sheet delimiter a carriage return.
  1036.  
  1037. {ParseExpert.SheetDelimiterTypeSemiColon}
  1038.  
  1039. Syntax
  1040.  
  1041. {ParseExpert.SheetDelimiterTypeSemiColon Enable}
  1042.  
  1043. PerfectScript Syntax
  1044.  
  1045. ParseExpert_SheetDelimiterTypeSemiColon (Yes!; No!)
  1046.  
  1047. Description
  1048.  
  1049. Lets you specify whether or not to make the sheet delimiter a semicolon.
  1050.  
  1051. Parameter
  1052.  
  1053. Enable    0 Do not make the sheet delimiter a semicolon.
  1054.  
  1055. 1 Make the sheet delimiter a semicolon.
  1056.  
  1057. {ParseExpert.SheetDelimiterTypeSpace}
  1058.  
  1059. Syntax
  1060.  
  1061. {ParseExpert.SheetDelimiterTypeSpace Enable}
  1062.  
  1063. PerfectScript Syntax
  1064.  
  1065. ParseExpert_SheetDelimiterTypeSpace (Yes!; No!)
  1066.  
  1067. Description
  1068.  
  1069. Lets you specify whether or not to make the sheet delimiter a space.
  1070.  
  1071. Parameter
  1072.  
  1073. Enable    0 Do not make the sheet delimiter a space.
  1074.  
  1075. 1 Make the sheet delimiter a space.
  1076.  
  1077. {ParseExpert.SheetDelimiterTypeTab}
  1078.  
  1079. Syntax
  1080.  
  1081. {ParseExpert.SheetDelimiterTypeTab Enable}
  1082.  
  1083. PerfectScript Syntax
  1084.  
  1085. ParseExpert_SheetDelimiterTypeTab (Yes!; No!)
  1086.  
  1087. Description
  1088.  
  1089. Lets you specify whether or not to make the sheet delimiter a tab.
  1090.  
  1091. Parameter
  1092.  
  1093. Enable    0 Do not make the sheet delimiter a tab.
  1094.  
  1095. 1 Make the sheet delimiter a tab.
  1096.  
  1097. {ParseExpert.Skip1stChar}
  1098.  
  1099. Syntax
  1100.  
  1101. {ParseExpert.Skip1stChar Apply}
  1102.  
  1103. PerfectScript Syntax
  1104.  
  1105. ParseExpert_Skip1stChar (Apply?: Enumeration {Yes!; No!})
  1106.  
  1107. Description
  1108.  
  1109. Lets you specify whether or not to skip the first character in a line of text.
  1110.  
  1111. Parameter
  1112.  
  1113. Apply    0 Do not skip the first character.
  1114.  
  1115. 1 Skip the first character.
  1116.  
  1117. {ParseExpert.TextQualifier}
  1118.  
  1119. Syntax
  1120.  
  1121. {ParseExpert.TextQualifier Type}
  1122.  
  1123. PerfectScript Syntax
  1124.  
  1125. ParseExpert_TextQualifier (Type: String)
  1126.  
  1127. Description
  1128.  
  1129. Lets you specify the character that appears before and after any instance of data that contains the character specified by Other.
  1130.  
  1131. Parameter
  1132.  
  1133. Type    "SingleQuote"
  1134.  
  1135. "DoubleQuote"
  1136.  
  1137. "None"
  1138.  
  1139. {ParseExpert.ValueQualifier}
  1140.  
  1141. Syntax
  1142.  
  1143. {ParseExpert.ValueQualifier Type}
  1144.  
  1145. PerfectScript Syntax
  1146.  
  1147. ParseExpert_ValueQualifier (Type?: String)
  1148.  
  1149. Description
  1150.  
  1151. Lets you specify the character that appears before and after any instance of data that should be parsed as a value.
  1152.  
  1153. Parameter
  1154.  
  1155. Type    "SingleQuote"
  1156.  
  1157. "DoubleQuote"
  1158.  
  1159. "None"
  1160.  
  1161. {Parse}
  1162.  
  1163. Syntax
  1164.  
  1165. {Parse.Option}
  1166.  
  1167. PerfectScript Syntax
  1168.  
  1169. Parse_Create ()
  1170.  
  1171. Parse_EditLine ()
  1172.  
  1173. Parse_Go ()
  1174.  
  1175. Parse_Input (Block:String)
  1176.  
  1177. Parse_Output (Block:String)
  1178.  
  1179. Parse_Reset ()
  1180.  
  1181. Description
  1182.  
  1183. {Parse} breaks long text strings into data fields according to a format line. {Parse.Create} and {Parse.EditLine} act on the active cells.
  1184.  
  1185. Example
  1186.  
  1187. The macro in the next figure selects text cells, builds a format line in the first line of the selected cells, identifies the format line and text as the parse input cells, specifies output cells, and performs the parse:
  1188.  
  1189.     A    B    C    D    E    
  1190.  
  1191. 6    V>>>*L>>>>>*L>>>******L>>>>>>>>>>*L                    {SelectBlock A:A6..A:D7}
  1192.  
  1193. 7    1968,Davis,John,Harisburg,PA                    {Parse.Input A:A6..A:D7}
  1194.  
  1195. 8    1972,Lee,Elizabeth,New York,NY                    {Parse.Output A:A10}
  1196.  
  1197. 9                        {Parse.Create}
  1198.  
  1199. 10                        {Parse.Input A:A7..A:D8}
  1200.  
  1201. 11    1968    Davis,    John    Harrisburg,    PA    {Parse.Output A:A11}
  1202.  
  1203. 12    1972    Lee,    Elizabeth    New York,    NY    {Parse.Go}
  1204.  
  1205. To use {Parse.EditLine}, follow the macro with a {CLEAR} macro command, then the string for the new format line, and a {CR} macro, as shown in the following example:
  1206.  
  1207. {Parse.EditLine}{CLEAR}V>>>*L>>>>>>>>>>******L>>>>>>>>>>*L{CR}
  1208.  
  1209. Options
  1210.  
  1211. {Parse.Create}    Use to build the format line.
  1212.  
  1213. {Parse.EditLine}    Lets you specify a new format line.
  1214.  
  1215. {Parse.Go}    Use after setting up input and output cells and creating a format line.
  1216.  
  1217. {Parse.Input Block}    Indicates the cells to parse.
  1218.  
  1219. {Parse.Output Block}    Indicates the cells to hold parsed data.
  1220.  
  1221. {Parse.Reset}    Clears previous settings.
  1222.  
  1223. {PasteFormat}
  1224.  
  1225. Syntax
  1226.  
  1227. {PasteFormat LinkType}
  1228.  
  1229. PerfectScript Syntax
  1230.  
  1231. PasteFormat (LinkType:String)
  1232.  
  1233. Description
  1234.  
  1235. {PasteFormat} lets you paste data in a specific format (for example, an OLE object) into a notebook. Use LinkType to specify the paste format.
  1236.  
  1237. Example
  1238.  
  1239. {PasteFormat Bitmap} pastes the data in the Clipboard as a bitmap into the active notebook.
  1240.  
  1241. You can use {PasteFormat?} or {PasteFormat!} to display the Paste Special dialog box. {PasteSpecial?} lets you manipulate the dialog box, whereas {PasteSpecial!} relies on the macro to manipulate it.
  1242.  
  1243. Parameters
  1244.  
  1245. LinkType    Format to paste object as
  1246.  
  1247. {PasteLink}
  1248.  
  1249. Description
  1250.  
  1251. {PasteLink} sets up a DDE link to another application.
  1252.  
  1253. {PasteSpecial}
  1254.  
  1255. Syntax
  1256.  
  1257. {PasteSpecial "Properties", "Formula Cells", "Label cells", "Number cells", "Formula Values", "Transpose", "NoBlanks", Cell_Comments}
  1258.  
  1259. PerfectScript Syntax
  1260.  
  1261. PasteSpecial ([Properties:String]; [FormulaCells:String]; [LabelCells:String]; [NumberCells:String]; [FormulaValues:String]; [Transpose:String]; [NoBlanks:String])
  1262.  
  1263. Description
  1264.  
  1265. {PasteSpecial} pastes certain aspects of Quattro Pro data from the Clipboard.
  1266.  
  1267. You can use {PasteSpecial?} or {PasteSpecial!} to display the Paste Special dialog box. {PasteSpecial?} lets you manipulate the dialog box, whereas {PasteSpecial!} relies on the macro to manipulate it.
  1268.  
  1269. Example
  1270.  
  1271. The following macro pastes properties, formula cells, and numbers from the Clipboard, and skips any blank cells.
  1272.  
  1273. {PasteSpecial Properties, Formula Cells,"",Number cells,"","",NoBlanks,""}
  1274.  
  1275. Parameters
  1276.  
  1277. Properties    Properties to paste from Clipboard; "" otherwise
  1278.  
  1279. Formula Cells    Formula cells to paste from Clipboard, "" otherwise
  1280.  
  1281. Number Cells    Number cells to paste from Clipboard, "" otherwise
  1282.  
  1283. Formula Values    Pastes formula cells as values, "" otherwise
  1284.  
  1285. Transpose    Switches the position of entries (data listed in columns is placed in rows and vice versa), "" otherwise
  1286.  
  1287. NoBlanks    Avoids pasting blank cells from Clipboard; "" otherwise
  1288.  
  1289. Cell_Comments    Pastes cell comments; "" otherwise
  1290.  
  1291. {PAUSEMACRO}
  1292.  
  1293. Description
  1294.  
  1295. {PAUSEMACRO} is used with {DODIALOG} or a command equivalent invoked with ! to pause the macro so that you can "finish up" whatever dialog box is displaying. Once you finish using the dialog box (by choosing OK, or canceling it), macro execution resumes with any macro commands following the {PAUSEMACRO}.
  1296.  
  1297. Use {PAUSEMACRO} only when a dialog box is displaying, Quattro Pro is in FIND mode, or Quattro Pro is in INPUT mode (using {RestrictInput.Option}). Otherwise, the macro pauses indefinitely.
  1298.  
  1299. Example
  1300.  
  1301. The following macro displays the Copy Cells dialog box, sets the From edit field to A1, activates the To edit field, and then waits for you to complete the copy operation. Once you finish the dialog box, the macro beeps and moves down a cell.
  1302.  
  1303. _copy_a1    {BlockCopy!}
  1304.  
  1305.         {ALT+F}
  1306.  
  1307.         A1
  1308.  
  1309.         {ALT+T}
  1310.  
  1311.         {PAUSEMACRO}
  1312.  
  1313.         {BEEP}{DOWN}
  1314.  
  1315. {PGDN} and {PGUP}
  1316.  
  1317. Syntax
  1318.  
  1319. {PGDN <Number>},{PGUP <Number>}
  1320.  
  1321. Description
  1322.  
  1323. {PGDN} and {PGUP} are equivalent to PgDn and PgUp, respectively. Use Number to specify how many times the operation is repeated; for example, {PGUP 7} is equivalent to pressing PgUp seven times.
  1324.  
  1325. Parameters
  1326.  
  1327. Number    Any positive integer or address of a cell containing a positive integer (optional)
  1328.  
  1329. {PlayPerfectScript}
  1330.  
  1331. Syntax
  1332.  
  1333. {PlayPerfectScript Filename}
  1334.  
  1335. Description
  1336.  
  1337. {PlayPerfectScript} plays a PerfectScript macro you specify.
  1338.  
  1339. Parameters
  1340.  
  1341. Filename    Name of a PerfectScript macro file to run
  1342.  
  1343. {POKE}
  1344.  
  1345. Syntax
  1346.  
  1347. {POKE DDEChannel, Destination, DataToSend}
  1348.  
  1349. PerfectScript Syntax
  1350.  
  1351. Poke (DDEChannel:Numeric; Destination:String; DataToSend:String)
  1352.  
  1353. Description
  1354.  
  1355. {POKE} sends information to an application that supports Dynamic Data Exchange (DDE). This application is identified by DDEChannel. The type of application determines what Destination is; the destination could be cells in Excel or a bookmark in Word for Windows. DataToSend refers to cells containing the information to send. You must use the command {INITIATE} to open a channel of conversation before you can use {POKE} (this also determines the value of DDEChannel).
  1356.  
  1357. Example
  1358.  
  1359. This example starts a conversation with TASKLIST.OVD, which is a file open in ObjectVision. It sets the ObjectVision field Task to the label stored in new_task, and unchecks the Completed check box. Then the new task is inserted into the task list. The command block contains an ObjectVision command not available in Quattro Pro:
  1360.  
  1361. dde_channel    10
  1362.  
  1363. command    [@INSERT("tasks")]
  1364.  
  1365. exec_result    0
  1366.  
  1367. new_task    Call Jim re: task priorities
  1368.  
  1369. task_status    No
  1370.  
  1371. _new_vision    {INITIATE "VISION","TASKLIST.OVD",dde_channel}
  1372.  
  1373.     {POKE dde_channel,"Task",new_task}
  1374.  
  1375.     {POKE dde_channel,"Completed",task_status}
  1376.  
  1377.     {EXECUTE dde_channel,+command,exec_result}
  1378.  
  1379. Parameters
  1380.  
  1381. DDEChannel    Channel ID number of the application to send information to
  1382.  
  1383. Destination    Location in the application that receives the information being sent
  1384.  
  1385. DataToSend    Cells containing the information to send to the application
  1386.  
  1387. {Preview}
  1388.  
  1389. Description
  1390.  
  1391. {Preview} lets you preview a printout on screen.
  1392.  
  1393. {Print}
  1394.  
  1395. Syntax
  1396.  
  1397. {Print.Option}
  1398.  
  1399. Description
  1400.  
  1401. {Print} is equivalent to the menu items in the following list. To display specific command equivalents, choose one of the following:
  1402.  
  1403. Command options for...
  1404.  
  1405. Page Setup
  1406.  
  1407. Named Settings
  1408.  
  1409. Print
  1410.  
  1411. Page Setup Options
  1412.  
  1413. The command equivalent {Print.PrintReset} resets print settings in all the dialog boxes displayed by these commands.
  1414.  
  1415. You can use {Print?} or {Print!} to display the Spreadsheet Print dialog box. {Print?} lets you manipulate the dialog box, whereas {Print!} relies on the macro to manipulate it.
  1416.  
  1417. Named Settings Command Options
  1418.  
  1419. PerfectScript Syntax
  1420.  
  1421. Print_Create (NamedSetting:String)
  1422.  
  1423. Print_Delete (NamedSetting:String)
  1424.  
  1425. Print_Use (NamedSetting:String)
  1426.  
  1427. Description
  1428.  
  1429. These command options affect named settings for printing. To update an existing named setting, use {Print.Create}. {Print.Delete} removes a named setting from the active notebook. {Print.Use} sets the current print settings to those stored under the name.
  1430.  
  1431. {Print.Create NamedSetting}    Creates a named print setting using the name in the New Set text box
  1432.  
  1433. Replaces the settings stored under the selected name with the current print settings
  1434.  
  1435. {Print.Delete NamedSetting}    Deletes the selected named setting
  1436.  
  1437. {Print.Use NamedSetting}    Uses the selected named print setting
  1438.  
  1439. Page Setup Command Options
  1440.  
  1441. PerfectScript Syntax
  1442.  
  1443. Print_Options ()
  1444.  
  1445. Print_Bottom_Margin (Margin:String)
  1446.  
  1447. Print_Create_Footer (CreateFooter:Enumeration {Yes!; No!})
  1448.  
  1449. Print_Create_Header (CreateHeader:Enumeration {Yes!; No!})
  1450.  
  1451. Print_Footer (String:String)
  1452.  
  1453. Print_Footer_Margin (Margin:String)
  1454.  
  1455. Print_Footers_Font (Settings:String)
  1456.  
  1457. Print_Header (String:String)
  1458.  
  1459. Print_Header_Margin (Margin:String)
  1460.  
  1461. Print_Headers_Font (Settings:String)
  1462.  
  1463. Print_Left_Margin (Margin:String)
  1464.  
  1465. Print_Pages_Down (PagesDown:Numeric)
  1466.  
  1467. Print_Pages_Across (PagesAcross:Numeric)
  1468.  
  1469. Print_Orientation (Setting:String)
  1470.  
  1471. Print_Page_Breaks (Yes?:Enumeration {Yes!; No!})
  1472.  
  1473. Print_PageSetupReset ()
  1474.  
  1475. Print_Paper_Type (PaperSize:String)
  1476.  
  1477. Print_Print_To_Fit (Yes?:Enumeration {Yes!; No!})
  1478.  
  1479. Print_Right_Margin (Margin:String)
  1480.  
  1481. Print_Scaling (PercentageValue:Numeric)
  1482.  
  1483. Print_Top_Margin (Margin:String)
  1484.  
  1485. Description
  1486.  
  1487. These command options affect the page setup. When specifying a margin, the default measurement system is used (set in the Windows Control Panel). To use a specific measurement system, place in (for inches) or cm (for centimeters) after the new margin setting (see the example). The new setting is converted into the default measurement system.
  1488.  
  1489. {Print.Options_Dialog}    Displays the Page Setup dialog.
  1490.  
  1491. {Print.Bottom_Margin Value}    Sets the amount of space between the edge of the page and the bottom of the document
  1492.  
  1493. {Print.CreateFooter Yes|No}    Determines whether your print selection contains a footer.
  1494.  
  1495. {Print.CreateHeader Yes|No}    Determines whether your print block contains a header.
  1496.  
  1497. {Print.Footer FooterString}    Creates and specifies text for a footer
  1498.  
  1499. {Print.Footer_Margin Value}    Sets the amount of space between the last row of data and the footer
  1500.  
  1501. {Print.Footers_Font "Typeface, PointSize, Bold(Yes|No), Italic(Yes|No), Underline(Yes|No), Strikeout(Yes|No)"}    Specifies the typeface, point size, and type style for footer text
  1502.  
  1503. {Print.Header HeaderString}    Creates and specifies text for a header
  1504.  
  1505. {Print.Header_Margin Value}    Sets the amount of space between the header and the first row of data
  1506.  
  1507. {Print.Headers_Font "Typeface, PointSize, Bold (Yes|No), Italic (Yes|No), Underline (Yes|No), Strikeout (Yes|No)"}    Specifies the typeface, point size, and type style for header text
  1508.  
  1509. {Print.Left_Margin Value}    Specifies the amount of space between the edge of the page and the left of the document
  1510.  
  1511. {Print.PagesDown N}    Determines how many pages long a print selection will occupy.
  1512.  
  1513. {Print.PagesAcross N}    Determines how many pages wide a print selection will occupy.
  1514.  
  1515. {Print.Orientation Landscape|Portrait}    Specifies portrait or landscape printing orientation
  1516.  
  1517. {Print.Page_Breaks Yes|No}    Starts a new printed page at each soft page break
  1518.  
  1519. {Print.PageSetupReset}    Resets the dialog box to its default settings, replacing all selections in the dialog box
  1520.  
  1521. {Print.Paper_Type PaperSize}    Controls the paper type and printing orientation
  1522.  
  1523. {Print.Print_To_Fit Yes|No}    Specifies the maximum width and height in pages to use when printing the print selection
  1524.  
  1525. {Print.Right_Margin Value}    Specifies the amount of space between the edge of the page and the right of the document
  1526.  
  1527. {Print.Scaling 1-1000}    Specifies the percentage to increase or decrease the size of notebook data on the printed page
  1528.  
  1529. {Print.Top_Margin Value}    Specifies the amount of space between the edge of the page and the top of the document
  1530.  
  1531. Example
  1532.  
  1533. This macro sets the top and bottom margins to three centimeters, specifies landscape orientation, and sets the paper size to Legal.
  1534.  
  1535. {Print.Top_Margin "3 cm"}
  1536.  
  1537. {Print.Bottom_Margin "3 cm"}
  1538.  
  1539. {Print.Orientation Landscape}
  1540.  
  1541. {Print.Paper_Type "Legal 8 1/2 x 14 inch"}
  1542.  
  1543. Print Command Options
  1544.  
  1545. PerfectScript Syntax
  1546.  
  1547. Print_All_Pages (Yes?:Enumeration {Yes!; No!})
  1548.  
  1549. Print_Area (Area:String)
  1550.  
  1551. Print_Block (Block:String)
  1552.  
  1553. Print_Copies (Number:Numeric)
  1554.  
  1555. Print_DoPrint ()
  1556.  
  1557. Print_DoPrintGraph ()
  1558.  
  1559. Print_End_Page_Number (PageNumber:Numeric)
  1560.  
  1561. Print_Group_Copies (Group:String)
  1562.  
  1563. Print_Start_Page_Number (PageNumber:Numeric)
  1564.  
  1565. PrinterSetup (Printer:String; Port:String; PrintToFile?:Enumeration {Yes!; No!}; Filename:String; ReplaceOption:Enumeration {Cancel!; Overwrite!; Backup!; Append!})
  1566.  
  1567. Description
  1568.  
  1569. These command options affect printing. {Print.DoPrint} prints the active notebook (or active chart) using current print settings. {Print.DoPrintGraph} provides a quick way to print a chart. If a floating chart is selected, {Print.DoPrintGraph} prints the chart being shown; if a chart icon is selected, {Print.DoPrintGraph} prints the chart represented by that icon; if a chart window is active, {Print.DoPrintGraph} prints the chart shown.
  1570.  
  1571. {Print.All_Pages Yes|No}    Prints all notebook pages
  1572.  
  1573. {Print.Area Notebook | Selection | Current Sheet}    Specifies how much of a notebook to print
  1574.  
  1575. {Print.Block Block}    Prints the cells you specify
  1576.  
  1577. {Print.Copies Value}    Specifies the number of copies to print
  1578.  
  1579. {Print.DoPrint}    Sends the document to the printer
  1580.  
  1581. {Print.DoPrintGraph}    Prints the selected chart
  1582.  
  1583. {Print.GroupCopies 0|1}    Prints multiple copies sorted by sets of copies. Will "collate" copies when set to zero, and "group" copies when set to 1.
  1584.  
  1585. {Print.Start_Page_Number Value}    Specifies the beginning and ending pages in the document to print
  1586.  
  1587. {Print.PrinterSetup Printer; Port; PrintToFile (0|1); Filename; CancelOverwrite (0) | Replace (1) | Backup (2) | Append (3)}    Lets you specify details of the printing process
  1588.  
  1589. Example
  1590.  
  1591. This macro selects an icon on the Objects sheet named Report3 and prints the chart it represents.
  1592.  
  1593. {OBJECTSPAGEGOTO}
  1594.  
  1595. {SELECTOBJECT Report3}
  1596.  
  1597. {Print.DoPrintGraph}
  1598.  
  1599.  
  1600.  
  1601. This macro prints pages 7 through 12 of a document. The print selection is A3..C234.
  1602.  
  1603. {Print.Block A3..C234}
  1604.  
  1605. {Print.All_Pages No}
  1606.  
  1607. {Print.Start_Page_Number 7}
  1608.  
  1609. {Print.End_Page_Number 12}
  1610.  
  1611. {Print.DoPrint}
  1612.  
  1613. Page Formatting Command Options
  1614.  
  1615. PerfectScript Syntax
  1616.  
  1617. Print_Between_Block_Formatting (Space:String)
  1618.  
  1619. Print_Between_Page_Formatting (Space:String)
  1620.  
  1621. Print_Cell_Formulas (Yes?:Enumeration {Yes!; No!})
  1622.  
  1623. Print_Center_Block (Yes?:Enumeration {Yes!; No!})
  1624.  
  1625. Print_Left_Heading (Block:String)
  1626.  
  1627. Print_Lines_Between_Blocks (Lines:Numeric)
  1628.  
  1629. Print_Lines_Between_Pages (Lines:Numeric)
  1630.  
  1631. Print_Print_Borders (Yes?:Enumeration {Yes!; No!})
  1632.  
  1633. Print_Print_Gridlines (Yes?:Enumeration {Yes!; No!})
  1634.  
  1635. Print_PrinterSetup (Printer:String; Port:String; PrintToFile?:String; Filename:String; OverWrite?:String)
  1636.  
  1637. Print_PrintOptionsReset ()
  1638.  
  1639. Print_PrintReset ()
  1640.  
  1641. Print_Top_Heading (Block:String)
  1642.  
  1643. Description
  1644.  
  1645. These command options affect spreadsheet printing. {Print.Between_Page_Formatting} and {Print.Lines_Between_Pages} control the amount of space left between notebook sheets (if the print selection spans multiple sheets).
  1646.  
  1647. {Print.Between_Block_Formatting} and {Print.Lines_Between_Blocks} control space between the selections that make up a noncontiguous print selection.
  1648.  
  1649. {Print.Between_Block_Formatting "Lines"|"Page Advance"}    Separates groups of cells with blank lines or page breaks
  1650.  
  1651. {Print.Between_Page_Formatting "Lines"|"Page Advance"}    Separates sheets of 3-D cells with blank lines or page breaks
  1652.  
  1653. {Print.Cell_Formulas Yes|No}    Prints each cell's address and contents instead of its calculated results
  1654.  
  1655. {Print.Center_Block Yes|No}    Centers the cells of the print selection between the left and right margins of the printed page
  1656.  
  1657. {Print.Left_Heading Block}    Adds the cell entries you specify as headings to print at the left of each printed page
  1658.  
  1659. {Print.Lines_Between_Blocks Value}    Specifies how many blank lines to print between each group of cells
  1660.  
  1661. {Print.Lines_Between_Pages Value}    Specifies how many blank lines to print between each sheet of 3-D pages
  1662.  
  1663. {Print.Print_Borders Yes|No}    Includes row and column borders in the printed document
  1664.  
  1665. {Print.Print_Gridlines Yes|No}    Includes the spreadsheet grid in the printed document
  1666.  
  1667. {Print.PrintOptionsReset}    Resets the dialog box to its default settings, replacing all selections in the dialog box
  1668.  
  1669. {Print.Top_Heading Block}    Adds the cell entries you specify as headings to print at the top of each printed page
  1670.  
  1671. {Print.PrintReset}    Resets all print settings
  1672.  
  1673. Example
  1674.  
  1675. This macro specifies that three lines should be printed between each notebook sheet (if the print selection spans multiple sheets), and that row and column borders should print.
  1676.  
  1677. {Print.Between_Page_Formatting "Lines"}
  1678.  
  1679. {Print.Lines_Between_Pages 3}
  1680.  
  1681. {Print.Print_Borders Yes}
  1682.  
  1683. {PTTESTM}
  1684.  
  1685. Syntax
  1686.  
  1687. {PTTESTM InBlock1, InBlock2, OutBlock, <Labels>, <Alpha>, <Difference>}
  1688.  
  1689. PerfectScript Syntax
  1690.  
  1691. PTTESTM (InBlock1:String; InBlock2:String; OutBlock:String; [Labels?:Enumeration {Yes!; No!}]; [Alpha:Numeric]; [Difference:Numeric])
  1692.  
  1693. Description
  1694.  
  1695. {PTTESTM} performs a paired two-sample Student's t-Test for means. Each value from InBlock1 is paired with a value from InBlock2. InBlock1 and InBlock2 must have the same number of values.
  1696.  
  1697. {PTTESTM} is equivalent to the t-Test analysis tool.
  1698.  
  1699. Parameters
  1700.  
  1701. InBlock1    The first input cells containing a column or row of numeric values
  1702.  
  1703. InBlock2    The second input cells containing a column or row of numeric values
  1704.  
  1705. OutBlock    Upper-left cell of the output cells
  1706.  
  1707. Labels    1 if labels are located in the first column or row of the input cells; 0 if the input cells do not contain labels; the default is 0
  1708.  
  1709. Alpha    Significance level of the test; the default is 0.05
  1710.  
  1711. Difference    Hypothetical mean difference; the default is 0
  1712.  
  1713. {PTTESTV}
  1714.  
  1715. Syntax
  1716.  
  1717. {PTTESTV InBlock1,InBlock2,OutBlock,<Labels>,<Alpha>}
  1718.  
  1719. PerfectScript Syntax
  1720.  
  1721. PTTESTV (InBlock1:String; InBlock2:String; OutBlock:String; [Labels?:Enumeration {Yes!; No!}]; [Alpha:Numeric])
  1722.  
  1723. Description
  1724.  
  1725. {PTTESTV} performs a Student's t-Test using two indepependent (rather than paired) samples with unequal variances. {PTTESTV} is equivalent to the t-Test analysis tool.
  1726.  
  1727. Parameters
  1728.  
  1729. InBlock1    The first input cells containing a column or row of numeric values
  1730.  
  1731. InBlock2    The second input cells containing a column or row of numeric values
  1732.  
  1733. OutBlock    Upper-left cell of the output cells
  1734.  
  1735. Labels    1 if labels are located in the first column or row of the input cells; 0 if the input cells do not contain labels; the default is 0
  1736.  
  1737. Alpha    Significance level of the test; the default is 0.05
  1738.  
  1739. {PUT}
  1740.  
  1741. Syntax
  1742.  
  1743. {PUT Location,Column#,Row#,Value<:Type>}
  1744.  
  1745. PerfectScript Syntax
  1746.  
  1747. Put (Block:String; Column:Numeric; Row:Numeric; Value:Any)
  1748.  
  1749. Description
  1750.  
  1751. {PUT}, like {LET}, copies a value to a particular cell. However, instead of placing the value directly in the specified cell, {PUT} copies Value into the cell that is offset Column# columns and Row# rows into Location.
  1752.  
  1753. {PUT} processes Value the same way {LET} does, including the use of :string (or :s) and :value (or :v). If neither of these two optional arguments is supplied, {PUT} tries to store the value as a numeric value; if unsuccessful, it stores the value as a label.
  1754.  
  1755. The values for Column# and Row# can be any number between 0 and one less than the number of columns or rows within Location, respectively. A value of 0 implies the first column or row, 1 implies the second, and so on. If Column# or Row# exceeds the number of columns or rows in the cells, the macro stops. ({ONERROR} cannot trap this error.)
  1756.  
  1757. Example
  1758.  
  1759. Each of the following examples assumes cell A41 contains the value 25, the selection named numbers has been defined as A44..B50, and data is a cell containing the value 295.
  1760.  
  1761. {PUT numbers,1,4,A41:value} copies the value 25 into the cell at the intersection of the second column and the fifth row of the cell numbers (cell B48).
  1762.  
  1763. {PUT numbers,1,5,A41:s} copies the string "A41" into the cell at the 2nd column and the 6th row of the cell numbers (cell B49).
  1764.  
  1765. {PUT numbers,1,6,data} copies the contents of the cell data to the 2nd column and 7th row of numbers (cell B50). If there is no selection named data, this example instead places a label ("data") into cell B50.
  1766.  
  1767. Parameters
  1768.  
  1769. Location    Cells within which Value will be stored, either as a value or label, as specified by Type
  1770.  
  1771. Column#    Number of columns into the specified cells to store Value
  1772.  
  1773. Row#    Number of rows into the specified cells to store Value
  1774.  
  1775. Value    String or numeric value
  1776.  
  1777. Type    String or value; string (or s) stores the value or formula as a label, and value (or v) stores the actual value or value resulting from a formula (optional)
  1778.  
  1779. {PUTBLOCK}
  1780.  
  1781. Syntax
  1782.  
  1783. {PUTBLOCK Data,<Block>,<Date?(0|1)>}
  1784.  
  1785. PerfectScript Syntax
  1786.  
  1787. PutBlock (Data:Any; [Block:String]; [Date?:Enumeration {Yes!; No!}])
  1788.  
  1789. Description
  1790.  
  1791. {PUTBLOCK} lets you quickly enter the same value, label, or formula in multiple cells. Data is a string or value to place in Block. If Block is not specified, the currently selected cells are used. Block can be noncontiguous; if so, be sure to enclose it in parentheses. If Data is a formula containing relative addresses, those addresses are adjusted automatically.
  1792.  
  1793. Example
  1794.  
  1795. {PUTBLOCK "Quarter 1",A..D:A1} enters the label Quarter 1 in cells A:A1 through D:A1.
  1796.  
  1797. {PUTBLOCK 1990,A..D:B1} enters the value 1990 in cells A:B1 through D:B1.
  1798.  
  1799. {PUTBLOCK "+A1",C3..C12) enters the formula +A1 in C3, +A2 in C4, and so on.
  1800.  
  1801. {PUTBLOCK "11/01/94", (A:D3,B:D3,C:D3,D:D3),1} enters the date 11/01/94 in cell D3 of sheets A through D.
  1802.  
  1803. Parameters
  1804.  
  1805. Data    Entry to type
  1806.  
  1807. Block    Cells to type Data in (optional)
  1808.  
  1809. Date?    Whether to enter Data as a date (1) or a label (0)
  1810.  
  1811. {PUTBLOCK2}
  1812.  
  1813. Syntax
  1814.  
  1815. {PUTBLOCK2 Data,<Block>}
  1816.  
  1817. PerfectScript Syntax
  1818.  
  1819. PutBlock2 (Data:Any; [Block:String])
  1820.  
  1821. Description
  1822.  
  1823. {PUTBLOCK2} enters the same value, label, or formula in multiple cells like {PUTBLOCK} but parses date formats automatically and requires a formula prefix before numeric values. Data is a string or value to place in Block. If Block is not specified, the currently selected cells are used. Block can be noncontiguous; if so, be sure to enclose it in parentheses. If Data is a formula containing relative addresses, those addresses are adjusted automatically.
  1824.  
  1825. Example
  1826.  
  1827. {PUTBLOCK2 "Quarter 1",A..D:A1} enters the label Quarter 1 in cells A:A1 through D:A1.
  1828.  
  1829. {PUTBLOCK2 +1990,A..D:B1} enters the value 1990 in cells A:B1 through D:B1.
  1830.  
  1831. {PUTBLOCK2 "+A1",C3..C12) enters the formula +A1 in C3, +A2 in C4, and so on.
  1832.  
  1833. {PUTBLOCK2 "11/01/94", (A:D3,B:D3,C:D3,D:D3)} enters the date 11/01/94 in cell D3 of sheets A through D.
  1834.  
  1835. Parameters
  1836.  
  1837. Data    Entry to type
  1838.  
  1839. Block    Cells to type Data in (optional)
  1840.  
  1841. {PUTCELL}
  1842.  
  1843. Syntax
  1844.  
  1845. {PUTCELL Data,<Date?(0|1)>}
  1846.  
  1847. PerfectScript Syntax
  1848.  
  1849. PutCell (Data:Any; [Date?:Enumeration {Yes!; No!}])
  1850.  
  1851. Description
  1852.  
  1853. {PUTCELL} is an easy way to store information in the active cell.
  1854.  
  1855. Example
  1856.  
  1857. {PUTCELL "Peggy Danderhoff"} stores Peggy Danderhoff as a label in the active cell.
  1858.  
  1859. {PUTCELL 45067} stores the number 45067 as a value in the active cell.
  1860.  
  1861. {PUTCELL "@SUM(A1..A27)"} stores the formula @SUM(A1..A27) in the active cell.
  1862.  
  1863. {PUTCELL "11/01/94",1} stores the date 11/01/94 in the active cell
  1864.  
  1865. Parameters
  1866.  
  1867. Data    String to type into the active cell
  1868.  
  1869.  Date?    Whether to enter Data as a date (1) or a label (0)
  1870.  
  1871. {PUTCELL2}
  1872.  
  1873. Syntax
  1874.  
  1875. {PUTCELL2 Data}
  1876.  
  1877. PerfectScript Syntax
  1878.  
  1879. PutCell2 (Data:Any)
  1880.  
  1881. Description
  1882.  
  1883. {PUTCELL2} stores information in the active cell like {PUTCELL} but parses date formats automatically and requires a formula prefix before numeric values.
  1884.  
  1885. Example
  1886.  
  1887. {PUTCELL2 "Peggy Danderhoff"} stores Peggy Danderhoff as a label in the active cell.
  1888.  
  1889. {PUTCELL2 +45067} stores the number 45067 as a value in the active cell.
  1890.  
  1891. {PUTCELL2 "@SUM(A1..A27)"} stores the formula @SUM(A1..A27) in the active cell.
  1892.  
  1893. {PUTCELL2 "11/01/94"} stores the date 11/01/94 in the active cell
  1894.  
  1895. Parameters
  1896.  
  1897. Data    String to type into the active cell
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.