very nice work on the POM there in the XYwiki!
http://88.191.26.34/XYwiki/index.php?ti ... th_Menu.29
Okay, please explain again in other words: what do you miss? Is it that you want to add command line parameters? Give an example. (I might have another way to achieve the same...)jacky wrote:Thanks
I have to say this feature is growing on me, well done!
Though, to be honest, I still think it would have been a really nice thing for PFA to support parameters, so instead of using
[pattern]>"Caption" [application]
you would have used
"Caption" [pattern]>[application]
Then we could have used quotes in the application field, and so parameters on the command line. Sure, it can be worked around using scripts, but it means (a) we need to use a caption whereas the app's name would have been found by XY otherwise, and (b) we get a script icon instead of the one for the application used to open the item(s), and really it's not a script to just add something like "/fullscreen" on some command line, is it?
Yes, right now on PFA we can only give an application's (path/)name, and I'd like to add command line parameters.admin wrote:Okay, please explain again in other words: what do you miss? Is it that you want to add command line parameters? Give an example. (I might have another way to achieve the same...)
And if you just link the PFA to your UDC via command ID (à la ::#1444)? That way you have just one place with the definition -- easier to manage.jacky wrote:Yes, right now on PFA we can only give an application's (path/)name, and I'd like to add command line parameters.admin wrote:Okay, please explain again in other words: what do you miss? Is it that you want to add command line parameters? Give an example. (I might have another way to achieve the same...)
For example I've got one app I'd like to add "/fullscreen /monitor 2" on the command line, so I don't have to always manually move the window to the next monitor and put it to fullscreen mode ; Also I have PFAs for ZIP & RAR files that use command line parameters so I get "Extract Here" & "Extract Each to Subfolders" commands there. I have Open With UDCs for those two commands already as well, which I intend to keep for the KS, but this would be a nice way to get the same commands quickly available through mouse.
I thought of using quotes because that's how it works on UDC: putting the app in quotes allow us to follow it by command line parameters (which can even include <item1> & <item2> or <items>, which is nice, though not actually needed for my own needs, but if possible I'm sure it could be useful to others)
Yeah, but :admin wrote:And if you just link the PFA to your UDC via command ID (à la ::#1444)? That way you have just one place with the definition -- easier to manage.
Okay, I'll see...jacky wrote:Yeah, but :admin wrote:And if you just link the PFA to your UDC via command ID (à la ::#1444)? That way you have just one place with the definition -- easier to manage.
- I don't have UDCs for all such PFAs. For WinRAR yes, not for others
- It remains the same : script icon instead of app's icon, ...
Unless when a PFA is "linked" to an Open With UDC, XY would recognize it and get the app's name & icon. In such case, sure, of course!
hmm.. but they can. Or, you mean the "link" with UDCs being recognized and treated as such (icon wise), right ?TheQwerty wrote:It would be nice if Catalog items were also capable of this.
I mean the linking.. so that we could truly manage all the Open Withs in a single place (UDC) and not sacrifice the custom icons, etc.jacky wrote:hmm.. but they can. Or, you mean the "link" with UDCs being recognized and treated as such (icon wise), right ?TheQwerty wrote:It would be nice if Catalog items were also capable of this.
Because you can create a new Catalog item, set its action as "Open selected List item(s) with Application", and in Application put the app's name between quotes, followed by the command arguments you wanna use, etc Basically, it's exactly the same as an UDC Open With.
I'm not sure what you mean by "not sacrifice the custom icons"...TheQwerty wrote:I mean the linking.. so that we could truly manage all the Open Withs in a single place (UDC) and not sacrifice the custom icons, etc.jacky wrote:hmm.. but they can. Or, you mean the "link" with UDCs being recognized and treated as such (icon wise), right ?TheQwerty wrote:It would be nice if Catalog items were also capable of this.
Because you can create a new Catalog item, set its action as "Open selected List item(s) with Application", and in Application put the app's name between quotes, followed by the command arguments you wanna use, etc Basically, it's exactly the same as an UDC Open With.
You suggested using UDC to manage "Open With" commands and then just using scripting in PFA to access those.admin wrote:I'm not sure what you mean by "not sacrifice the custom icons"...
Okay, I understand the part with the icon (although I've not decided yet about it).TheQwerty wrote:You suggested using UDC to manage "Open With" commands and then just using scripting in PFA to access those.admin wrote:I'm not sure what you mean by "not sacrifice the custom icons"...
The problem as jacky pointed out is you then lose the icons and are stuck with a lot of scripting arrows.
I'm suggesting if you find a fix for that for PFA/POM then you should also look at fixing it for the Catalog. That way we could truly manage Open Withs in a single place that could be called everywhere else, and in those places it would use the correct icon instead of the scripting arrow.