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: 376
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LiveCode Multi-Search

Post by AndyP » Mon Oct 15, 2018 1:26 pm

Thanks, Jacque for all the great feedback and suggestions.

Yes, Windows is a bit lazy with open files..just opens them again...most of the time!

I'll incorporate your changes in the next upload with an option to set the BG color.

And I'll have a look at the dropdown colors.
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

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

Re: LiveCode Multi-Search

Post by AndyP » Mon Oct 15, 2018 4:50 pm

Ive just uploaded a new version which should address any file problems.

1.0.5 - Change default save location for the resources file to user/documents.
*** resources file has been RENAMED to lcmsresources.txt to avoid conflicts with other resources files in the user/documents folder.
file bug fixed for OS X - thanks Jacque

working on colors next..
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

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

Re: New Version LiveCode Multi-Search

Post by AndyP » Sun Nov 11, 2018 3:39 pm

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

Full notes here
https://github.com/AndyPiddock/LiveCode-Multi-Search

1.0.6
The option to exclude a search target was added in v1.0.6, this allows for quicker search returns if you are only interested in searching a subset of all the search targets available. To exclude a target, click on the green segment above the target to exclude. The segment will turn red to show that this target has been excluded from the next searches. Click again to reset, the segment will turn green.

Various minor bug fixes.

If you find any problems or have suggestions please post here
https://github.com/AndyPiddock/LiveCode ... rch/issues

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

sphere
Posts: 702
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth

Re: LiveCode Multi-Search

Post by sphere » Sun Nov 11, 2018 8:18 pm

Thanks Andy for the effort you put into this great tool, which makes our lives easier :)
:D :o :) :shock: 8) :lol:

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

Re: LiveCode Multi-Search

Post by bogs » Sun Nov 11, 2018 10:45 pm

Sorry it is so long after your post Andy, but I did finally get time to download it and give the latest a shot. On compiling it, I got an error saying it was missing an external file. The only file I can see included that isn't a stack is the resources.txt file. In the standalone settings, the checkbox to copy it is unchecked, so maybe that is the problem.

I checked the folder, there is no resources.txt file in it.
Image

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

Re: LiveCode Multi-Search

Post by AndyP » Sun Nov 11, 2018 11:17 pm

bogs, Ah my bad!

I should have removed the resources.txt reference from copy files as it is no longer required.
Please remove from the copy files before compiling.
I've just updated the file on Sample Stacks to this end.

A lcmsresources.txt is generated on first run in the user/documents folder (if it does not already exist).

sphere, thanks for the kind words.
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: 2299
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Mon Nov 12, 2018 10:05 am

The new version downloaded and worked ok on one nix distro, but I was unable to locate the lcmsresources.txt you mentioned either in the home, documents, or program folder.
StepOsTesters [Running] - Oracle VM VirtualBox_079.png
lcmsresources.txt ?
On the distro I was able to compile it on (antiX), it appears to stutter on startup. I don't think this is anything you can fix though, I suspect it is the way that Lc 9 and up are going to work on other distros.

Similarly, having compiled and tested to make sure it was working on the first distro, I was unable to get it to launch or start on the second distro (q4os/MATE). Will be testing on LMDE2 later today (LinuxMint Debian Edition), but I don't hold out much hope there either as Lc 8.x+ doesn't work properly on it.

Where Lc will run, though, the program does work excellently, great job
Image

Edit - I was pleasantly surprised to find it *does* actually run on LMDE 2!
Selection_001.png
LMDE2...
No lcmsresources.txt file found, though. Now I am wondering if the 'stutter' I see on start up is the program trying to create this file on 'nix, but failing somehow. Hmm.
Image

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

Re: LiveCode Multi-Search

Post by AndyP » Mon Nov 12, 2018 11:58 am

Ok it looks like specialFolderPath("Documents") is not available on Linux!

Looking at the docs I need to use specialFolderPath("Home")

On Linux systems, the following folderIdentifier values are supported:

"home": The current user's home folder
"desktop": The current user's desktop folder
"temporary": The folder where temporary files can be placed
"engine": The folder containing the LiveCode engine and the executable files copied in the standalone application
"resources": In development mode, the current stack's folder.

I'm spinning up a Linux Mint box for additional testing and I'll get a new version up with a check for Linux later today.

Thanks for all your input.
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: 2299
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Mon Nov 12, 2018 12:20 pm

Always a pleasure to help you help us :D
Image

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

Re: LiveCode Multi-Search

Post by AndyP » Mon Nov 12, 2018 5:04 pm

Hmm, not so easy. All sorts of strange things happening on Linux Mint 64bit.

I made a small test stack for checking the write to Home and this works...until a browser widget is added.

So with Mint 17.3 64bit
LC 9.0.2 crashes when opening a stack with a browser
LC 8.1.4 just hangs and puts the CPU at 100%

I'm going to try a clean Ubuntu distro and see if that is better, but it looks like using the browser widget on some Linux64 distros is going to cause problems....I thought this was a problem with 32bit only?
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: 2299
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode Multi-Search

Post by bogs » Mon Nov 12, 2018 8:44 pm

AndyP wrote:
Mon Nov 12, 2018 5:04 pm
...I thought this was a problem with 32bit only?
Oh no, it is much worse than that. The 32 bit thing I think was solved (or so it said in the quality db). Depending on the version of 'nix your using, at least as far as I tested here, Lc will ...
. a.) install ok, run ok, but not compile in any way shape or form (8.1.5 and up, 8.1.2 is iffy)
. b.) install ok, but run unstably
. c.) something else (very rare)

It seems to work on 'buntu, but I have such an issue with 'buntu I never keep it around long, so I haven't thoroughly tested it there.

On mint, 8.0.x seems to work ok, 8.1.x ymmv, least on mint lmde 2. Haven't tested lmde 3 yet (they dropped the MATE desktop, which I actually liked). Maybe I'll test that next :P

BTW, if you want a real treat, give antiX a try. Super light weight, and I actually was using that when I compiled your program a few posts above, so I know that 9.x at least works on it.

Edit - I take back the above, 9 didn't crash, but didn't go great on an actual install, however did in a vm. Go figure.
Last edited by bogs on Tue Nov 13, 2018 1:16 am, edited 1 time in total.
Image

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

Re: LiveCode Multi-Search

Post by AndyP » Mon Nov 12, 2018 11:02 pm

1.0.7 is now on sample Stacks.

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

lcmsresources.txt saves to specialFolderPath("Home") on Linux.
Win/Mac remains specialFolderPath("Documents").
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”