Page 1 of 2

Catalog

Posted: 12 Jun 2009 08:15
by timhatz
How can I launch a script from the Catalog section?

Re: Catalog

Posted: 12 Jun 2009 08:48
by admin
Like this. (This also answers your question about how to display a report without launching an external app.)

Re: Catalog

Posted: 12 Jun 2009 08:59
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.)

Re: Catalog

Posted: 12 Jun 2009 09:03
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 ::.

Re: Catalog

Posted: 12 Jun 2009 09:24
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

Re: Catalog

Posted: 12 Jun 2009 09:39
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.

Re: Catalog

Posted: 12 Jun 2009 09:50
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}

Re: Catalog

Posted: 12 Jun 2009 16:33
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.

Re: Catalog

Posted: 12 Jun 2009 18:52
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.

Re: Catalog

Posted: 14 Jun 2009 22:19
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

Re: Catalog

Posted: 15 Jun 2009 08:40
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.

Re: Catalog

Posted: 16 Jun 2009 07:22
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.

Re: Catalog

Posted: 16 Jun 2009 07:29
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

Re: Catalog

Posted: 16 Jun 2009 07:38
by admin
timhatz wrote:It worked...
XP?

Re: Catalog

Posted: 16 Jun 2009 08:07
by timhatz
admin wrote:
timhatz wrote:It worked...
XP?
Yes, XP