Catalog App Not Accommodating Parameter(s)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Catalog App Not Accommodating Parameter(s)

Post 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.
Attachments
Catalog Item
Catalog Item
XY28.jpg (67.75 KiB) Viewed 1037 times

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Catalog App Not Accommodating Parameter(s)

Post 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
One of my scripts helped you out? Please donate via Paypal

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Catalog App Not Accommodating Parameter(s)

Post by armsys »

Hi Highend,
Not sure if I understand your post.
Anyway, based upon your inspiration, I tried out the following config.
XY30.jpg
XY30.jpg (37.14 KiB) Viewed 1026 times

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

MBaas
Posts: 582
Joined: 15 Feb 2016 21:08

Re: Catalog App Not Accommodating Parameter(s)

Post 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:
______________________________________________
Happy user ;-)

Post Reply