Author Topic: How to get this Exp: to work?  (Read 4307 times)

iceblast

  • Sr. Member
  • ****
  • Posts: 374
How to get this Exp: to work?
« on: December 24, 2016, 10:19:31 AM »
This EXP works fine, unless there is a ! in the title.

Code: [Select]
{EXP:'{WINDOWTITLEUNDERMOUSE}' LIKE '*Edit Style*' OR '{WINDOWTITLEUNDERMOUSE}' LIKE '*Developer Tools*'}
So I stripped the ! from the title.

I had VA change the windows title, but the Expression still doesn't work. It works fine with any title that doesn't have a !, but with it, error. Even though I stripped the ! out, you can look at the Title in Task Manager and see that the ! is gone, yet, it still doesn't work.

I even tried setting {WINDOWTITLEUNDERMOUSE} to {TXT:Title}, and it still didn't work. What am I doing wrong????

Code: [Select]
{EXP:'{TXT:Title}' LIKE '*Edit Style*' OR '{TXT:Title}' LIKE '*Developer Tools*'}


Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: How to get this Exp: to work?
« Reply #1 on: December 24, 2016, 10:42:05 AM »
Not sure what you mean by "a ! in the title".

I copied your first "{EXP:}" verbatim and put it into a condition, it works fine with window titles like "!!!!Developer Tools!!.txt - Notepad" or "!! Edit Style !!!.txt - Notepad", in v1.6.1.8.

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: How to get this Exp: to work?
« Reply #2 on: December 24, 2016, 11:36:33 AM »
REALLY! Jeez. I don't understand then.

Here's the title, EXCLUSIVE: Dinesh D'Souza speaks for first time after Trump win! - YouTube - Opera

D*mn it, Now I see the '. I overlooked it, because I sit 6 feet from my screen.

I just removed the ' from his name, and now it works just fine. Jeez. 5 hours banging my head against the wall, because I couldn't see the '.

Thanks for the help, I'm going to go relax now. :)

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: How to get this Exp: to work?
« Reply #3 on: December 24, 2016, 09:05:14 PM »
http://www.glassesusa.com

It may be time, old man  o_O


Merry Christmas!

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: How to get this Exp: to work?
« Reply #4 on: December 24, 2016, 09:21:44 PM »
LOL I did have a monocular I could use, but apparently, it rolled away, and I can't seem to find it. :)

Merry Christmas!