Catalog

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Catalog

Post by timhatz »

How can I launch a script from the Catalog section?

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog

Post by admin »

Like this. (This also answers your question about how to display a report without launching an external app.)
To see the attached files, you need to log into the forum.

timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Re: Catalog

Post by timhatz »

Very cool... I'll have to experment with this.
admin wrote:Like this. (This also answers your question about how to display a report without launching an external app.)

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog

Post by admin »

timhatz wrote:Very cool... I'll have to experment with this.
admin wrote:Like this. (This also answers your question about how to display a report without launching an external app.)
Yes, the trick is to prepend "::"

Use the Edit... button on the right to insert multi-line scripts. Multi-line scripts are always recognized as scripts and do not need to be prepended with ::.

timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Re: Catalog

Post by timhatz »

admin wrote:
timhatz wrote:Very cool... I'll have to experment with this.
admin wrote:Like this. (This also answers your question about how to display a report without launching an external app.)
Yes, the trick is to prepend "::"

Use the Edit... button on the right to insert multi-line scripts. Multi-line scripts are always recognized as scripts and do not need to be prepended with ::.

i tried this and it worked, but I could not figure out the {template} code for the fileversion.

thanks again,tim

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Catalog

Post by j_c_hallgren »

timhatz wrote:i tried this and it worked, but I could not figure out the {template} code for the fileversion.
My guess (based on other thread) is that code isn't quite finished yet and will be part of upcoming beta release.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog

Post by admin »

j_c_hallgren wrote:
timhatz wrote:i tried this and it worked, but I could not figure out the {template} code for the fileversion.
My guess (based on other thread) is that code isn't quite finished yet and will be part of upcoming beta release.
Exactly. In the next BETA you can do:

Code: Select all

::text report("{name}, {fileversion}<crlf>", 1);
But this is unofficial secret information. And it will probably only work under XP, not Vista/Win7.
EDIT: {fileversion}, not {version}

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Catalog

Post by TheQwerty »

Just a small suggestion, I'd consider adding your script as a UDC (user command), and then you can call this script from the catalog using the command ID assigned to it (the #14?? button in the UDC dialog).

This way you can easily access the same script via UDC menu, Catalog, and shortcut key.

It makes it a little easier to manage things, and if you don't actually want it in the UDC menu you can still hide it while keeping the ability to give it a shortcut key.

timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Re: Catalog

Post by timhatz »

TheQwerty wrote:Just a small suggestion, I'd consider adding your script as a UDC (user command), and then you can call this script from the catalog using the command ID assigned to it (the #14?? button in the UDC dialog).

This way you can easily access the same script via UDC menu, Catalog, and shortcut key.

It makes it a little easier to manage things, and if you don't actually want it in the UDC menu you can still hide it while keeping the ability to give it a shortcut key.
-----

Everybody, Thank you for your time and help.

timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Re: Catalog

Post by timhatz »

admin wrote:
j_c_hallgren wrote:
timhatz wrote:i tried this and it worked, but I could not figure out the {template} code for the fileversion.
My guess (based on other thread) is that code isn't quite finished yet and will be part of upcoming beta release.
Exactly. In the next BETA you can do:

Code: Select all

::text report("{name}, {fileversion}<crlf>", 1);
But this is unofficial secret information. And it will probably only work under XP, not Vista/Win7.
EDIT: {fileversion}, not {version}

What beta version did this appear in? I tried the most recent, but it just came back blank for me.

Thanks

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog

Post by admin »

It works in the recent version. Select one or more files with version info (EXEs, DLLs...) in the file list, and feed

Code: Select all

::text report("{name}, {fileversion}<crlf>", 1);
into the Address Bar.

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog

Post by admin »

admin wrote:It works in the recent version. Select one or more files with version info (EXEs, DLLs...) in the file list, and feed

Code: Select all

::text report("{name}, {fileversion}<crlf>", 1);
into the Address Bar.
Remember that this yet unofficial feature will currently (probably) only work under XP, not Vista/Win7.

timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Re: Catalog

Post by timhatz »

admin wrote:
admin wrote:It works in the recent version. Select one or more files with version info (EXEs, DLLs...) in the file list, and feed

Code: Select all

::text report("{name}, {fileversion}<crlf>", 1);
into the Address Bar.
Remember that this yet unofficial feature will currently (probably) only work under XP, not Vista/Win7.

It worked, I wasn't selecting files... Once I changed the ,1 to a ,0 I was seeing what I wanted.

Thank You

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog

Post by admin »

timhatz wrote:It worked...
XP?

timhatz
Posts: 41
Joined: 12 Dec 2008 06:21

Re: Catalog

Post by timhatz »

admin wrote:
timhatz wrote:It worked...
XP?
Yes, XP

Post Reply