Page 1 of 4

LiveCode Multi-Search

Posted: Thu Sep 13, 2018 4:07 pm
by AndyP
Just added LiveCode Multi-Search on Sample Stacks.

One Search box Seven sites searched

Search across

LiveCode Forum, Nabble Forum, StackOverflow, LiveCode Dictionary, LiveCode Lessons, GitHub and Github Gists all from one search box!

http://livecodeshare.runrev.com/stack/8 ... lti-Search

Image

Re: LiveCode Multi-Search

Posted: Thu Sep 13, 2018 5:43 pm
by bogs
Oh that looks too cool Andy!

Re: LiveCode Multi-Search

Posted: Fri Sep 14, 2018 6:18 am
by RogGuay
What a great idea! Thank you Andy.

Re: LiveCode Multi-Search

Posted: Fri Sep 14, 2018 8:15 am
by mrcoollion
Great .. thanks ... :D

Re: LiveCode Multi-Search

Posted: Fri Sep 14, 2018 10:11 am
by sphere
Toll! Ich danke ihnen.

Re: LiveCode Multi-Search

Posted: Fri Sep 14, 2018 10:48 am
by AndyP
I've also put a version with behaviour script only files on GitHub.

There is extended documentation in the readme file with details on how to self-host the LiveCode Dictionary.

https://github.com/AndyPiddock/LiveCode ... /README.md

Re: LiveCode Multi-Search

Posted: Fri Sep 14, 2018 10:06 pm
by jacque
This is really useful, thanks for putting it together. Just curious, should the Dictionary pane automatically display the search results as well? It works fine if I duplicate the search term in the Dictionary search field. It's not a big deal, I'm just wondering if it's acting as expected.

It's very nice to have all these places combined into a single stack, which is immediately going into my Plugins folder. :)

Re: LiveCode Multi-Search

Posted: Sat Sep 15, 2018 11:35 am
by bogs
jacque wrote:
Fri Sep 14, 2018 10:06 pm
... should the Dictionary pane automatically display the search results as well? It works fine if I duplicate the search term in the Dictionary search field.
I'm not sure I understand your question Jacque, from my testing of the stack, what you type into the search is populated in the search of the dictionary by default, and if you wanted to check something else, you can type it into the dictionary search after as well without interrupting the rest of the search tabs.

Search from main box...
Selection_003.png
Search...
Changed search in dictionary...
Selection_004.png
Dictionary change...
What am I missing? Doesn't it work this way on your system?

Re: LiveCode Multi-Search

Posted: Sat Sep 15, 2018 2:19 pm
by bwmilby
Mac issue? I don’t see it get populated either.

There are spaces in the URL which if removed make it work correctly on my machine. (In the search button script)

Search string should probably be URL Encoded (for spaces mainly). Dictionary code needs to reverse that though.

Re: LiveCode Multi-Search

Posted: Sat Sep 15, 2018 3:11 pm
by bogs
Ah, that could be it Brian. I know on linux it pops no issue, I didn't think to test it on Mac or Windows :oops:

Re: LiveCode Multi-Search

Posted: Sat Sep 15, 2018 11:05 pm
by AndyP
Ah, my bad spaces removed. New version on share.

I will look at the url encoding during next week.

Thanks for all the feedback.

Can you think of any other resources that could be added?


Oh and I need to add a check for Internet connection as not having a connection at startup can cause a partial hang whilst the browser widgets try to resolve their Urls.

Re: LiveCode Multi-Search

Posted: Sun Sep 16, 2018 2:08 pm
by bogs
AndyP wrote:
Sat Sep 15, 2018 11:05 pm
Can you think of any other resources that could be added?
Hm. Well, Max's Wiki would probably be helpful as a resource.

Re: LiveCode Multi-Search

Posted: Sun Sep 16, 2018 2:58 pm
by AndyP
Hi bogs, great reference.

Now available on share v1.0.2

Re: LiveCode Multi-Search

Posted: Sun Sep 16, 2018 3:32 pm
by bogs
Does anyone know if the guide is directly drawn from the Lc lessons page now, just organized better, or if it is a separate easy to access resource? I think it might be useful here as well, since it is formatted to flow better than the pdf version of IDEs past.

I did notice an odd bit of behavior in the first version as well, on linux anyway. If you type a search, then move to any other tab than the first one, you can't modify the search until you go back to the first tab (hope that makes sense).

Lastly, what would be the easiest way to turn this into a standalone if possible, Andy? I so rarely find myself in the later versions where using it as a plugin is workable, but as a standalone it could be useful just as a quick research tool.

Re: LiveCode Multi-Search

Posted: Sun Sep 16, 2018 4:09 pm
by AndyP
I use this exclusively as a standalone on Win 10 .. just build for your platform.
On Windows, the Segmented control and browser are automatically found and included in the build.

I have an old machine with Linux Mint on, so next week I'll spin it up and test on that as well.

I think the stalled search is due to the blocking when a browser widget is loading an url.

Do you know if tsnet can be used to get the url and then send to a browser widget?