<items>, <base>, <item1>, <item2>, <base>, <title>

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

<items>, <base>, <item1>, <item2>, <base>, <title>

Post by armsys »

After selecting one or multiple files, at the Address Bar, I type either of the following:
::text "<items>"
::text "<base>"
::text "<item1>"
::text "<item2>"
::text "<title>"
None produces the result as advertised.
Please correct me. Thanks.

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

Re: <items>, <base>, <item1>, <item2>, <base>, <title>

Post by highend »

Because you didn't read the help file...
UDC Open With only
<your variable names>
...
One of my scripts helped you out? Please donate via Paypal

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

Re: <items>, <base>, <item1>, <item2>, <base>, <title>

Post by armsys »

highend wrote:Because you didn't read the help file...
UDC Open With only
<your variable names>...
Actually I did read the manual. That's how I tried out the multiple XY variables.
And I don't understand what "UDC Open With only" is supposed to mean.
And I tried it out in UDC (CTRL+ALT+F9)...
And I tried out several hundred permutations and combinations in vain for a couple of hours before posting my question.
None succeeds.
Highend, would please guide me? Thanks.
To see the attached files, you need to log into the forum.

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: <items>, <base>, <item1>, <item2>, <base>, <title>

Post by binocular222 »

As Highend said, "Open With"
So, <items> is only available in "Open With" section AND in the Application: field, you must supply a specific program similar to the help file:
"winzip32" -a UDCmade.zip <items>

In you screenshot above, you used "go to" instead of "Open With"
And even if it's Open With, the command ::text means nothing

But waht do you want to do?
In normal scripting other than UDC-Open With, just calling <selitems> or <curitem> is enough
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: <items>, <base>, <item1>, <item2>, <base>, <title>

Post by armsys »

binocular222 wrote:As Highend said, "Open With"
So, <items> is only available in "Open With" section AND in the Application: field, you must supply a specific program similar to the help file:
"winzip32" -a UDCmade.zip <items>
In you screenshot above, you used "go to" instead of "Open With"
And even if it's Open With, the command ::text means nothing
But waht do you want to do?
In normal scripting other than UDC-Open With, just calling <selitems> or <curitem> is enough
binocular222,
Thanks for your clarification.
No, I didn't understand Highend's "Open With."
Now I realize he meant a Category in the UDC.
Now I realize the captioned XY variables work if and only if 2 conditions are satisifed:
1. Under Category: "Open With";
2. With a valid application such as WinRAR.
Yeah, they seem to work fine now per your clarified description.
Thanks a lot.

Post Reply