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

  1. ObjectsPageGoto()
  2.  
  3. Syntax
  4.  
  5. ObjectsPageGoto()
  6.  
  7. Description
  8.  
  9. {OBJECTSPAGEGOTO} displays the Objects sheet of the active notebook. When the Objects sheet is active, you can use {SELECTOBJECT} to select icons, and other object commands to manipulate them.
  10.  
  11. You can use {SELECTBLOCK} to move from the Objects sheet to a spreadsheet sheet.
  12.  
  13. {OLE}
  14.  
  15. Syntax
  16.  
  17. {OLE.Option}
  18.  
  19. PerfectScript Syntax
  20.  
  21. OLE_ActivateAs (ObjectType:String)
  22.  
  23. OLE_AutomaticResize (Auto?:Enumeration {Yes!; No!})
  24.  
  25. OLE_AutomaticUpdate (Auto?:Enumeration {Yes!; No!})
  26.  
  27. OLE_Change_Link (Filename:String)
  28.  
  29. OLE_Change_To_Picture ()
  30.  
  31. OLE_Convert (ObjectType:String)
  32.  
  33. OLE_Display_As_Icon (Icon?:Enumeration {Yes!; No!})
  34.  
  35. OLE_DoVerb (Action:String)
  36.  
  37. OLE_OpenEdit ()
  38.  
  39. OLE_Update ()
  40.  
  41. Description
  42.  
  43. {OLE} affects the selected OLE object. The type of OLE object determines what command equivalents affect it:
  44.  
  45. OLE type    Commands
  46.  
  47. Embedded    {OLE.DoVerb}, {OLE.Convert}, {OLE.Change_To_Picture}, {OLE.DisplayAsIcon}, {OLE.ActivateAs}
  48.  
  49. Linked    {OLE.DoVerb}, {OLE.Change_Link}, {OLE.Update}, {OLE.Convert}, {OLE.Change_To_Picture}, {OLE.DisplayAsIcon}, and {OLE.ActivateAs}
  50.  
  51. Example
  52.  
  53. This macro selects an OLE object named Embedded1, lets you edit the data (in the OLE server), then converts the object into a picture (disabling the OLE link).
  54.  
  55. {SELECTFLOAT Embedded1}
  56.  
  57. {OLE.DoVerb Edit}
  58.  
  59. {OLE.Change_To_Picture}
  60.  
  61. Options
  62.  
  63. {OLE.ActivateAs ObjectType}    Opens the object using a different but compatible application
  64.  
  65. {OLE.AutomaticResize 0|1}    Automatically resizes the object after you edit it
  66.  
  67. {OLE.AutomaticUpdate 0|1}    Turns automatic updating on or off
  68.  
  69. {OLE.Change_Link FileName}    Switches links from one file to another
  70.  
  71. {OLE.Change_To_Picture}    Clicks to convert the embedded picture to a differenty type
  72.  
  73. {OLE.Convert ObjectType}    Converts the embedded information to a different type
  74.  
  75. {OLE.DisplayAsIcon 0|1}    Displays the embedded object as an icon
  76.  
  77. {OLE.DoVerb Action}    Plays, edits, or opens the object
  78.  
  79. {OLE.OpenEdit}    Opens the original application to edit the object
  80.  
  81. {OLE.Update}    Refreshes links to unopened files
  82.  
  83. {OnlineService}
  84.  
  85. Syntax
  86.  
  87. OnlineService(ServiceName As String, [Arguments As String])
  88.  
  89. PerfectScript Syntax
  90.  
  91. OnlineService (ServiceName:String; [Arguments:String])
  92.  
  93. Description
  94.  
  95. {OnlineService} launches internet URL address from a QuickButton.
  96.  
  97. Example
  98.  
  99. {OnlineService Internet,"http://www.corel.com/products/wordperfect/cqp8/index.htm"}
  100.  
  101. Parameters
  102.  
  103. ServiceName    A string indicating the type of online service to use.
  104.  
  105. Arguments    A string indicating the command line to pass to the service.
  106.  
  107. {Optimizer}
  108.  
  109. Syntax
  110.  
  111. {Optimizer.Option}
  112.  
  113. PerfectScript Syntax
  114.  
  115. Optimizer_Add (Constraint:Numeric; Cell:String; Operator:String; [Constant:Any])
  116.  
  117. Optimizer_Answer_Reporting (Cell:String)
  118.  
  119. Optimizer_Auto_Scale (Auto?:Enumeration {Yes!; No!})
  120.  
  121. Optimizer_Change (Constraint:Numeric; Cell:String; Operator:String; [Constant:Any])
  122.  
  123. Optimizer_Delete (Constraint:Numeric)
  124.  
  125. Optimizer_Derivatives (Derivatives:String)
  126.  
  127. Optimizer_Detail_Reporting (Cell:String)
  128.  
  129. Optimizer_Estimates (Estimates:String)
  130.  
  131. Optimizer_Linear (Linear?:Enumeration {Yes!; No!})
  132.  
  133. Optimizer_Load_Model ()
  134.  
  135. Optimizer_Max_Iters (Iters:Numeric)
  136.  
  137. Optimizer_Max_Time (Time:Numeric)
  138.  
  139. Optimizer_Model_Cell (Cell:String)
  140.  
  141. Optimizer_Precision (Precision:Numeric)
  142.  
  143. Optimizer_Reset ()
  144.  
  145. Optimizer_Save_Model ()
  146.  
  147. Optimizer_Search (Search:String)
  148.  
  149. Optimizer_Show_Iters (Show?:Enumeration {Yes!; No!})
  150.  
  151. Optimizer_Solution_Cell (Cell:String)
  152.  
  153. Optimizer_Solution_Goal (Goal:String)
  154.  
  155. Optimizer_Solve ()
  156.  
  157. Optimizer_Target_Value (Target:Numeric)
  158.  
  159. Optimizer_Tolerance (Tolerance:Numeric)
  160.  
  161. Optimizer_Variable_Cells (Cell:String)
  162.  
  163. Description
  164.  
  165. {Optimizer} performs goal-seeking calculations and solves sets of linear and nonlinear equations and inequalities.
  166.  
  167. Constraint# refers to a constraint's order in the constraint list. Constant may be a value or a cell containing a value. The Value for Target_Value may also be a value or a cell. Use {Optimizer.Solve} after the other commands to calculate the solution.
  168.  
  169. To save an Optimizer model, use {Optimizer.Model_Cell Cell} {Optimizer.Save_Model}. To load a model, use {Optimizer.Model_Cell Cell}{Optimizer.Load_Model}
  170.  
  171. You can use {Optimizer?} or {Optimizer!} to display the Optimizer dialog box. {Optimizer?} lets the user manipulate the dialog box, whereas {Optimizer!} relies on the macro to manipulate it.
  172.  
  173. Example
  174.  
  175. The following macro sets up an Optimizer problem designed to maximize the formula in D6 by varying cells B8..B10. Seven constraints limit the solution. All options have been changed from their default settings. T2 and G13 are the upper-left cells of the report selections.
  176.  
  177. {Optimizer.Solution_cell A:D6}
  178.  
  179. {Optimizer.Solution_goal Max}
  180.  
  181. {Optimizer.Variable_cells A:B8..A:B10}
  182.  
  183. {Optimizer.Add 1,"A:D8..A:D8",<=,"1000"}
  184.  
  185. {Optimizer.Add 2,"A:B8..A:B8",>=,"100"}
  186.  
  187. {Optimizer.Add 3,"A:B9..A:B9",>=,"100"}
  188.  
  189. {Optimizer.Add 4,"A:B10..A:B10",>=,"100"}
  190.  
  191. {Optimizer.Add 5,"A:D8..A:D8",>=,"500"}
  192.  
  193. {Optimizer.Add 6,"A:D9..A:D9",<=,"900"}
  194.  
  195. {Optimizer.Add 7,"A:D10..A:D10",<=,"110000"}
  196.  
  197. {Optimizer.Max_Time 50}
  198.  
  199. {Optimizer.Max_Iters 300}
  200.  
  201. {Optimizer.Precision 5E-05}
  202.  
  203. {Optimizer.Linear 1}
  204.  
  205. {Optimizer.Show_Iters 1}
  206.  
  207. {Optimizer.Estimates Quadratic}
  208.  
  209. {Optimizer.Derivatives Central}
  210.  
  211. {Optimizer.Search Conjugate}
  212.  
  213. {Optimizer.Detail_Reporting A:T2..A:T2}
  214.  
  215. {Optimizer.Answer_Reporting A:G13..A:G13}
  216.  
  217. {Optimizer.Solve}
  218.  
  219. Options
  220.  
  221. {Optimizer.Add Constraint#, Cell, <=|>=|=|Integer, Constant}    Adds a new constraint
  222.  
  223. {Optimizer.Answer_Reporting Cell}    Specifies the cells for the Answer Report
  224.  
  225. {Optimizer.Auto-scale 0|1}    Automatically scales variables to achieve a target value
  226.  
  227. {Optimizer.Change Constraint#, Cell, <=|>=|=|Integer, Constant}    Edits the selected constraint
  228.  
  229. {Optimizer.Delete Constraint#}    Removes the selected constraint
  230.  
  231. {Optimizer.Derivatives Central|Forward}    Selects differencing for estimates of partial derivatives
  232.  
  233. {Optimizer.Detail_Reporting Cell}    Specifies the cells for the Detail Report
  234.  
  235. {Optimizer.Estimates Quadratic|Tangent}    Specifies the approach used to obtain initial estimates of the basic variables in each iteration
  236.  
  237. {Optimizer.Linear 0|1}    Uses a linear method to solve the problem
  238.  
  239. {Optimizer.Load_Model}    Loads cells of Optimizer settings
  240.  
  241. {Optimizer.Max_Iters Value}    Sets the maximum number of iterations or trails
  242.  
  243. {Optimizer.Max_Time Value}    Indicates how long Optimizer can spend looking for the best solution
  244.  
  245. {Optimizer.Model_Cell Cell}    Saves cells of Optimizer settings for later use
  246.  
  247. {Optimizer.Precision Value}    Controls the accuracy of the solution
  248.  
  249. {Optimizer.Reset}    Clears Optimizer settings
  250.  
  251. {Optimizer.Save_Model}    Saves cells of Optimizer settings for future use
  252.  
  253. {Optimizer.Search Conjugate|Newton}    Selects a method for computing the search direction
  254.  
  255. {Optimizer.Show_Iters 0|1}    Pauses between iterations so you can check the progress of the search
  256.  
  257. {Optimizer.Solution_Cell SolutionCell}    Specifies the cell whose value you want Optimizer to measure
  258.  
  259. {Optimizer.Solution_Goal Max|Min|None|Target Value}    Specifies maximum, minimum, and target values
  260.  
  261. {Optimizer.Solve}    Finds a solution to the defined problem
  262.  
  263. {Optimizer.Target_Value Value}    Specifies the value to be reached by the formula in the Solution Cell
  264.  
  265. {Optimizer.Tolerance Value}    Indicates the maximum percentage a solution can differ from a theoretical optimum integer solution
  266.  
  267. {Optimizer.Variable_Cells Cell(s)}    Specifies the cells the Optimizer can adjust to reach an optimal solution
  268.  
  269. {Order}
  270.  
  271. Syntax
  272.  
  273. {Order.Option}
  274.  
  275. PerfectScript Syntax
  276.  
  277. Order_Backward ()
  278.  
  279. Order_Forward ()
  280.  
  281. Order_ToBack ()
  282.  
  283. Order_ToFront ()
  284.  
  285. Description
  286.  
  287. {Order} reorders overlapping objects in a chart or dialog window. Each command affects selected objects in the active window.
  288.  
  289. Options
  290.  
  291. {Order.Backward}    Sends the selected object back one layer
  292.  
  293. {Order.Forward}    Sends the selected object forward one layer
  294.  
  295. {Order.ToBack}    Sends the selected object to the back layer
  296.  
  297. {Order.ToFront}    Sends the selected object to the front layer
  298.  
  299. {Outline}
  300.  
  301. Syntax
  302.  
  303. {Outline.Option}
  304.  
  305. PerfectScript Syntax
  306.  
  307. Outline_AutoOutline ()
  308.  
  309. Outline_Collapse ()
  310.  
  311. Outline_Expand ()
  312.  
  313. Outline_Group ()
  314.  
  315. Outline_Hide (Hide?:Numeric)
  316.  
  317. Outline_Summary (Row?:Enumeration {Above!; Below!}; Col?:Enumeration {Left!; Right!})
  318.  
  319. Outline_ToLevel (RowCol?:String; [Level?:Numeric])
  320.  
  321. Outline_Ungroup ()
  322.  
  323. Outline_UnGroupAll ()
  324.  
  325. Description
  326.  
  327. {Outline} defines, creates, manipulates, and groups outlines.
  328.  
  329. Options
  330.  
  331. {Outline.AutoOutline}    Creates an outline automatically on the current pane/page
  332.  
  333. {Outline.Group}    Groups rows or columns. If the cells are not an entire row or column, whichever one contains the most elements (rows or columns) will be grouped
  334.  
  335. {Outline.Ungroup}    Ungroups rows or columns. If the cells are not an entire row or column, whichever one contains the most elements (rows or columns) will be ungrouped. If the cells do not span the ENTIRE group, only those rows/columns that are inside the cells will be ungrouped
  336.  
  337. {Outline.UngroupAll}    Destroys all groups on the current pane/page
  338.  
  339. {Outline.Expand}    Expands a collapsed group of rows or columns. If the cells are not an entire row or column and are inside a group, whichever one contains the most elements (rows or columns) and is inside a current group, will be expanded
  340.  
  341. {Outline.Collapse}    Collapses an expanded group of rows or columns. If the cells are not an entire row or column and are inside a group, whichever one contains the most elements (rows or columns) and is inside a current group will be collapsed
  342.  
  343. {Outline.Hide 0|1}    Either hides or shows the outline in the current pane/page
  344.  
  345. {Outline.Summary Above|Below, Left|Right}    Sets whether the summary will be above or below for row-based groups, and left or right for column-based groups
  346.  
  347. {Outline.ToLevel Rows|Columns, Level}    Collapses or expands a group or rows or columns at a specific level
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.