File > Open With/Associate...

Features wanted...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

File > Open With/Associate...

Post by SkyFrontier »

Can anyone think of a way to change system files' associations directly from XYplorer?
Currently we can PFA. But I'd like to have an accessible option built into XY itself, instead of hang around with another FM.
Thanks!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: File > Open With/Associate...

Post by SkyFrontier »

Optionally I could set PFA to run this command on selected files:

Code: Select all

|"Open With..."\;*>::run "RunDLL32.EXE SHELL32.DLL,OpenAs_RunDLL"
...but I am only getting an "access denied" after selecting the program I want to open with, plus not having the option to "always open with selected program".
Any ideas, please...?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: File > Open With/Associate...

Post by SkyFrontier »

Wow.
I'm amazed. Again.
XY parsed <curitem> info to the OS.
So the working PFA entry must be set as:

Code: Select all

|"Open With/Associate..."\;*>::run "RunDLL32.EXE SHELL32.DLL,OpenAs_RunDLL <curitem>"
EDIT: Rephrased from "Open With..." to "Open With/Associate...".
Last edited by SkyFrontier on 04 Aug 2010 00:21, edited 1 time in total.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

grindax

Re: File > Open With/Associate...

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 14:52, edited 1 time in total.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: File > Open With/Associate...

Post by SkyFrontier »

Grindax said:
Awesome! I vote for this to be included by default in XYplorer!
Thanks, Grindax! I always missed that in XY, and each and every time called PowerDesk for help. I'm decided to give PDesk definitive retirement, but still have to rely on some of its features. Now I just have to integrate (again!) its Finder to replace XY's F3 and have it default as I *always* need its impressive "Search Inside Contents" (unrivaled by any other tool, so far, and I've tested tons of them to get a little bit more control over the output's displaying - previously discussed here) and... wait for dual tree.
Gotta keep some faith...
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

grindax

Re: File > Open With/Associate...

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 14:53, edited 1 time in total.

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

Re: File > Open With/Associate...

Post by admin »

grindax wrote:I'm finding it very useful to now be able to set system-level file associations from within XYplorer. However, I notice that the icons for the newly associated programs only apply to the new file types after quitting and restarting XYplorer.

Is there any way to get the icon associations to take effect without a restart?
I never found the way. There should be one but it's well hidden.

Jibz
Posts: 123
Joined: 15 Jun 2010 16:30

Re: File > Open With/Associate...

Post by Jibz »

A quick google suggests calling SHChangeNotify with SHCNE_ASSOCCHANGED .. not tested though :).

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

Re: File > Open With/Associate...

Post by admin »

Jibz wrote:A quick google suggests calling SHChangeNotify with SHCNE_ASSOCCHANGED .. not tested though :).
I know. But the problem is not the notification but the flushing of the system image list. I've read everything about it but to no avail.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: File > Open With/Associate...

Post by SkyFrontier »

Stuff like that is underestimated until we have them at hand and see the difference caused by small usability/practical improvements. All I think about, even the smallest and weirdest possibility (some of them I currently can't live without), I post here because I know how much they help in daily tasks, repeated each and every day throughout years. Oh, If I had some of the recent improvements available since years ago... Well. Now I have! :mrgreen:
Now I just have to spread the word.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: File > Open With/Associate...

Post by nas8e9 »

SkyFrontier wrote:Stuff like that is underestimated until we have them at hand and see the difference caused by small usability/practical improvements. All I think about, even the smallest and weirdest possibility (some of them I currently can't live without), I post here because I know how much they help in daily tasks, repeated each and every day throughout years. Oh, If I had some of the recent improvements available since years ago... Well. Now I have! :mrgreen:
Now I just have to spread the word.
Also OT, but there's a "Thank you"-thread located here. It helps keep bug and wish threads a bit cleaner.

grindax

Re: File > Open With/Associate...

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 14:53, edited 1 time in total.

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

Re: File > Open With/Associate...

Post by admin »

grindax wrote:
admin wrote:I've read everything about it but to no avail.
Since the new icons are seen after doing a restart, doesn't that mean that one of the actions on the finite list of things that XYplorer does to initialize itself is the answer?
Windows does it automatically for a new process.

Post Reply