Search & Replace Strings - dropdown MRU ??
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Search & Replace Strings - dropdown MRU ??
#123 is hardly scripted. 
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: Search & Replace Strings - dropdown MRU ??
Sure it's scripted - that *is* a script.SammaySarkar wrote:#123 is hardly scripted.
You only could argue about the used "scripting environment" - it's not a "standard script", or however you want to say.
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Search & Replace Strings - dropdown MRU ??
Both scripting and the MRU are terrific features, and I'm sorry to give up either one, especially for S&R and RegExpRename. I'm sure there's at least a historical reason why they do not play nice together; but [REQUEST] maybe this can be revisited.v7.90.0078 - 2009-01-27 21:16
* MRUs: Now, patterns from the following commands are not added to
the command's MRU list anymore when triggered via scripting:
VisualFilter (::filter)
BatchRename (::rename "b")
RegExpRename (::rename "r")
SearchReplace (::rename "s")
KeepParticularChars (::rename "k")
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Search & Replace Strings - dropdown MRU ??
Well, my point was that ::rename is a scripting command that happens to call a function that is also used in GUI.PeterH wrote:Sure it's scripted - that *is* a script.SammaySarkar wrote:#123 is hardly scripted.![]()
You only could argue about the used "scripting environment" - it's not a "standard script", or however you want to say.
But the #command just triggers any arbitrary app menu, it's like hardwired kb shortcuts. Blocking MRU from #123 to me seems equivalent to blocking a part of a command just because it was called by a kb shortcut. again, it's because I see #commands similar to a kind of hotkey.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Search & Replace Strings - dropdown MRU ??
History: http://www.xyplorer.com/xyfc/viewtopic. ... 556#p30556
We didn't catch that this applied to the CIDs as well as the keyword scripts back then but it does go against the spirit of the "wish":
We didn't catch that this applied to the CIDs as well as the keyword scripts back then but it does go against the spirit of the "wish":
TheQwerty wrote:The MRU list should be reserved for patterns explicitly typed by the user.
-
admin
- Site Admin
- Posts: 66298
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Search & Replace Strings - dropdown MRU ??
To change it would mean to make an exception of an exception. Does not feel alright. Needs more meditation...
... ok, found a way.
... ok, found a way.
FAQ | XY News RSS | XY X
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Search & Replace Strings - dropdown MRU ??
Thank you! This is really useful, especially for RegExp Rename where the strings are complex. Much appreciated.... ok, found a way.
XYplorer Beta Club