Page 2 of 2
Re: Context Menu > File List ... > ADD...
Posted: 20 Apr 2015 19:38
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;
Re: Context Menu > File List ... > ADD...
Posted: 20 Apr 2015 19:41
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 (75.74 KiB) Viewed 2230 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?
Re: Context Menu > File List ... > ADD...
Posted: 20 Apr 2015 20:02
by bdeshi
Run it, it's a script. And follow it's instructions.
Or change the key manually.
Your choice.
Re: Context Menu > File List ... > ADD...
Posted: 20 Apr 2015 20:10
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
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.
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 06:29
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.
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 06:42
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.
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 06:56
by bdeshi
Hey, can you try these and see what happens?
or
or
or
add another / or \ resp. for each new copy of the PFA.
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 07:22
by Stef123
Yes, sure.

- shot3.jpg (54.28 KiB) Viewed 2193 times
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 10:44
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.
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 11:00
by Stef123
Riddle solved. But my wish still unfulfilled.
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.
Re: Context Menu > File List ... > ADD...
Posted: 21 Apr 2015 21:32
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 (52.67 KiB) Viewed 2166 times
ini-tweak wrote:CEA_ListRightClickOnSelection_Script=load "<xyscripts>\MyContextMenu.xys"

- context.jpg (24.51 KiB) Viewed 2166 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

- the use of separators and built-in icons.