NEW3.04.01 · Released 31 August 2021
NEWfinPOWER Connect
Released in
3.04.01
31 August 2021
  1. Opened23 Jun
  2. Closed15 Jul
  3. Released31 Aug
Article 18373 Job J026828

Scripting; "Power Tools" options added to Script Editor

"Power Tools" have been added to the Script Editor within finPOWER Connect Desktop.

They can be accessed from either:

  • Right clicking the code area and selecting the "Power Tools" sub menu.
  • From the top bar immediately above the code area.

Two Power Tools are initially available:

  • Sort Variable Declarations
    • This allows variables to be sorted alphabetically within the Script code.
      • Either a block of code can be selected, and then sorted. Or, with nothing selected the entire documents variables will be sorted.
      • Declaration blocks separated by a blank line will be sorted independently of each other.
  • Sort Methods
    • This allows Methods to be sorted alphabetically within the Script code.
      • Similar to sorting variables, either a block of code can be selected to be sorted or left unselected and the entire document will be sorted (until the first Class is hit).
        • If selecting blocks, an entire Method must be selected before sorting can take place.
      • To sort Methods within a Class, the Class must be firstly selected.
      • Options are presented to leave the Main() Method and New() Constructors at the top of the Script Code / Class.
        • This option is only presented if the Main() / New() Methods are already at the top of the Script Code / Class.

NOTE: These options are only available when the Script Editor's Language is set to VB.NET and is in Edit Mode.