Silly question probably but what is the difference between "Token Text" vs "Token Text Only" in the value inspector? I couldn't find anything on the wiki or on this forum on what the difference is.
Great question. The online manual doesn't say. I did some tests of my own and couldn't determine the difference.
Then I went to ChatGPT and it said that "token text only" will not return any text other than the token text. (It claimed that if you use "Today is %LongDate%" it won't return the text "Today is ".) That makes sense, but I tried that and it didn't work.
Perhaps one of the true wizards of this site can explain it, or they can tag the Architect in their reply so that he reads it. (I hate disturbing the Architect when it's usually my own fault.)
This is intriguing! I cannot work out the implication of "only" here either.
I'm not a wizard but I'll happily flag @peternlewis since I'm sure he would like to fill in the gap in the Wiki's coverage, whether or not we are enlightened here in the meantime!
Haha, that's how I feel about you guys. I get replies that blow my mind from you guys and I am in awe at what I am looking at for the results. Thanks @kevinb for tagging the boss.
Yes, exactly. So what would be a more sensible example? I have been experimenting with various tokens but have yet to discover a convincing case of where such processing would be desirable (which is not to say that I doubt that there are such cases).
Processing Text Tokens normally includes both tokens (eg %SystemClipboard%) as well as backslash characters (eg \n). The latter can be ignored by processing Text Tokens Only.
Yes, so I gathered from revising tokens in the Wiki, which was my clue to guessing the meaning of "Token Text Only". I mentioned that "the purpose is the same as... under the cogwheel of actions", but I am now very curious about where else we this "across Keyboard Maestro"! Were you referring just to the cogwheel in relevant Actions, or are there other appearances..?
I hope you will agree that this topic indicates that the Wiki's entry for the Value Inspector window should state the difference between "Token Text" and "Token Text Only".
Interesting I did not know that existed and I am in the cog while often on actions. That Prepend to Variable is nice too. I just used the Prepend to Variable actions but it looks like that is not always needed.
The link below also points to that link so it looks like that is the main page on the Wiki about the value inspector and that it doesn't have it's own dedicated page.