Context Menu > File List ... > ADD...

Features wanted...
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Context Menu > File List ... > ADD...

Post by bdeshi »

set <xyini>\[Settings]\ShowFullPathsInOpenWith=0

Here's my keysetter alias scriptified:

Code: Select all

::$k='ShowFullPathsInOpenWith';$s='Settings';$t="ShowFullPathsInOpenWith";$d="[troubleshootdowner]<crlf 2>set to 0";if (confirm("XY will restart to apply the setting.<crlf 2>save current settings beforehand?")==1){savesettings} $n=gettoken($k,count,'|');$c=1;while ($c<=$n){$key=gettoken($k,$c,'|');$sec=gettoken($s,$c,'|');$tpc=gettoken($t,$c,'|');$dsc=gettoken($d,$c,'|');setkey input($tpc,$dsc,getkey($key,$sec),s),$key,$sec;$c++} exit nr;
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Context Menu > File List ... > ADD...

Post by Stef123 »

Oh boy, the dreaded fresh; - w/o my CTBs and shortcuts it always takes me forever to even get to the config dialog, and then those tiny fonts....

Here you go, same thing, I am on 15.00.0409
shot2.jpg
shot2.jpg (75.74 KiB) Viewed 2228 times
Its not really fresh, of course. I had to enable Open with for the right mouse - but that's all I did.

What am I to do with your keysetter alias code?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Context Menu > File List ... > ADD...

Post by bdeshi »

Run it, it's a script. And follow it's instructions.

Or change the key manually.

Your choice.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Context Menu > File List ... > ADD...

Post by Stef123 »

OK. Here's what I did:
1) opened Run Script
2) pasted your code from above - the whole pizza, not the one -liner
3) clicked OK to run it

It presented a dialog, pre-filled with 0
I confirmed. Also saved current settings when it asked me that.
Then it restarted XY on its own.

Same thing as before. No separator, only the blue SC triangle and one single hyphen :cry:

Ed
Maybe this helps tracking it down: I am on Win7 64 with a French locale, but Windows date formats etc are set to US, making XY show the date in MM/DD/YYYY. For the keyboard layout I switch between French and US - to get French accents when typing, but easy access to backslash etc. All the stuff you told me to do, I pasted with the US key layout active. Also tried to type "+|"-" *;\ > ::eval();" into the edit (!) window, in addition to copy & paste.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Context Menu > File List ... > ADD...

Post by bdeshi »

OK.
Stef123 wrote:It presented a dialog, pre-filled with 0
that means that key was not a problem. There's something else.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Context Menu > File List ... > ADD...

Post by Stef123 »

Thanks Sammay.
Hey, I don't want you to spend too much time on this. Who knows, should Don really allow separators in PFA, our workaround may become redundant anyway.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Context Menu > File List ... > ADD...

Post by bdeshi »

Hey, can you try these and see what happens?

Code: Select all

|"-" \;* > :: //
or

Code: Select all

|- \;* > :: //
or

Code: Select all

|"-" \;* > \\
or

Code: Select all

|- \;* > \\
add another / or \ resp. for each new copy of the PFA.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Context Menu > File List ... > ADD...

Post by Stef123 »

Yes, sure.
shot3.jpg
shot3.jpg (54.28 KiB) Viewed 2191 times

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Context Menu > File List ... > ADD...

Post by bdeshi »

I've got an :) and an :(

:) : You're using the Windows Classic theme. Stop that and the separators will come to you.

:( : You're using the Windows Classic theme. the separators won't work as long you're doing that. Don can tell if XY has a hand in this conseparacy against separators.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Context Menu > File List ... > ADD...

Post by Stef123 »

Riddle solved. But my wish still unfulfilled. :cry:
Classic Theme is the lowest common denominator I have to stick to, my only way to ensure I am compatible with clients' machines. It's exactly on those machines where I need my custom context menu the most. They are heavily configured, mouse settings a nightmare - which is why got the idea of custom context in the first place, to have my commands close-by, in lieu offar-away CTBs and catalog.

Sigh - many thanks anyway, Sammay. I appreciate your commitment.

Stef123

Re: Context Menu > File List ... > ADD...

Post by Stef123 »

Not meaning to be obnoxious or pushy, but I cannot let it rest, either. I maintain that allowing just one command
- one command only -
in the context menu, would allow an enormous increase in browsing efficiency:
context2.jpg
context2.jpg (52.67 KiB) Viewed 2164 times
ini-tweak wrote:CEA_ListRightClickOnSelection_Script=load "<xyscripts>\MyContextMenu.xys"
context.jpg
context.jpg (24.51 KiB) Viewed 2164 times
To glimpse the scope and the many possibilities of such a custom ContextMenu:
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=13831

Not to mention my private agenda, of course :wink: :titter: - the use of separators and built-in icons.

Post Reply