Page 1 of 2
How to use the value of <focitem>
Posted: 28 Mar 2012 16:13
by paul0
I tried to open a folder in the list (panel) with a tool called Tag & Rename.
Here is the code. But I get an error message dialog as the attachment when I open the folder d:\songs.
Code: Select all
"Tag && Rename"
openwith """C:\Program Files (x86)\tag-ren\TagRename.exe"" ""<focitem>""";
I don't know why ""<focitem>"" gives a duplicated path string.
Please advice which xyplorer variable I should use.
Re: How to open a folder with Tag & Rename
Posted: 29 Mar 2012 07:56
by paul0
If I check the value of <focitem> using echo function, it shows the correct value D:\songs
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 08:48
by admin
I cannot reproduce your duplicated path string.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 11:59
by paul0
admin wrote:I cannot reproduce your duplicated path string.
Thanks for testing.
The Tag & Rename is supposed to open an folder item. In order to see the value of focused item,I click it on the file item in the panel, and get similar error as the attached.
Besides, the echo value of <focitem> is correct. Please see the second attachment.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:03
by paul0
If focused item is in the tree, the value of <focitem> will get any complaint from the tool.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:03
by admin
I tested your script but cannot reproduce the error. How do you run the script?
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:10
by paul0
I define a user button with the script.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:13
by admin
Do you have a screenshot of the script in the user button?
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:19
by paul0
here is the screenshot of the user button. The left click has only one script and no script for right click.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:21
by highend
@paul0
screenshot of the script in the user button?
A screenshot of the script, that you use, not of the button.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:22
by admin
No, I mean the script itself. Click the "Edit..." button and show me what's there.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:26
by paul0
the script is here.
besides, Tag & Rename is available at
http://www.softpointer.com/tr.htm.
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:31
by admin
Thanks. Still no luck.

Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:34
by paul0
admin wrote:Thanks. Still no luck.

Thanks for your time.
I am still surprised that it works on tree item but not list item. Is there any difference between them?
Re: How to use the value of <focitem>
Posted: 29 Mar 2012 12:38
by admin
Idea: try open instead of openwith.