It is currently September 8th, 2024, 12:09 am

Active Title and Process name

Get help with creating, editing & fixing problems with skins
User avatar
CodeCode
Posts: 1383
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Active Title and Process name

Post by CodeCode »

Hello,
I made this skin that remains hidden until there is a full screen movie playing in vlc. Then the title is displayed.
Movie Title _xx.rmskin
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.
You do not have the required permissions to view the files attached to this post.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Active Title and Process name

Post by Yincognito »

Wasn't this already tackled in your previous thread? :???:
https://forum.rainmeter.net/viewtopic.php?t=44106
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
CodeCode
Posts: 1383
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Active Title and Process name

Post by CodeCode »

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
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.

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:
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Active Title and Process name

Post by Yincognito »

CodeCode wrote: July 6th, 2024, 10:32 amIf I am not searching no error logs.
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.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
CodeCode
Posts: 1383
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Active Title and Process name

Post by CodeCode »

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.

:(
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Active Title and Process name

Post by Yincognito »

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:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
CodeCode
Posts: 1383
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Active Title and Process name

Post by CodeCode »

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. :confused:
Time for some imaginative Google searches. 8-)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Active Title and Process name

Post by Yincognito »

CodeCode wrote: July 8th, 2024, 6:14 am Time for some imaginative Google searches. 8-)
:thumbup:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth