Re: filter

2020-11-19 Thread Bob Sneidar via use-livecode
No one escapes the lair of the Regex Demon. Except for maybe Riddick. Bob S On Nov 19, 2020, at 8:15 AM, Keith Clarke via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Ha, yes I understand that desire - and Mark’s one-character escape trick beats my hack to bypass the lair of

Re: PDF Manipulation was Design Question

2020-11-19 Thread John McKenzie via use-livecode
Bob S: Thanks for replying to my post. It seems the situation is as I thought although making a GUI with Livecode to activate an external library is easier than using other tools to make a GUI for an external library. When I started this conversation I assumed I would something like that.

Re: PDF Manipulation was Design Question

2020-11-19 Thread doc hawk via use-livecode
*IF* the pdf files are simple enough, there are some substitutions that you can “just make”. A string literal can be replaced with a string of the same length. It could also be replaced with a shorter string and space-padded for the extra space. You want to put a string that is three

Re: filter

2020-11-19 Thread Bob Sneidar via use-livecode
I don’t think I could watch! Oh the horror! Bob S > On Nov 19, 2020, at 9:17 AM, Keith Clarke via use-livecode > wrote: > > The chronicles of regex - a potential blockbuster there, Bob! :-) > Best, > Keith > >> On 19 Nov 2020, at 16:49, Bob Sneidar via use-livecode >> wrote: >> >> No

Re: filter

2020-11-19 Thread Keith Clarke via use-livecode
The chronicles of regex - a potential blockbuster there, Bob! :-) Best, Keith > On 19 Nov 2020, at 16:49, Bob Sneidar via use-livecode > wrote: > > No one escapes the lair of the Regex Demon. Except for maybe Riddick. > > Bob S > > > On Nov 19, 2020, at 8:15 AM, Keith Clarke via

Re: filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi Mark, > Am 19.11.2020 um 18:07 schrieb Mark Wieder via use-livecode > : > On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote: >> I think: >> filter fld 1 with "[[]*" >> Should do the trick... > As an alternative, > filter fld 1 with regex pattern "^\[+" > also does the trick.

Re: Script colorization not working

2020-11-19 Thread Devin Asay via use-livecode
Thanks Panos, and Bernd also for the tip on the new version of Source Code Pro. The student was indeed using Source Code Pro, and when she changed to a different font for the script editor, it fixed the problem. Devin > On Nov 18, 2020, at 2:26 PM, panagiotis merakos via use-livecode >

Re: filter

2020-11-19 Thread Mark Wieder via use-livecode
On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote: I think:   filter fld 1 with "[[]*" Should do the trick... As an alternative, filter fld 1 with regex pattern "^\[+" also does the trick. -- Mark Wieder ahsoftw...@gmail.com ___

RE: filter

2020-11-19 Thread Craig newman via use-livecode
Klaus. I use "filter" here and there, mostly with regex or wildCards. But nothing works for me either,: Filter yourText with "[" Filter yourText where each contains "[" Not sure what is going on. Where is Thieery? Craig -Original Message- From: use-livecode

Re: Design Question

2020-11-19 Thread William Prothero via use-livecode
Jim: What I’m thinking is that my app would allow students to write their text and create the images. I would export the “composition” in pdf format. That would be imported into the LMS or sent to the teacher external to my app. The teacher could then comment on the writing either in the LMS or

Re: filter

2020-11-19 Thread Mark Wieder via use-livecode
On 11/19/20 9:09 AM, Klaus major-k via use-livecode wrote: Hi Mark, Am 19.11.2020 um 18:07 schrieb Mark Wieder via use-livecode : On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote: I think: filter fld 1 with "[[]*" Should do the trick... As an alternative, filter fld 1 with

Re: Downloading LC9

2020-11-19 Thread Sean Cole (Pi) via use-livecode
Panos, *>>and also the script editor is not opening at all from any stack card > or object* > this sounds like a symptom of corrupted Preferences, please try deleting > your LC preferences in /Users/{username}/Library/Preferences/RunRev/* > > Panos I have deleted ALL LC/RunRev prefs and

filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi all, I am surely missing something here with filter. I have a field with some lines like: ... [500] text yadda yadda [100] ... And want to filter the field that only the lines with [...] remain in the field. So I thought ... filter fld 1 with "[*" ... would do the job, but that EMPTIES the

Re: filter

2020-11-19 Thread Keith Clarke via use-livecode
Hi Klaus, Maybe iterate the lines - untested... repeat for each line l in fld 1 if and( offset( “[“, l) > 0 , offset(“]”, l) > 0 ) then put line l of fld 1 into tList end repeat put tList Best, Keith > On 19 Nov 2020, at 15:19, Klaus major-k via use-livecode > wrote: > > Hi all, > > I

Re: filter

2020-11-19 Thread Mark Waddingham via use-livecode
So I thought ... filter fld 1 with "[*" ... would do the job, but that EMPTIES the field!? Obviously this [ interferes with some REGEX mechanism of filter? So what should I use now? I think: filter fld 1 with "[[]*" Should do the trick... Basically, you can use '[...]' to 'escape' the

Re: filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi Keith, > Am 19.11.2020 um 16:38 schrieb Keith Clarke via use-livecode > : > > Hi Klaus, > Maybe iterate the lines - untested... > repeat for each line l in fld 1 > if and( offset( “[“, l) > 0 , offset(“]”, l) > 0 ) then put line l of fld 1 > into tList > end repeat > put tList yes, sure,

Re: filter

2020-11-19 Thread Klaus major-k via use-livecode
Hi Mark, > Am 19.11.2020 um 16:38 schrieb Mark Waddingham via use-livecode > : > >> So I thought >> ... >> filter fld 1 with "[*" >> ... >> would do the job, but that EMPTIES the field!? >> Obviously this [ interferes with some REGEX mechanism of filter? >> So what should I use now? > I think:

Re: filter

2020-11-19 Thread Keith Clarke via use-livecode
Ha, yes I understand that desire - and Mark’s one-character escape trick beats my hack to bypass the lair of the regex demon! :D Best, Keith > On 19 Nov 2020, at 15:51, Klaus major-k via use-livecode > wrote: > > Hi Keith, > >> Am 19.11.2020 um 16:38 schrieb Keith Clarke via use-livecode >>

Re: Downloading LC9

2020-11-19 Thread Sean Cole (Pi) via use-livecode
It just corrupted my stack too this time. Good job I have dropbox backups. Sean Cole *Pi Digital * On Thu, 19 Nov 2020 at 14:19, Sean Cole (Pi) wrote: > Panos, > > *>>and also the script editor is not opening at all from any stack card >> or object* >> this sounds like a symptom of