curitemprev variable updating

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

curitemprev variable updating

Post by jupe »

Within the last week-ish I have noticed a recent change in behavior, what is happening is that the curitemprev variable is getting updated at times when it didn't previously which in turn gives a bogus return, I have managed to find a way to trigger it, and make a repro script, just goto a folder with at least 2 dummy test files and run it, unexpectedly the returned filenames will match:

Code: Select all

  sel 2;
  sel 1;
  timestamp;
  text "CI: <curitem><crlf 2>CP: <curitemprev>";
If you remove the timestamp line the filenames won't match, which is the expected behavior, and how it has worked up until recently.

I also have a slightly related wish since on a close subject, would it be possible to add "drive" as an avail param for get('curitem') without too much hassle?

admin
Site Admin
Posts: 66623
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: curitemprev variable updating

Post by admin »

1) Fix comes.
2) Sure.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: curitemprev variable updating

Post by jupe »

  1. Fixed in v22.60.0003, thanks!
  2. :biggrin:

Post Reply