Main Menu

More info wanted on GUI-SEP.

Started by FrankB, March 06, 2025, 12:49:59 PM

Previous topic - Next topic

FrankB

I think this question is for Phil.

This is not a bug-report or change-request, only a request for info.

Background:
In ExifToolGui the pseudo tag '-GUI-SEP' is used to group tag names, by showing a heading line in bold. I'm thinking of extending this use, to indicate that a user entered an invalid tag. Examples are '-' and '--' that can currently cause ExifToolGUI to misbehave.

I have run searches on the ExifTool code and ExifTool docs (html) and can find no reference of GUI-SEP.
To me it looks like 'GUI-SEP' behaves like any other 'unknown tag', it just prints a hyphen '-' when used with '-f'.

My ASSUMPTION is that in the past it was advised to Bogdan to use that name because it would never be used as a real tag.

Is the assumption true, and if yes, can I use other names for pseudo tags? (Example: 'GUI-INV' for an invalid tag)

Thanks in advance, no hurry,

Frank
gui-sep.jpg

Phil Harvey

Hi Frank,

Quote from: FrankB on March 06, 2025, 12:49:59 PMTo me it looks like 'GUI-SEP' behaves like any other 'unknown tag', it just prints a hyphen '-' when used with '-f'.

Correct.

QuoteIs the assumption true, and if yes, can I use other names for pseudo tags? (Example: 'GUI-INV' for an invalid tag)

Correct again.

And furthermore, you can define any value you want for these tags by doing this:

-userparam GUI-INV#="some string"

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

FrankB

Thanks for your fast and clear reply, Phil.