Hi Pierre )
Now if I want use XnViewMP with options as in this file I can not use XnView as viewer and as Converter , that's why me need both file XnViewMP.exe and XnConvert.exe , please add option -convert_only for run XnViewMP even if set settings as in this file , but converter mode only )
Please add key for Convert in XnViewMP
Moderator: xnview
-
Xn User
- Posts: 279
- Joined: Sat Jan 05, 2019 1:16 pm
Please add key for Convert in XnViewMP
You do not have the required permissions to view the files attached to this post.
-
Xn User
- Posts: 279
- Joined: Sat Jan 05, 2019 1:16 pm
Re: Please add key for Convert in XnViewMP
By the way
This you can so )
but for work this metrhod , will need
[Start]
oneInstance=false
and all , if this fix in copy file , so can recive shorcut in exe file for run XnViewMP as XnConvert as separate application , and if add key for autoopen convert mode in XnViewMP for example :
xnviewmp.exe -convert -ini xnconvert.ini
then XnConvert will not need
This you can so )
Code: Select all
Set wmi = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set systemtype = wmi.ExecQuery("select SystemType from Win32_ComputerSystem where SystemType like 'x64-%'")
ProgramFiles = "Program Files"
if systemtype.Count = 1 Then
ProgramFiles = "Program Files (x86)"
End If
On Error Resume Next
CurrentDir = Left(WScript.ScriptFullName, InStrRev(WScript.ScriptFullName, "\"))
Set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(CurrentDir & "xnview.ini") Then
Set File = fso.GetFile(CurrentDir & "xnview.ini")
File.copy(CurrentDir & "xnconvert.ini")
Else
End If
Set WshShell = CreateObject("WScript.Shell")
WshShell.CurrentDirectory = (CurrentDir)
WshShell.Run "xnviewmp.exe -ini xnconvert.ini",1[Start]
oneInstance=false
and all , if this fix in copy file , so can recive shorcut in exe file for run XnViewMP as XnConvert as separate application , and if add key for autoopen convert mode in XnViewMP for example :
xnviewmp.exe -convert -ini xnconvert.ini
then XnConvert will not need