Page 4 of 4

Re: LiveCode Multi-Search

Posted: Mon Oct 15, 2018 1:26 pm
by AndyP
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.

Re: LiveCode Multi-Search

Posted: Mon Oct 15, 2018 4:50 pm
by AndyP
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..

Re: New Version LiveCode Multi-Search

Posted: Sun Nov 11, 2018 3:39 pm
by AndyP
New Version added ... lti-Search

Full notes here

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 ... rch/issues


Re: LiveCode Multi-Search

Posted: Sun Nov 11, 2018 8:18 pm
by sphere
Thanks Andy for the effort you put into this great tool, which makes our lives easier :)

Re: LiveCode Multi-Search

Posted: Sun Nov 11, 2018 10:45 pm
by bogs
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.

Re: LiveCode Multi-Search

Posted: Sun Nov 11, 2018 11:17 pm
by AndyP
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.

Re: LiveCode Multi-Search

Posted: Mon Nov 12, 2018 10:05 am
by bogs
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

Edit - I was pleasantly surprised to find it *does* actually run on LMDE 2!
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.

Re: LiveCode Multi-Search

Posted: Mon Nov 12, 2018 11:58 am
by AndyP
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.

Re: LiveCode Multi-Search

Posted: Mon Nov 12, 2018 12:20 pm
by bogs
Always a pleasure to help you help us :D

Re: LiveCode Multi-Search

Posted: Mon Nov 12, 2018 5:04 pm
by AndyP
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?

Re: LiveCode Multi-Search

Posted: Mon Nov 12, 2018 8:44 pm
by bogs
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.

Re: LiveCode Multi-Search

Posted: Mon Nov 12, 2018 11:02 pm
by AndyP
1.0.7 is now on sample Stacks. ... lti-Search

lcmsresources.txt saves to specialFolderPath("Home") on Linux.
Win/Mac remains specialFolderPath("Documents").