Hello,
I made this skin that remains hidden until there is a full screen movie playing in vlc. Then the title is displayed.
It works famously on almost every option I thought to test.
But now I am getting a repeating invalid substitute - but only if that active browser is a standing search result output, this is the error: Measure: Invalid Substitute="-1":"Title","1":"TGx:Search results for "escape plan"Google Chrome" (Utopia Dynamic\Titles\Movie Title File.ini - [MeasureOnlyVlc])
I have a couple of process measures that prevent a couple full screen exe's from triggering the auto hide/show title skin.
I wish to cancel out that error using a nice ifcondition or similar - or what might work in this request.
Thanks.
It is currently September 8th, 2024, 12:09 am
Active Title and Process name
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Active Title and Process name
You do not have the required permissions to view the files attached to this post.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 8030
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Active Title and Process name
Wasn't this already tackled in your previous thread?
https://forum.rainmeter.net/viewtopic.php?t=44106
![Confused :???:](./images/smilies/bw.gif)
https://forum.rainmeter.net/viewtopic.php?t=44106
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Active Title and Process name
Actually, it worked to the best outcome. There remains that single circumstance - when the TGx search is in focus. When not in focus the error resolves. It used to log errors even for Chrome searches. That is now fixed. If I am not searching no error logs.Yincognito wrote: ↑July 6th, 2024, 10:23 am Wasn't this already tackled in your previous thread?![]()
https://forum.rainmeter.net/viewtopic.php?t=44106
All other windows behave as hoped. The working syntax was for single double quotes around the section variable. double double breaks the skin and nothing comes up or is not being tracked in the log.
Sorry, though. I forgot that other thread was so specifically the same.
Anyway, I will keep flinging rings at the milk bottles.
![Great :great:](./images/smilies/dn.gif)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 8030
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Active Title and Process name
It should work even when searching though, but only if the replacement string doesn't contain the type of quotes used to enclose it. See:
https://forum.rainmeter.net/viewtopic.php?t=27870
So:
Substitute="-1":"Title","1":'TGx:Search results for "escape plan"Google Chrome'
Substitute="-1":"Title","1":"TGx:Search results for 'escape plan'Google Chrome"
would work, but
Substitute="-1":"Title","1":'TGx:Search results for "esc'ape plan"Google Chrome'
Substitute="-1":"Title","1":"TGx:Search results for 'esc"ape plan'Google Chrome"
would not.
I'd be curious about jsmorley's take on the latter two though, I suppose you can ask him if he's still watching that thread.
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Active Title and Process name
I don't think it matters what the substitute string is.
It is the search function on that TGx site. No idea how to approach that. As soon as a selection is made remaining in the domain is clear of errors.
TPB does not throw an error in search. Google Chrome was doing it but the original fix got that to stop.
Kind of confusing, since the search is discretely altering the search string (following your last post idea).
So there is no reference of what to address to squash that bug with.
![Sad :(](./images/smilies/ac.gif)
It is the search function on that TGx site. No idea how to approach that. As soon as a selection is made remaining in the domain is clear of errors.
TPB does not throw an error in search. Google Chrome was doing it but the original fix got that to stop.
Kind of confusing, since the search is discretely altering the search string (following your last post idea).
So there is no reference of what to address to squash that bug with.
![Sad :(](./images/smilies/ac.gif)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 8030
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Active Title and Process name
I see. Well, assuming your code is correct or identical for all "search engines" you mentioned, the only thing I can think of is some funky character from TGx messing the Substitute. ![Confused :confused:](./images/smilies/bn.gif)
![Confused :confused:](./images/smilies/bn.gif)
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Active Title and Process name
Time for some imaginative Google searches.Yincognito wrote: ↑July 7th, 2024, 6:21 pm I see. Well, assuming your code is correct or identical for all "search engines" you mentioned, the only thing I can think of is some funky character from TGx messing the Substitute.![]()
![Cool 8-)](./images/smilies/af.gif)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 8030
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita