Friday, September 19, 2008

v7.60.0017 - 2008-09-19 09:09

  • + Scripting got a new function.
      Note: The command getinfo is converted into a function! Since
      it was introduced after the last official release it's still
      considered BETA so there's no compatibility code. IOW: You have
      to upgrade your scripts if they use getinfo.

    Name: GetInfo
    Action: Get various info into variable.
    Syntax: getinfo(info, [param1])
      info:   [required] sort of info (New: *NOT* case-sensitive!)
      param1: [optional] depends on info
      return: retrieved info
    Possible values for info and param1:
    - "CountSelected", [(unused)]
      Count of selected items in List.
    - "SelectedItemsPathNames", [delimiter=CRLF]
      All selected items (full path) in List, delimited by param1.
    - "SelectedItemsNames", [delimiter=CRLF]
      All selected items (name, no path) in List, delimited by param1.
      ::$a=getinfo("CountSelected"); msg $a;
      ::$a=getinfo("SelectedItemsPathNames", ""); msg $a;
      ::msg getinfo("selecteditemsnames", chr(10));
  • ! Scripting: Empty string "" was wrongly interpreted as numerical operand in a comparison. Fixed.
  • ! Duplicate servers in Tree/Nethood under certain conditions. Fixed.