User commands - add more script formats

Ideas for improvements and requests for new features in XnView MP

Moderator: xnview

User avatar
user0
XnThusiast
Posts: 2856
Joined: Sat May 09, 2015 9:37 am

User commands - add more script formats

Post by user0 »

XnViewMP 1.9.10
Windows11 (25H2), display resolution 3840x2160, dpi scale 150%


User commands - 'Open with' dialog / ''Set command...' button (Settings>Toolbar)
few inconveniencies
  • it is only possible to use .exe and .bat formats
  • folder is omitted from args
    eg test.bat

    Code: Select all

    @echo off
    if "%~1"=="" (
        echo NO ARGS
    ) else (
        echo ARGS:
        echo %*
    )
    echo.
    pause

Suggestion
  • add .cmd and .ps1 script formats in windows
  • add explicit arguments
    eg like in Directory Opus:
    - {allfile} - all selected files
    - {allfilepath} - all selected files and folders





Example




Related
You do not have the required permissions to view the files attached to this post.