LiveCode Multi-Search

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

AndyP
Posts: 358
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

LiveCode Multi-Search

Post by AndyP » Thu Sep 13, 2018 4:07 pm

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
Andy Piddock

http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas

http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good

My software never has bugs. It just develops random features

bogs
Posts: 2083
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Thu Sep 13, 2018 5:43 pm

Oh that looks too cool Andy!
Image

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 59
Joined: Fri Apr 28, 2006 12:10 am

Re: LiveCode Multi-Search

Post by RogGuay » Fri Sep 14, 2018 6:18 am

What a great idea! Thank you Andy.

mrcoollion
Posts: 328
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: LiveCode Multi-Search

Post by mrcoollion » Fri Sep 14, 2018 8:15 am

Great .. thanks ... :D

sphere
Posts: 662
Joined: Sat Sep 27, 2014 10:32 am
Location: the Netherlands

Re: LiveCode Multi-Search

Post by sphere » Fri Sep 14, 2018 10:11 am

Toll! Ich danke ihnen.
Please, stop quoting things my brother did not say. Thank you. Hans Zweistein.

AndyP
Posts: 358
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LiveCode Multi-Search

Post by AndyP » Fri Sep 14, 2018 10:48 am

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
Andy Piddock

http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas

http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good

My software never has bugs. It just develops random features

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4567
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode Multi-Search

Post by jacque » Fri Sep 14, 2018 10:06 pm

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. :)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bogs
Posts: 2083
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Sat Sep 15, 2018 11:35 am

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?
Image

bwmilby
Posts: 198
Joined: Wed Jun 07, 2017 5:37 am
Location: New Orleans, LA
Contact:

Re: LiveCode Multi-Search

Post by bwmilby » Sat Sep 15, 2018 2:19 pm

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

Script Tracker https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker

bogs
Posts: 2083
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Sat Sep 15, 2018 3:11 pm

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:
Image

AndyP
Posts: 358
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LiveCode Multi-Search

Post by AndyP » Sat Sep 15, 2018 11:05 pm

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

http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas

http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good

My software never has bugs. It just develops random features

bogs
Posts: 2083
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Sun Sep 16, 2018 2:08 pm

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

AndyP
Posts: 358
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LiveCode Multi-Search

Post by AndyP » Sun Sep 16, 2018 2:58 pm

Hi bogs, great reference.

Now available on share v1.0.2
Andy Piddock

http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas

http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good

My software never has bugs. It just develops random features

bogs
Posts: 2083
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Sun Sep 16, 2018 3:32 pm

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

AndyP
Posts: 358
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LiveCode Multi-Search

Post by AndyP » Sun Sep 16, 2018 4:09 pm

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?
Andy Piddock

http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas

http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good

My software never has bugs. It just develops random features

Post Reply

Return to “Announcements”