Page 1 of 1

Catalog App Not Accommodating Parameter(s)

Posted: 13 Nov 2015 00:38
by armsys
Objective: To run a Beyond Compare script silently (not showing any dialog window).
When running the following script (::load TestMe.xys;), the result (no dialog window) is perfect.

Code: Select all

// TestMe.xys
run '"C:\Program Files (x86)\Beyond Compare 4\BCompare.exe" @"C:\BeyondCompare\DelTemp.bc"  /closescript /silent' 
When setting it up as a Catalog item,
Application: "C:\Program Files (x86)\Beyond Compare 4\BCompare.exe" @"C:\BeyondCompare\DelTemp.bc" /closescript /silent
Action on Click: Open selected List item(s) with Application

Problem: The /silent parameter has no effect. That's, a dialog window always pop up.
Question: Why is the different result?
Please help. Thank you.

Re: Catalog App Not Accommodating Parameter(s)

Posted: 13 Nov 2015 08:00
by highend
Using the Catalog
...
Command Line Parameters are fully supported. If you use them, the application must be in quotes. As an example, the following term in the application field...

"winzip32" -a test.zip <items>
"C:\Program Files (x86)\Beyond Compare 4\BCompare.exe" @"C:\BeyondCompare\DelTemp.bc" /closescript /silent

Re: Catalog App Not Accommodating Parameter(s)

Posted: 13 Nov 2015 08:12
by armsys
Hi Highend,
Not sure if I understand your post.
Anyway, based upon your inspiration, I tried out the following config.
XY30.jpg

And it succeeds to process all parameters. Thank you. :appl:

Re: Catalog App Not Accommodating Parameter(s)

Posted: 16 Sep 2018 17:37
by MBaas
Oh, this is beautiful! I never thought this would be possible - and I did not care to read the doc, I admit. So I finally got frustrated enough to search the forums and found this thread... :oops: :appl: