Search found 29 matches

by slindstrom
Tue May 10, 2022 2:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: hide message box
Replies: 12
Views: 7894

Re: hide message box

Yes, I'm on a Mac. The frequent failure of Command-m isn't such a big deal as there's always the item for toggling the message box under the Tools menu. Still, it's irritating. I'm more bothered by the message box sitting open after a script has run. I know not to leave "empty" put statements lying ...
by slindstrom
Wed May 04, 2022 9:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: hide message box
Replies: 12
Views: 7894

hide message box

This is a basic question. Asking here anyway as I'm not a total newbie. I have a number of stacks/scripts for daily work use we generally run in the IDE, not as standalones, for a few reasons including frequent updating of the tools. Anyway, many scripts we run regularly finish leaving the message b...
by slindstrom
Thu Feb 04, 2021 1:14 am
Forum: Talking LiveCode
Topic: standalone save glitch
Replies: 3
Views: 3285

Re: standalone save glitch

Worked like a charm. Thanks.
by slindstrom
Wed Feb 03, 2021 1:33 am
Forum: Talking LiveCode
Topic: standalone save glitch
Replies: 3
Views: 3285

standalone save glitch

I am getting an error message when I try to save a stack as a standalone application. Seems to affect all stacks. The stack I wish to save is just a mildly modified version of a stack I have saved as a standalone before. See attached image of the error message. Some details that are likely relevant....
by slindstrom
Wed Jul 24, 2019 5:50 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 6590

Re: help with filter command

Bingo. Thanks so much, SparkOut!
by slindstrom
Wed Jul 24, 2019 2:02 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 6590

Re: help with filter command

And if I replace tab & "abc" & tab with "#abc#" in myVar and then…

filter lines of myVar without "#abc#"

that doesn't work either. So there is something I am fundamentally missing about how the filter command is supposed to be used. Help?

Thanks in advance,

Sieg
by slindstrom
Wed Jul 24, 2019 1:41 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 6590

Re: help with filter command

Alas this doesn't help either.

"The other way around it may be to set your itemdelimiter to "comma" and filter tab & "abc" & tab, which would make 'tab' a part of the data and therefore searchable. Just remember to reset your itemdelimiter to tab afterwards."

:(
by slindstrom
Wed Jul 24, 2019 1:36 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 6590

Re: help with filter command

Thank you Xero. I hear what you're saying… Sort of. The LC replace command will handle a string consisting of tab & "abc" & tab. And this works. put tab & "abc" & tab into findString get lineOffset(findString) in myVar So I don't understand why the filter command can't accept tab as part of a string...
by slindstrom
Tue Jul 23, 2019 11:47 pm
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 6590

help with filter command

Hello. I find myself at a loss in using the filter command. My instant problem: I have a tab-delimited list in a variable and wish to filter out all lines containing instances of the string tab & "abc" & tab. I've tried this with no success. put tab & "abc" & tab into cutString filter lines of myVar...
by slindstrom
Thu Jun 27, 2019 7:41 pm
Forum: Talking LiveCode
Topic: substack location (filepath)
Replies: 3
Views: 3596

Re: substack location (filepath)

Thanks. Very helpful. Now LiveCloud support is telling me they believe the essential problem is their use of filename when they should have used effective filename in their initialization script for the database toolkit. Will be fixed in the next release, and obviously an easy fix to make for oneself.
by slindstrom
Thu Jun 27, 2019 12:18 am
Forum: Talking LiveCode
Topic: substack location (filepath)
Replies: 3
Views: 3596

substack location (filepath)

Perhaps my question belongs in the Databases forum but I'll try here first. I'm working on a project to convert an existing app from a tool for managing data in a MySQL database to a tool for managing data in the new LiveCloud database product. I've asked LiveCloud support for help on the following ...
by slindstrom
Wed Mar 06, 2019 6:22 pm
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 5784

Re: simple regex replacetext question

Thanks, Thierry! Both work with my data.
by slindstrom
Wed Mar 06, 2019 12:27 am
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 5784

simple regex replacetext question

At least I think it's simple, though I've not figured out the syntax. How should I modify the following so that it works even if the contents of the table tag has a line break and sequence of spaces at the start of the second line? I've tried searching this forum but inevitably find discussions that...
by slindstrom
Fri Feb 24, 2017 1:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster check than offset(x,variable)?
Replies: 3
Views: 3603

Re: faster check than offset(x,variable)?

Thank you, Jean-Marc. Great info to have but now I'm thinking there is simply something wrong with this stack. I ran a test using "repeat for each" on 194 lines of data. It took a couple minutes. Normally even with "repeat with" it should run through a short list like that in the blink of an eye. I'...
by slindstrom
Thu Feb 23, 2017 10:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster check than offset(x,variable)?
Replies: 3
Views: 3603

faster check than offset(x,variable)?

I'm not a complete beginner but hope this is a simple question. I have a script that checks whether each line in a variable (nuData) containing tab-delimited data is present or not in another variable (oldData) that also contains lines of tab-delimited records. If the record appears in both variable...