Oh yeah, me too! Wait, I'm the programmer... ... ...SkyFrontier wrote:just missing <clp> instead of neverending boring <clipboard>...
Like a new feature? Say thanks here
-
- Site Admin
- Posts: 60643
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Like a new feature? Say thanks here
FAQ | XY News RSS | XY Twitter
Re: Like a new feature? Say thanks here
Code: Select all
+++ Search In List
+ Variable <selitems> enhanced
+ Find Files: You now can use the following aliases in the Location combo:
# = Search all items in the current list
+ = Search the select items in the current list
+ Floating Preview: Now, if MDBU is off (toggle it by "M" when in FP), you
can navigate by left mouse click on the image itself:
- Click on left half of the preview: Go Back.
- Click on right half of the preview: Go Forward.
* List: Now in Thumbnails and Tiles views, clicking on any empty space
between the images and captions counts as a click on empty.
Before, the hittable area was much larger, almost the total cell of each
item, so a lasso select was practically impossible.
Win 7 SP1 x64 100% 1366x768
Re: Like a new feature? Say thanks here
Thanks for fulfilling my request!+ Scripting got a new function.
Name: ItemAtPos
One of my scripts helped you out? Please donate via Paypal
Re: Like a new feature? Say thanks here
Wow, thx highend for asking obviously!highend wrote:Thanks for fulfilling my request!+ Scripting got a new function.
Name: ItemAtPos
BIG thx Don, for fulfilling highend's request and bringing this function!
Wahnsinn! Toll! Endlich! At last the workaround with the inofficial cell() function seems not needed anymore PLUS itematpos() also works on the tree and even on the catalog. Amazing!! THANK YOU DON !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
Re: Like a new feature? Say thanks here
Thanks here also for itematpos. That SC gonna lead to some scripting fun, for sure. I was using TheQwerty's ItemUnderMouse.xys script quite a bit. It works great for triggering programs while hovering over a thumbnail or any file. The thing that's really nice is you can set it up to trigger different programs dependent on file type similar to the WhiteSpaceCtxMenu script, but you don't have to select anything. I may update that script to run programs based on file type by hitting a trigger key.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Like a new feature? Say thanks here
I'm currently building a MDBU application for files / folders with that command (that's the reason why I asked Don to implement it...). It will allow modifiers (ctrl, shift, ctrl + shift) as well. So you can get different menus directly on items / selections. Menus will be user configurable (including submenus, icons,...) and depend on what you've selected (by looking at file types).
One of my scripts helped you out? Please donate via Paypal
Re: Like a new feature? Say thanks here
Thanks highend...so that's the next cool script you're working on! I assume you are using AHK along with the new SC itematpos to enable modifiers. So if we're hovering over the file, we'll have a trigger like ctrl-mouse button to run or BlowUp the file (i.e., we wouldn't have to hit a keyboard key/key combo to trigger). It sounds like a ton of flexibility. I'll be glad to help test.
Edit: You can use that nothing "" return with itematpos when not over a file, folder or thumbnail to your advantage by having the script display a "default" menu.
Edit: You can use that nothing "" return with itematpos when not over a file, folder or thumbnail to your advantage by having the script display a "default" menu.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Like a new feature? Say thanks here
I'll get back to you if the next idea springs into my mind* SC ItemAtPos enhanced: Now it works for the following controls:
+ Scripting got a new function.
Name: ControlAtPos
One of my scripts helped you out? Please donate via Paypal
Re: Like a new feature? Say thanks here
Whoah, I'm gone for a few days, and it's new-features-galore here! And all things I now know I've always wanted!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Like a new feature? Say thanks here
Thank you for SC flattenfolder(). It is the core of a script I use many times every day and I'm very glad to have such a reliable and fast tool for that bit.
Last edited by Papoulka on 25 Sep 2015 16:51, edited 1 time in total.
Re: Like a new feature? Say thanks here
Thanks Don for this:
How does it affect the last parameter "Message on empty" if the foreach line had "" for "Message on empty" (i.e., wasn't that suppose to do the same thing?)?Thanks.
I assume with that it's no longer necessary to have a (2nd) line like this below in the code.+ Scripting | Foreach: Now, foreach loops can skip empty items in the list of tokens
by passing "e" as flag:
Code: Select all
foreach($dat2file, $dat2, "<crlf>","e") {
if ($dat2file == "") {continue;}
· In MsgOnEmpty you can state an error message for the case that ListOfTokens is empty. If MsgOnEmpty is given (even as empty string "") the loop will not be executed at all.
Code: Select all
foreach($dat2file, $dat2, "<crlf>", ,"") {
if ($dat2file == "") {continue;}
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Site Admin
- Posts: 60643
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Like a new feature? Say thanks here
MsgOnEmpty is used when the whole list is empty. The new switch applies when individual tokens are empty, and also when the whole list is empty. MsgOnEmpty is shown with or without the switch.
FAQ | XY News RSS | XY Twitter
Re: Like a new feature? Say thanks here
Code: Select all
"!a OR b" was parsed as "NOT (a OR b)".
I stopped liking this recently. And now I changed it:
"!a OR b" is parsed as "(NOT a) OR b"
I hated that
Code: Select all
?!a OR b
Code: Select all
?:!a OR b
Re: Like a new feature? Say thanks here
Thanks for the clarificationas far as "Msg n Empty" being for the situation when everything was empty. In the testing I've done, it certainly doesn't seem like the if ($item == "") {continue;} line (which many of us having been using) after the foreach line is necessary with the new "e" flag. Thanks Don.admin wrote:MsgOnEmpty is used when the whole list is empty. The new switch applies when individual tokens are empty, and also when the whole list is empty. MsgOnEmpty is shown with or without the switch.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Site Admin
- Posts: 60643
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Like a new feature? Say thanks here
A half-bug. The Master Invert should go before the Bool marker:LittleBiG wrote:I hated thatdidn't give the same result asCode: Select all
?!a OR b
Or this was a bug, when FindAllowMasterInvert=1?Code: Select all
?:!a OR b
Code: Select all
?!:a OR b
FAQ | XY News RSS | XY Twitter