Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com)
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi
Tinderbox Users >> Tinderbox applications >> Finding prototypes
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi?num=1480711745

Message started by Ellen Madono on Dec 2nd, 2016, 3:49pm

Title: Finding prototypes
Post by Ellen Madono on Dec 2nd, 2016, 3:49pm

I have very irritating copies of prototypes lost in my tbx project.  They are cluttering up my list so I want to find them and get rid of them.

You explained this to me before, Mark, but the prototype did not appear in the agent box.    In the past,I think it did once or twice, then it didn't work.  I know capitalization sensitive is one reason. (I also tried unchecking the capitalization sensitive box in the inspector view/query.) That is not the cause.  What else could I have done?

By the way, I can't figure out how to send photos and I am going to wait until the new forum is working assuming it is easier.

I watched Steve Zeroli's excellent video and I have a better idea of how the agent works, but something is missing in my understanding.

^^^

What happened

The agent seems to work once.  Then when I change the name, it no longer works.

Was   $IsPrototype & $Name=="Water"  That worked.

Now is
$IsPrototype & $Name=="Phlegmatic"  That does not work in map view.

-----

That is nothing appears in the map view inside the agent box.  One difference  between my first  successful attempt and the second  unsuccessful attempt  is there are many  boxes name "Phlegmatic"  that I want to  get rid of.    There is only one box named "Water". :-/

Title: Re: Finding prototypes
Post by Mark Anderson on Dec 2nd, 2016, 4:14pm

If the query $IsPrototype & $Name=="Phlegmatic" returns nothing you don't have a prototype called "Phlegmatic" even if you do have notes titled "Phlegmatic".

Before going down a rabbit-hole of presumptions, try this and post a list of the names of all the notes listed in the pop-up. given the result of your agent, as described, we would not expect to see "Phlegmatic" listed.

As I recall, Tinderbox trims white space on new $Name values. But it may be you've a prototype called " Phlegmatic" or "Phlegmatic " and an unexpected space may be the issue, as a == query will not match either of the preceding variants. This should:

$IsPrototype & $Name.contains("Phlegmatic")

Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com) » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.