Context Menu > File List ... > ADD...
-
Stef123
Context Menu > File List ... > ADD...
ADDing our own custom items - that would be terrific. By running or loading a script or simply specifying #ID;
Even better if the [folders only] option could be applied as well.
Even better if the [folders only] option could be applied as well.
Re: Context Menu > File List ... > ADD...
Ah, I was also thinking of these "XY-only shortcuts", and that. Say I put one of these yet-imaginary files/shortcuts/scripts (optionally with at least some properties) to any arbitrary location, but only they aren't really there. And they survive across systems. Like a removable layer on top of the file system. or like a paper: but mixed in with filesystem locations.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 65132
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Context Menu > File List ... > ADD...
Via Open With... in the context menu you can add all sorts of scripts (PFA).
FAQ | XY News RSS | XY X
-
Stef123
Re: Context Menu > File List ... > ADD...
You're right. And I've been doing it to some extent, w/o realizing it. Guess it's that extra click it takes, plus the Open... caption. 2 misleading hints that don't encourage treating it as a genuine context menu.
-
Stef123
Re: Context Menu > File List ... > ADD...
Please add support foradmin wrote:Via Open With... in the context menu you can add all sorts of scripts (PFA).
- separators - to group real PFA apart from custom commands
- XY icons
Re: Context Menu > File List ... > ADD...
you can assign custom icons in the caption, like this
and make separators using the caption, like this:edit: if you want to add more than one separator, then make the pfa part different to stop them from being assimilated into one.
Code: Select all
+"XYScript|<xyicons>\cfi\xys.ico" xys>::load "<xyscripts>\pfa_xys.xys";Code: Select all
+|"-" *;\ >::eval();Code: Select all
+|"-" *;\ >::eval(0);
+|"-" *;\ >::eval(1);
+|"-" *;\ >::eval(2);Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Stef123
Re: Context Menu > File List ... > ADD...
Thanks.
I meant the built-in icons :moveto :copyto etc - to be consistent throughout XY
The separators are not working here. I get to see the "::eval();" instead of separators. I helped myself with dummy commands and empty spacer icons like this:
But it doesn't look nice. A far cry from real separators than span the whole width.
I meant the built-in icons :moveto :copyto etc - to be consistent throughout XY
The separators are not working here. I get to see the "::eval();" instead of separators. I helped myself with dummy commands and empty spacer icons like this:
Code: Select all
|"--------------|<xyicons>\spacer.ico" \;*>#614;Re: Context Menu > File List ... > ADD...
Works here... But it can quickly turn into a mess when the match patterns start changing what appears between the separators.
- Attachments
-
- 2015-04-20_102314_cfaseps.png (47.07 KiB) Viewed 3074 times
Re: Context Menu > File List ... > ADD...
???TheQwerty wrote:can quickly turn into a mess when the match patterns start changing what appears between the separators.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Stef123
Re: Context Menu > File List ... > ADD...
Maybe that's what happens here - changing match patterns?
All I can say is, I don't get to see separators. Only the eval() stuff, literally.
Ed:
Getting closer. I removed the +sign up front, to make it look more like on TheQwerty's screenshot. Now I see one single hyphen "-" (without parentheses) and the blue SC tirangle icon.
All I can say is, I don't get to see separators. Only the eval() stuff, literally.
Ed:
Getting closer. I removed the +sign up front, to make it look more like on TheQwerty's screenshot. Now I see one single hyphen "-" (without parentheses) and the blue SC tirangle icon.
Re: Context Menu > File List ... > ADD...
Given the following PFA in Editor Mode (pencil icon/F6) format:SammaySarkar wrote:???TheQwerty wrote:can quickly turn into a mess when the match patterns start changing what appears between the separators.
Code: Select all
+"Current Item is a TXT" txt>end true;//txt
+"Current Item is an RTF" rtf>end true;//rtf
+"Current Item is a PDF" pdf>end true;//pdf
+|"-" \;*>end true;//0
+txt>Notepad
+|"-" \;*>end true;//1
+txt;rtf>Wordpad
+|"-" \;*>end true;//2
+|"Copy file size in bytes" *>::copytext <cursize>
+|"-" \;*>end true;//3
+|"Append modified date" \;*>::rename , '*-<datem yyyymmdd>'You have to think carefully about what's in a section and when you want the items and separators shown to determine what pattern should be used for matching those items and separators.
In some ways you're much better off writing your own CTB/script to handle this rather than try to overload POM with too much. (Or wait for Don to give POM full separator support which will likely collapse those empty sections and make the above demonstration moot.)
Re: Context Menu > File List ... > ADD...
Oh, that! I don't mind that. That just tells me there is a section here but none of them are applicable to current item.
I thought you said the pfa items themselves somehow can travel to different separated sections (alarming!)
I thought you said the pfa items themselves somehow can travel to different separated sections (alarming!)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Context Menu > File List ... > ADD...
A screenshot for a screenshot. Post a screenshot of the misbehaving separator item in PFA editor. (and perhaps the resulting mis-menu)Stef123 wrote:Getting closer. I removed the +sign up front, to make it look more like on TheQwerty's screenshot. Now I see one single hyphen "-" (without parentheses) and the blue SC triangle icon.
btw, the format I posted is supposed to be pasted into a new line in editor mode (F6) or remove the + and paste as a new entry in normal mode
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Stef123
Re: Context Menu > File List ... > ADD...
SammaySarkar wrote:the format I posted is supposed to be pasted into a new line in editor mode (F6) or remove the + and paste as a new entry in normal mode
In case you wonder about the missing colons :: - I had them too, makes no difference, tried all variations from verbatim your solution and that of TheQwerty's screenshot, plus all kinds of variants - no separator.
Re: Context Menu > File List ... > ADD...
No idea (yet).
Surely not the same in ::fresh ?
edit: "I get to see the "::eval();" instead of separators." - at least this issue is solved now, eh?
Surely not the same in ::fresh ?
edit: "I get to see the "::eval();" instead of separators." - at least this issue is solved now, eh?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club