Not enough time to even add the optional "List" format definition for the date and size columns?admin wrote:Can't really give a good reply now. The reporting code is quite complex and I did not look at it for more than a year. No idea how many users are using these functions but yours is the first complaint. From first impression I agree with you and wonder why it is as it is. But I would have to look very deep to make a good decision. No space for this in my schedule right now.
Scripting Bugs
Re: Scripting Bugs
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
I could not resist and it looks like it was easier than I had thought. Check out next version.TheQwerty wrote:Not enough time to even add the optional "List" format definition for the date and size columns?admin wrote:Can't really give a good reply now. The reporting code is quite complex and I did not look at it for more than a year. No idea how many users are using these functions but yours is the first complaint. From first impression I agree with you and wonder why it is as it is. But I would have to look very deep to make a good decision. No space for this in my schedule right now.
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
Yay! Fantastic! … However, now another unsatisfying circumstance appears.admin wrote:I could not resist and it looks like it was easier than I had thought. Check out next version.
Report() follows the column format correctly but ignores the Show Age/Weekday settings - which I'm okay with.
But SelFilter() does obey those settings and only operates on the displayed values.
What I'm after is for either Report() to use those settings as well or for SelFilter() to operate on both display and actual values. (Personally the latter is preferred.)
My main goal here is to create a script which will focus the next/previous group in the list when sorting by non-unique values.
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
Sorry, I looked into it for 15 minutes, but it would take hours to do it. No time, this time for real.
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
How about making FormatDate support 'List' in the format so that it can convert a date time to the same format as the date columns display (obeying the age/weekday settings)?
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
No chance, the list does not export these tricks.TheQwerty wrote:How about making FormatDate support 'List' in the format so that it can convert a date time to the same format as the date columns display (obeying the age/weekday settings)?
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
This is a scripting bug in as much as I can only reproduce it through scripting, but there may be another way that is unknown to me. Anyway, it's pretty simple to repro:
1. Create a dummy file
2. Attempt to rename it using this script:
3. Kicker: make sure that whatever is the intended new name in the clipboard contains invalid characters.
First pops up Explorer's "The name you have specified is not valid or too long". Hit Cancel. Then XY's "Rename Failed" shows up. Click OK and XY will kick you out and change to the app that you switched from to XY.
1. Create a dummy file
2. Attempt to rename it using this script:
Code: Select all
$a = <clipboard>;
rename b, $a;
First pops up Explorer's "The name you have specified is not valid or too long". Hit Cancel. Then XY's "Rename Failed" shows up. Click OK and XY will kick you out and change to the app that you switched from to XY.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
Confirmed under Win7 (not under XP). Another instance of the windows focus confusion in Win7... Anyway, I could work around it. Workaround comes.zer0 wrote:This is a scripting bug in as much as I can only reproduce it through scripting, but there may be another way that is unknown to me. Anyway, it's pretty simple to repro:
1. Create a dummy file
2. Attempt to rename it using this script:3. Kicker: make sure that whatever is the intended new name in the clipboard contains invalid characters.Code: Select all
$a = <clipboard>; rename b, $a;
First pops up Explorer's "The name you have specified is not valid or too long". Hit Cancel. Then XY's "Rename Failed" shows up. Click OK and XY will kick you out and change to the app that you switched from to XY.
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
Cheers for working around it. Why does Explorer's failure notification window even show? Having it and XY's one after the other seems redundant, just one should be displayed.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
True, but a bit tricky in this case. Hard to explain why...zer0 wrote:Cheers for working around it. Why does Explorer's failure notification window even show? Having it and XY's one after the other seems redundant, just one should be displayed.
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
Well, I was able to improve it.admin wrote:True, but a bit tricky in this case. Hard to explain why...zer0 wrote:Cheers for working around it. Why does Explorer's failure notification window even show? Having it and XY's one after the other seems redundant, just one should be displayed.
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
Code: Select all
moveto "\Test1 & Test2";
moveto "\Test3 & Test4";
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
Yo, fix comes.zer0 wrote:gives Underscores should not be there, but double ampersands result in "folder does not exist message" even if it does.Code: Select all
moveto "\Test1 & Test2"; moveto "\Test3 & Test4";
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
Hasn't trickled into the latest beta, it seemsadmin wrote:Yo, fix comes.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build