Sunday, May 11, 2008

v7.10.0004 - 2008-05-11 09:11

  • + Scripting: New command "run". Works (almost) identical to Windows Start | Run, i.e. you can start executables, open documents with the OS-asociated applications, open websites, and much more.

    Syntax: run command
      command: Anything that works in Windows Start | Run. Note that
        filenames containing blanks must be quoted to correctly
        separate filename and any parameters.

    The differences to the original Windows Start | Run are:
    - Different error messages in case of failure.
    - Quoting items with blanks slightly differs:
      ::run ""C:\With Blank.txt""
        Filename with blanks must be quoted.
        Note that the quotes have to be doubled here because an
        argument's outer quotes are auto-stripped by XY's
        script parser!
      ::run "C:\Program Files\Winzip32.exe" -min
        Here the "single" quotes are enough because the argument is
        not quoted as a whole (hence no auto-stripping will happen).

      ::run calc
        Registered apps are recognized via "Prog ID" which is usually
        the base name of the *.exe file.
      ::run winzip32 -min
        No blanks in the filename: No quotes nececessary...
      ::run "winzip32" -min
        ... but quotes are allowed.

        Open an URL.
      ::run control
        Show Control Panel.
      ::run charmap
        Show character map utility.
      ::run regedit
        Open registry editor.
      ::run winver
        Display the Windows verson installed on the computer.
        Open email client with some fields prefilled.
      ::run "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl"
        Show Windows Time/Date dialog.
      ::run "rundll32.exe shell32.dll,OpenAs_RunDLL <curitem>"
        Open the OS OpenWith dialog for the current item.
        Note that in this case <curitem> has not to be quoted even if
        it contains blanks; rundll32.exe is smart enough to handle it.
  • ! Tree, List: Click on selected item, and shortly after on unselected item, would incorrectly invoke rename mode on the latter (if Rename On Slow DblClick is enabled). Fixed.