Rookie to scripting

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

Just installed XYplorer 23.60.0000 When using the AND I get the error.

prop:#image.datetaken: >= 5/9/2015 AND prop:#image.datetaken: < 10/9/2015

Error: 13 (0x0000000D)
Desc: Type mismatch
Dll: 0
Proc: IsFileOK@30: D:\2015\Feast 2015 Utah\2015-09-26 001\IMG_1642.JPG

Source: XYplorer
XY ver: XYplorer 23.60.0000
OS: Windows 10, 64-bit, Version 21H2, Build 19044.1889 (10.0)
Locale: 1033 (en-US)
ANSI: 1252, ACP: 1252 (ANSI - Latin I)
Font: Segoe UI 9, Segoe UI 9, DBCS: No
DPI: 96 (100%), 2560x1080

Date: 2022-09-03 21:29:16

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

Re: Rookie to scripting

Post by admin »

No error when you don't use AND?

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

I've tried beta 23.50.0304 and the new 23.60.0000 using

prop:#image.datetaken: >= 5/9/2015 AND prop:#image.datetaken: < 10/9/2015 and prop:#image.datetaken: >= 5/9/2015 AND < 10/9/2015

I get either error Error 13 or no results

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

Re: Rookie to scripting

Post by admin »

What when you just use this?
prop:#image.datetaken: >= 5/9/2015

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

It works using Beta 23.50.0304, I get results. Using the AND I get the Error 13

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

prop:#image.datetaken: >= 5/25/2018 AND prop:#image.datetaken: <= 5/26/2022

Error: 13 (0x0000000D)
Desc: Type mismatch
Dll: 0
Proc: IsFileOK@30: D:\ASUS --1\Desktop\save\Pictures\House paint gray 11-25-10 back-(1).JPG

Source: XYplorer
XY ver: XYplorer 23.50.0304
OS: Windows 10, 64-bit, Version 21H2, Build 19044.1889 (10.0)
Locale: 1033 (en-US)
ANSI: 1252, ACP: 1252 (ANSI - Latin I)
Font: Segoe UI 9, Segoe UI 9, DBCS: No
DPI: 96 (100%), 2560x1080

Date: 2022-09-04 08:55:32

======

prop:#image.datetaken: >= 5/25/2018 --- I get results

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

Re: Rookie to scripting

Post by admin »

And with this one?

prop:#image.datetaken: <= 5/26/2022

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

prop:#image.datetaken: <= 5/26/2022

It works just fine, got expected results.

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

Re: Rookie to scripting

Post by admin »

OK, should be fixed in next beta.

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

OK, thank you.

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

I installed BETA v23.60.0001 and tried this script:

prop:#image.datetaken: >= 1/1/2000 AND prop:#image.datetaken: <= 1/1/2022

It didn't crash on Error 13. However I scanned over 13,000 records and got no hits.

prop:#image.datetaken: >= 1/1/2000 worked stand alone and prop:#image.datetaken: <= 1/1/2022 worked stand alone.

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

Re: Rookie to scripting

Post by admin »

Is the date correctly returned when you run this script through the address bar?

Code: Select all

echo formatdate("5/9/2015",4:=8);

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

Where is the address bar?

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

Re: Rookie to scripting

Post by admin »

texdawg3110 wrote: ↑05 Sep 2022 16:10 Where is the address bar?
1) https://www.xyplorer.com/images/XYplorer-UI-Parts.png

2) After the search with no results, run this through the address bar:

Code: Select all

text <get find_queryparsed>;

texdawg3110
Posts: 21
Joined: 22 Jul 2019 05:01

Re: Rookie to scripting

Post by texdawg3110 »

Screenshot 2022-09-05 110753.jpg
I think this is what you requested
To see the attached files, you need to log into the forum.

Post Reply