@admin: Ok cool thanks, no rush, I only asked because the functionality was already there in another area so I thought it might not be too time consuming, not that I have any real clue as to the amount of work involved,

but it's appreciated.
highend wrote:Not related to the topic per se but while you're at PFA:
viewtopic.php?f=7&t=13510
.
@highend: Thanks for the tip, although I tried it and it looks good, what is supposed to happen when 2 apps are defined for 1 category? Looking at the code it looks like it launches both?
I think I got the syntax right, should the code below work? It seems to just launch whichever app is defined first and ignore the 2nd eg.
Code: Select all
vid=v:\mpc-be64.exe::v:\mediainfo.exe
Anyway I think for my use I will be able to stick to the internal functionality, I am really stunned with what's possible, here's an example of what I am doing for some file types, I might not have the syntax perfect

but it works great for me so far.
Code: Select all
"Edit or Load Script<tab>Shift|XYcopy.exe"xys>::selectitems "<curitem>";if (get("Shift") && "<curitem>"){load "<curitem>";} elseif ("<curitem>"){run """%APPDATA%\Notepad3.exe"" /pr ""<curitem>""";}
This gives me 2 quick access options for files where I have dual use cases (like image edit/load) and then I use the open with button drop down for a list of alternative apps & file type specific scripts that automatically changes depending on what extension I have selected, previously I had CTB's with items that were redundant when I am not on the right file type, but now I just have the one open with toolbar button that covers all file types, it's so awesome!

And then for the top item in PFA I have "OpenWith"*>::button openwith;" which if I am going to be needing frequently for a brief period I can quickly enable so I don't have to move the cursor all the way to the toolbar, then when I'm finished heavy use cases disable it when not required, I'm still fine tuning my approach but having the Open With menu adapt its items to whatever file type is selected makes it so user friendly, at least for me and saves me a heap of custom buttons and scripted popup menus, and the generic file types like {:Image} are just icing on the cake.
I apologize if that was too much of a rant.!