I recently began using Amazon Drive as an additional backup for my image files. There is a little feature Amazon Drive provides that I would like to emulate in Photo Supreme. Simplifying it somewhat, each day Amazon Drive sends me a link to a web site that shows all my images that have photo dates corresponding to today's day of the year.
Example, today is February 25, 2017. Amazon would show existing photos taken on 25 Feb 2016, 25 Feb 2015, ... , 25 Feb 1998, ...
The following search argument will give me that information in Photo Supreme:
"25 February"@CATITEM.PhotoDate
What I would like to do is to have the system automatically plug in today's day-month text so that I would not have to revise the search command each day.
Thanks in advance for any suggestions.
- David P
how to dynamically build or alter a search argument
Re: how to dynamically build or alter a search argument
If you are willing to use a macro, I believe this may work:
Macro Command
Equals
Macro Command
Code: Select all
%d %mmmm
Code: Select all
#system:d #system:mmmm
Photo Supreme 6.7.2.4201 (64 bits) (Windows)
Re: how to dynamically build or alter a search argument
Thanks, sanphotgn. That is a clever approach that had not occurred to me.
In hindsight I probably should not have selected 40,000 images before trying your suggestion. Photo Supreme was working really hard for several minutes trying to comply with the filtering command, then it finished with no results. I'll dig a little more.
Again, thanks!
- David P
In hindsight I probably should not have selected 40,000 images before trying your suggestion. Photo Supreme was working really hard for several minutes trying to comply with the filtering command, then it finished with no results. I'll dig a little more.
Again, thanks!
- David P
Re: how to dynamically build or alter a search argument
David, what you want isn't possible with the quick search in fact you'd want to enter #system macros in the quick search bar. Unfortunately that isn't possible as up to today I saw no use for macro parsing of search text. Best to record a Mantis ticket for this request.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Re: how to dynamically build or alter a search argument
I appreciate your response, Hert.
My little specific need is probably not worth the effort required by the Photo Supreme developers, but maybe in the grand scheme of things having macro parsing in the quick search bar could provide some potential universal benefit.
- David P
My little specific need is probably not worth the effort required by the Photo Supreme developers, but maybe in the grand scheme of things having macro parsing in the quick search bar could provide some potential universal benefit.
- David P
Re: how to dynamically build or alter a search argument
I find myself with a use case for macros in the search bar. I am interested in searching for images that have GPS info. I can to some extent simulate this if I know the approximate lat or long, by using - for example - "3@XMP.exif:gpslatitude" (and I only need enter the most significant digit of the lat or long). But it would be a lot neater if I could use something like "yes@%ImageHasGPS".
Edit: and what I can't do without macros - as far as I know - is search for images that do not have GPS info.
Edit2: I've found I can do this to some extent by using the filter bar, clicking on the double down-arrow to show more parameters, entering "3@XMP.exif:gpslatitude" into the filter text, and then clicking "filter>invert filter".
Edit3: Or I can use filter, dropdown>filter by macro command>%ImageHasGPS equals yes/no. I seem to be answering my own questions
Edit: and what I can't do without macros - as far as I know - is search for images that do not have GPS info.
Edit2: I've found I can do this to some extent by using the filter bar, clicking on the double down-arrow to show more parameters, entering "3@XMP.exif:gpslatitude" into the filter text, and then clicking "filter>invert filter".
Edit3: Or I can use filter, dropdown>filter by macro command>%ImageHasGPS equals yes/no. I seem to be answering my own questions