Association Question

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
JDługosz
Posts: 121
Joined: 17 Dec 2007 23:22
Contact:

Association Question

Post by JDługosz »

On regular XP Explorer (64-bit), there is a context menu item for just about every file to open in Notepad++.
This is missing in XYplorer. I found it on the "open with..." context menu item a few times, but then I tried to look at a file (.git\config) that has no extension. It has a useless "open" and no "open with".
What is a good way to provide for this in XYPlorer: Make "open in Notepad++" available for every file? I don't mind it being present for totally non-appropriate files, but it would be cool if certain extensions could be excluded too. Or, exclude if other extensions already claimed it; e.g. if 7-zip added its context item, then it's not a text file!

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Association Question

Post by zer0 »

Context menus are typically created when executables add special entries to the registry. XYplorer does not have an ability to add/remove those entries -- such functionality is governed by respective applications. XYplorer simply provides context menus that it is able to "see". If there is a context menu that you do not see in XYplorer (but do in Windows Explorer) then it's likely to do with XYplorer being a 32-bit application.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

JDługosz
Posts: 121
Joined: 17 Dec 2007 23:22
Contact:

Re: Association Question

Post by JDługosz »

But there is a "portable file association" feature, and I'm thinking the context menu in XYplorer can be customized in its own way for use only within XYplorer.

I see a help topic on "POM", in particular. However, extension-less files would seem to be a problem. And, I wonder if more advanced filtering can be used to, say, reasonably identify files that are not binary files.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Association Question

Post by zer0 »

JDługosz wrote:But there is a "portable file association" feature, and I'm thinking the context menu in XYplorer can be customized in its own way for use only within XYplorer.
PFAs are quite different to items in the context menu. The concepts appear similar, but context menu entries are deployed by other applications and that data is stored in the registry. If a 32-bit application installs such an entry then you'll see it in the context menu. Simples :)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Association Question

Post by SkyFrontier »

I use this as a workaround for similar situations:
Open With/Associate...
...at least it's fast enough to change system associations on the fly... :wink:
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...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Association Question

Post by serendipity »

JDługosz wrote:But there is a "portable file association" feature, and I'm thinking the context menu in XYplorer can be customized in its own way for use only within XYplorer.

I see a help topic on "POM", in particular. However, extension-less files would seem to be a problem. And, I wonder if more advanced filtering can be used to, say, reasonably identify files that are not binary files.
By all means use Portable File Associations (PFA), but it wont appear in right-click context menu (this feature might change with Custom Event Actions (CEA)). It will appear with ctrl+alt+Enter (you can change it to your liking):
In your case add something like this to Customize file associations:

Code: Select all

|"Open with Notepad++" *>::openwith "path to Notepad++.exe file";

JDługosz
Posts: 121
Joined: 17 Dec 2007 23:22
Contact:

Re: Association Question

Post by JDługosz »

I'm confused. Portable Association and Open Menu don't show up on the context menu? Then what's the point?
I'll just have to wait 'till I have have a chance to read through the docs some more. The description sounded like XY's own (rational) way of storing that kind of stuff, but did the same thing open-commands and open-with on the context menu.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Association Question

Post by serendipity »

JDługosz wrote:I'm confused. Portable Association and Open Menu don't show up on the context menu? Then what's the point?
I'll just have to wait 'till I have have a chance to read through the docs some more. The description sounded like XY's own (rational) way of storing that kind of stuff, but did the same thing open-commands and open-with on the context menu.
That's why i said:
... it wont appear in right-click context menu. It will appear with ctrl+alt+Enter

tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Re: Association Question

Post by tomuser »

serendipity wrote:That's why i said:
... it wont appear in right-click context menu. It will appear with ctrl+alt+Enter
Then we should request it to appear in right-click menu. I find it being essential. Using ctrl+alt+Enter forces to leave mouse for a while to press all these keys together. Of cource it's possible to select file then move to XYplorer toolbars selecting PAF button and select program from there but it is too much movement to be made. Especially when file list is long, files itself to check are on bottom of screen and having good resolution monitors (1920x1200).

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

Re: Association Question

Post by admin »

tomuser wrote:
serendipity wrote:That's why i said:
... it wont appear in right-click context menu. It will appear with ctrl+alt+Enter
Then we should request it to appear in right-click menu. I find it being essential. Using ctrl+alt+Enter forces to leave mouse for a while to press all these keys together. Of cource it's possible to select file then move to XYplorer toolbars selecting PAF button and select program from there but it is too much movement to be made. Especially when file list is long, files itself to check are on bottom of screen and having good resolution monitors (1920x1200).
I cannot add the Open With menu as a submenu here for techno-logistical reaons :wink: -- but I could add and item "Open With..." which then opens the POM. Would that work?

tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Re: Association Question

Post by tomuser »

Worth to try, better than nothing : )

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

Re: Association Question

Post by admin »

tomuser wrote:Worth to try, better than nothing : )
Next beta... :)

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

Re: Association Question

Post by SkyFrontier »

@Don:
Can the same approach be applied to the Custom Drag'n'Drop menu? That way several problems could be solved/minimized at once.
-then, is it possible to allow rearrange items' order in the menu? (Valid both for "Custom items in shell context menu" and "Custom Drag'n'Drop menu")
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...

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

Re: Association Question

Post by admin »

SkyFrontier wrote:@Don:
Can the same approach be applied to the Custom Drag'n'Drop menu? That way several problems could be solved/minimized at once.
-then, is it possible to allow rearrange items' order in the menu? (Valid both for "Custom items in shell context menu" and "Custom Drag'n'Drop menu")
Thanks!
What problems? (sorry, but I have no time to read through long threads searching for "several problems")

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

Re: Association Question

Post by SkyFrontier »

Admin:
What problems? (sorry, but I have no time to read through long threads searching for "several problems")
-you guys think I put those blue colors on my texts because I like the color??? :mrgreen:
I've searched for the briefest description available for and LINKED to them!
-isn't that helping?
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...

Post Reply