Rookie to scripting

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
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 »

Filter? :shock: I wasn't aware we are talking about filters. I have no idea what you are doing there. Please describe as exactly as possible what you are doing and make screenshots (of the whole app) of each step.

BTW, this whole thread is NOT about scripting. I move to "Tips & Tricks, Questions & Answers" now.

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

Re: Rookie to scripting

Post by texdawg3110 »

Screenshot 2022-09-05 122125.jpg
Here is the echo reply
To see the attached files, you need to log into the forum.

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

Re: Rookie to scripting

Post by texdawg3110 »

OK, I do a lot of sorting photos. I have several photos (jpegs) I'm working on.
Screenshot 2022-09-05 123210.jpg
The above does not show an option for date taken so I needed a means to do date checks using date taken.

I appreciate your help and patience in this matter.
To see the attached files, you need to log into the forum.

RalphM
Posts: 2145
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Rookie to scripting

Post by RalphM »

If your working a lot with photos, wouldn't it make sense to have the date created = date taken?
The following CFA does this for all selected files.

Code: Select all

|"Timestamp C with EXIF-Date"\;*.jpg>::timestamp "c", '<dateexif>'
Then you could use the standard search with between dates.
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

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

Re: Rookie to scripting

Post by texdawg3110 »

Thanks Ralph, I'll try it out.

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

Re: Rookie to scripting

Post by texdawg3110 »

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

This is still not working with the "AND". I'm up to BETA 23.60.0006.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Rookie to scripting

Post by LittleBiG »

texdawg3110 wrote: ↑08 Sep 2022 16:05 prop:#image.datetaken: >= 1/1/2022 AND prop:#image.datetaken: <= 10/9/2022

This is still not working with the "AND". I'm up to BETA 23.60.0006.
And I still don't understand where exactly you are trying it. Because it does work where it is intended to work.

If you do try it in search, I can imagine only one thing why it could not work for you. Set the option marked in yellow in your configuration.
To see the attached files, you need to log into the forum.

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

Re: Rookie to scripting

Post by texdawg3110 »

I was not aware this option existed. I turned on the Boolean option and it fixed my problem.

THANK YOU VERY MUCH!

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 »

If the rookie had actually read my post from 4 days ago (viewtopic.php?p=202771#p202771) this would have surfaced right away. :whistle:

Post Reply