Re: Not many people know this.

2018-08-17 Thread Mark Wieder via use-livecode

On 08/17/2018 05:51 PM, James At The Hale via use-livecode wrote:

It is easier to proof double spaced lines...


What would be the benefit of typing code on only odd numbered lines?


...that way I could put a comment after each line (ducking)...

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Not many people know this.

2018-08-17 Thread James At The Hale via use-livecode
It is easier to proof double spaced lines...

> What would be the benefit of typing code on only odd numbered lines?
> 
> Bob S
> 
> 
>>> On Aug 16, 2018, at 17:56 , Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> reason we treat that particular 10,000 odd lines of code with a great 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
Let them eat cake.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Bob Sneidar via use-livecode
Sent: Friday, August 17, 2018 4:39 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: filter list_of_files with REGEX xyz?

Half want cake, the other half, pie. 

Bob S


> On Aug 17, 2018, at 09:45 , Mark Wieder via use-livecode
 wrote:
> 
> On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote:
>> True true... I thought about it but left it as is just in case there 
>> was an image without a file name before the ".". I did not want it to be
missed.
>> You know users...
> 
> LOL
> 
> --
> Mark Wieder
> ahsoftw...@gmail.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Bob Sneidar via use-livecode
Half want cake, the other half, pie. 

Bob S


> On Aug 17, 2018, at 09:45 , Mark Wieder via use-livecode 
>  wrote:
> 
> On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote:
>> True true... I thought about it but left it as is just in case there was an
>> image without a file name before the ".". I did not want it to be missed.
>> You know users...
> 
> LOL
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Not many people know this.

2018-08-17 Thread Lagi Pittas via use-livecode
I have a habit of saying "ish" and "odd" in that context , so I'm in very
good company.

And I'm jealous of your hairline  ;-)

Lagi

On Fri, 17 Aug 2018 at 17:09, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2018-08-17 02:56, Mark Wieder via use-livecode wrote:
> > On 08/16/2018 11:21 AM, Mark Waddingham via use-livecode wrote:
> >
> >> reason we treat that particular 10,000 odd lines of code with a great
> >
> > My goodness. I thought I was the only one who wrote odd lines of
> > code...
>
> Haha! I didn't even see that until you pointed it out. Some spoken
> constructs simply don't translate to text...
>
> Warmest Regards,
>
> Mark.
>
> P.S. I meant 'around 10,000' lines of code - for any
> non-my-particular-colloquial-dialect-of-English-speakers... Which is
> probably most... ;)
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Mark Wieder via use-livecode

On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote:

True true... I thought about it but left it as is just in case there was an
image without a file name before the ".". I did not want it to be missed.
You know users...


LOL

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Not many people know this.

2018-08-17 Thread Mark Waddingham via use-livecode

On 2018-08-17 02:56, Mark Wieder via use-livecode wrote:

On 08/16/2018 11:21 AM, Mark Waddingham via use-livecode wrote:


reason we treat that particular 10,000 odd lines of code with a great


My goodness. I thought I was the only one who wrote odd lines of 
code...


Haha! I didn't even see that until you pointed it out. Some spoken 
constructs simply don't translate to text...


Warmest Regards,

Mark.

P.S. I meant 'around 10,000' lines of code - for any 
non-my-particular-colloquial-dialect-of-English-speakers... Which is 
probably most... ;)


--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
True true... I thought about it but left it as is just in case there was an
image without a file name before the ".". I did not want it to be missed.
You know users...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Wieder via use-livecode
Sent: Friday, August 17, 2018 11:41 AM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: filter list_of_files with REGEX xyz?

On 08/17/2018 07:13 AM, Ralph DiMola via use-livecode wrote:
> filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$"

For a file list that should probably be

filter tList with regex pattern "(?i).+\.(jpe?g|png|gif)$"

unless you explicitly want to see file names that start with "."

-- 
  Mark Wieder
  ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Mark Wieder via use-livecode

On 08/17/2018 07:13 AM, Ralph DiMola via use-livecode wrote:

filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$"


For a file list that should probably be

filter tList with regex pattern "(?i).+\.(jpe?g|png|gif)$"

unless you explicitly want to see file names that start with "."

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Not many people know this.

2018-08-17 Thread Bob Sneidar via use-livecode
Ah! a replacement for Word you say! That will teach Microsoft! 

Bob S


> On Aug 16, 2018, at 21:42 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Someday someone should go a menu like inDesign so that you can "do text"
> from a WSIWIG menu.
> I know Andre has one but he didn't even know about all the features
> available since v5.5. That's how buried it is.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Not many people know this.

2018-08-17 Thread Bob Sneidar via use-livecode
What would be the benefit of typing code on only odd numbered lines?

Bob S


> On Aug 16, 2018, at 17:56 , Mark Wieder via use-livecode 
>  wrote:
> 
>> reason we treat that particular 10,000 odd lines of code with a great 
> 
> My goodness. I thought I was the only one who wrote odd lines of code...
> 
> -- 
> Mark Wieder


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Lagi Pittas via use-livecode
I was going to send the whole line but Hermann has beaten me to it - and I
will use his version from now on, thanks Hermann.

Lagi


On Fri, 17 Aug 2018 at 15:03, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Hermann,
>
> > Am 17.08.2018 um 15:58 schrieb hh via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > This is already case-insensitive, but the period needs an escape:
> >
> > filter tList with regex pattern "\.*(jpe?g|png|gif)$"
>
> ah, jetzt ja! :-)
> Thanks a lot!
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Lagi Pittas via use-livecode
I used (without the gif)

.*\.jpj|jpeg|png|gif

The above is not case sensitive  - just tested it

Lagi

On Fri, 17 Aug 2018 at 14:45, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> (?i) turn off case sensitivity for everything after it in the regex
> expression. (?-i) turns it back on again for everything after it.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf Of Brian Milby via use-livecode
> Sent: Friday, August 17, 2018 9:19 AM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: Re: filter list_of_files with REGEX xyz?
>
> RegEx pattern
> Sorry, I was just giving the pattern, not the syntax.
> Also, it will probably be case sensitive in that format. I won’t be able
> to test until later. I don’t recall the case insensitive flag off hand.
>
> Thanks,
> Brian
> On Aug 17, 2018, 8:15 AM -0500, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > Hi Brian,
> >
> > > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode <
> use-livecode@lists.runrev.com>:
> > >
> > > Pattern “*.(jpe?g|png|gif)”
> >
> > thanks, but that does not work!?
> >
> > I tried:
> > on mouseUp pMouseButton
> > answer folder "sdsdsdsd"
> > put it into tFolder
> > put files(tFolder) into tList
> > filter tList with pattern "*.(jpe?g|png|gif)"
> > answer tList
> > end mouseUp
> >
> > tList = EMPTY, I made of course sure there are JPG, PNG and GIF files in
> that folder.
> >
> > Same when I use:
> > ...
> > filter lines of tList with pattern "*.(jpe?g|png|gif)"
> > ...
> > Any clues?
> >
> > > Thanks,
> >
> > You're welcome! :-)
> >
> > > Brian
> > > On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > > > Hi friends,
> > > >
> > > > I know how to:
> > > > ...
> > > > filter list_of_files with "*.jpg"
> > > > ...
> > > > But REGEX stuff is way over my head. :-/ Can anyone provide the
> > > > regex/pattern syntax for filtering jpg, png etc. in ONE run? Know
> > > > what I mean?
> >
> > Best
> >
> > Klaus
> >
> > --
> > Klaus Major
> > http://www.major-k.de
> > kl...@major-k.de
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
The ".*" is the wild card(zero or more) and "\." Is the period.

filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$"

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of hh via use-livecode
Sent: Friday, August 17, 2018 9:58 AM
To: use-livecode@lists.runrev.com
Cc: hh
Subject: Re: filter list_of_files with REGEX xyz?

This is already case-insensitive, but the period needs an escape:

filter tList with regex pattern "\.*(jpe?g|png|gif)$"


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
Let’s try this again...
Regex pattern “.*\.(jpe?g|png)$”

. - any character
* - any number of previous match term
? - 0 or 1 of previous term
\. - escapes the period for literal match
() - groups terms
| - alternates within group
$ - end of line

Thanks,
Brian
On Aug 17, 2018, 8:45 AM -0500, Ralph DiMola via use-livecode 
, wrote:
> (?i) turn off case sensitivity for everything after it in the regex 
> expression. (?-i) turns it back on again for everything after it.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Brian Milby via use-livecode
> Sent: Friday, August 17, 2018 9:19 AM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: Re: filter list_of_files with REGEX xyz?
>
> RegEx pattern
> Sorry, I was just giving the pattern, not the syntax.
> Also, it will probably be case sensitive in that format. I won’t be able to 
> test until later. I don’t recall the case insensitive flag off hand.
>
> Thanks,
> Brian
> On Aug 17, 2018, 8:15 AM -0500, Klaus major-k via use-livecode 
> , wrote:
> > Hi Brian,
> >
> > > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode 
> > > :
> > >
> > > Pattern “*.(jpe?g|png|gif)”
> >
> > thanks, but that does not work!?
> >
> > I tried:
> > on mouseUp pMouseButton
> > answer folder "sdsdsdsd"
> > put it into tFolder
> > put files(tFolder) into tList
> > filter tList with pattern "*.(jpe?g|png|gif)"
> > answer tList
> > end mouseUp
> >
> > tList = EMPTY, I made of course sure there are JPG, PNG and GIF files in 
> > that folder.
> >
> > Same when I use:
> > ...
> > filter lines of tList with pattern "*.(jpe?g|png|gif)"
> > ...
> > Any clues?
> >
> > > Thanks,
> >
> > You're welcome! :-)
> >
> > > Brian
> > > On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode 
> > > , wrote:
> > > > Hi friends,
> > > >
> > > > I know how to:
> > > > ...
> > > > filter list_of_files with "*.jpg"
> > > > ...
> > > > But REGEX stuff is way over my head. :-/ Can anyone provide the
> > > > regex/pattern syntax for filtering jpg, png etc. in ONE run? Know
> > > > what I mean?
> >
> > Best
> >
> > Klaus
> >
> > --
> > Klaus Major
> > http://www.major-k.de
> > kl...@major-k.de
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Hermann,

> Am 17.08.2018 um 15:58 schrieb hh via use-livecode 
> :
> 
> This is already case-insensitive, but the period needs an escape:
> 
> filter tList with regex pattern "\.*(jpe?g|png|gif)$"

ah, jetzt ja! :-)
Thanks a lot!

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread hh via use-livecode
This is already case-insensitive, but the period needs an escape:

filter tList with regex pattern "\.*(jpe?g|png|gif)$"


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
(?i) turn off case sensitivity for everything after it in the regex expression. 
(?-i) turns it back on again for everything after it.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Brian Milby via use-livecode
Sent: Friday, August 17, 2018 9:19 AM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: filter list_of_files with REGEX xyz?

RegEx pattern
Sorry, I was just giving the pattern, not the syntax.
Also, it will probably be case sensitive in that format. I won’t be able to 
test until later. I don’t recall the case insensitive flag off hand.

Thanks,
Brian
On Aug 17, 2018, 8:15 AM -0500, Klaus major-k via use-livecode 
, wrote:
> Hi Brian,
>
> > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode 
> > :
> >
> > Pattern “*.(jpe?g|png|gif)”
>
> thanks, but that does not work!?
>
> I tried:
> on mouseUp pMouseButton
> answer folder "sdsdsdsd"
> put it into tFolder
> put files(tFolder) into tList
> filter tList with pattern "*.(jpe?g|png|gif)"
> answer tList
> end mouseUp
>
> tList = EMPTY, I made of course sure there are JPG, PNG and GIF files in that 
> folder.
>
> Same when I use:
> ...
> filter lines of tList with pattern "*.(jpe?g|png|gif)"
> ...
> Any clues?
>
> > Thanks,
>
> You're welcome! :-)
>
> > Brian
> > On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode 
> > , wrote:
> > > Hi friends,
> > >
> > > I know how to:
> > > ...
> > > filter list_of_files with "*.jpg"
> > > ...
> > > But REGEX stuff is way over my head. :-/ Can anyone provide the 
> > > regex/pattern syntax for filtering jpg, png etc. in ONE run? Know 
> > > what I mean?
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Brian,

> Am 17.08.2018 um 15:19 schrieb Brian Milby via use-livecode 
> :
> 
> RegEx pattern
> Sorry, I was just giving the pattern, not the syntax.
> Also, it will probably be case sensitive in that format.

My suffixes are all lower case, so this shouldn't matter here.

> I won’t be able to test until later. I don’t recall the case insensitive flag 
> off hand.

No joy :-/

If I use:
...
filter tList with regex pattern "*.(jpe?g|png|gif)"
...
or
...
filter lines of tList with regex pattern "*.(jpe?g|png|gif)"
...
I get an error: 
button "Button": execution error at line 8 (matchChunk: error in pattern 
expression), char 1

> Thanks,
> Brian

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
RegEx pattern
Sorry, I was just giving the pattern, not the syntax.
Also, it will probably be case sensitive in that format. I won’t be able to 
test until later. I don’t recall the case insensitive flag off hand.

Thanks,
Brian
On Aug 17, 2018, 8:15 AM -0500, Klaus major-k via use-livecode 
, wrote:
> Hi Brian,
>
> > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode 
> > :
> >
> > Pattern “*.(jpe?g|png|gif)”
>
> thanks, but that does not work!?
>
> I tried:
> on mouseUp pMouseButton
> answer folder "sdsdsdsd"
> put it into tFolder
> put files(tFolder) into tList
> filter tList with pattern "*.(jpe?g|png|gif)"
> answer tList
> end mouseUp
>
> tList = EMPTY, I made of course sure there are JPG, PNG and GIF files in that 
> folder.
>
> Same when I use:
> ...
> filter lines of tList with pattern "*.(jpe?g|png|gif)"
> ...
> Any clues?
>
> > Thanks,
>
> You're welcome! :-)
>
> > Brian
> > On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode 
> > , wrote:
> > > Hi friends,
> > >
> > > I know how to:
> > > ...
> > > filter list_of_files with "*.jpg"
> > > ...
> > > But REGEX stuff is way over my head. :-/
> > > Can anyone provide the regex/pattern syntax for filtering
> > > jpg, png etc. in ONE run? Know what I mean?
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Brian,

> Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode 
> :
> 
> Pattern “*.(jpe?g|png|gif)”

thanks, but that does not work!?

I tried:
on mouseUp pMouseButton
 answer folder "sdsdsdsd"
 put it into tFolder
 put files(tFolder) into tList
 filter tList with pattern "*.(jpe?g|png|gif)"
 answer tList
end mouseUp

tList = EMPTY, I made of course sure there are JPG, PNG and GIF files in that 
folder.

Same when I use:
...
filter lines of tList with pattern "*.(jpe?g|png|gif)"
...
Any clues?

> Thanks,

You're welcome! :-)

> Brian
> On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode 
> , wrote:
>> Hi friends,
>> 
>> I know how to:
>> ...
>> filter list_of_files with "*.jpg"
>> ...
>> But REGEX stuff is way over my head. :-/
>> Can anyone provide the regex/pattern syntax for filtering
>> jpg, png etc. in ONE run? Know what I mean?

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
Pattern “*.(jpe?g|png|gif)”

Thanks,
Brian
On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode 
, wrote:
> Hi friends,
>
> I know how to:
> ...
> filter list_of_files with "*.jpg"
> ...
> But REGEX stuff is way over my head. :-/
>
> Can anyone provide the regex/pattern syntax for filtering
> jpg, png etc. in ONE run? Know what I mean?
>
> Thanks a lot in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Using stackoverflow.com

2018-08-17 Thread Lagi Pittas via use-livecode
Hi,

I'm sorry for the meandering, unfocused ran/stream of consciousness below
but ..

I agree with all the sentiments so far,  and I can empathise with Mark and
Todd about people who "Know" that everything must be written in C++ , Java
or Python. - Livecode is a "baby language" according to them -  so was
Clipper but we had OO (ish) and codeblocks in 1990. I wouldn't write a
Multitasking Kernal in Livecode (I created one in C for a Voice application
for Dollond and Aitchison before they were bought by boots). .
The Idea of taking the essence of some of the great threads in this List
and the Forums is to me a brilliant idea, But we need a concerted effort
with The  Livecode mothership mucking in - seems to me there is a lot of
demarcation (the software developers

Without (again!!!) trying to  beat a dead horse - and without becoming
personal (it isn't). Marketing and Web is controlled by the same person
believe - I don't see much marketing (posting articles get the word out is
marketing), and we have a revamp every couple of years.

What doesn't marketing/Web design have 1 hour a day to first find where old
links have stopped working (there are still many) post articles on
development sites but the biggie and probably the best post interesting
threads to SO as Todd says (and Monty tried to get going) and we (I would
be willing to find some time - but I wash the bottles as well - oh top be
just a marketer and look after a Wordpress site).

I'm now wondering if the LC Towers  is sitting back and waiting for all the
moolah to come in from the LIvecode for Filemaker (which I don't doubt is
coming in), but there is still stuff missing from the Kickstarter - the and
also the new sqlite library  we crowdfunded nearly 2 years ago.

Yes LC is fantastic - I would't be here if it wasn't but there are far too
many Moustraps for every developer to come running for ours.

Python is a joke as a first language for kids  - heck  I could never go
back to UI creating screens by hand coding ever since I used Foxpro (for
Dos) and Delphi. You might as well use BBC basic for windows . Don't get me
wrong I play/write utilities with Python,Lua,Purebasic BBC basic, Xharbour,
B4fX (B4A,b4I), Xojo, Delphi (v7)  and Lazarus (yes I have the lot - paid
for but not updated because I don't use them for making money) but since I
jettisoned Visual Foxpro,  LC is what I use for "Real programs". But until
the great unwashed get to hear about LC (open source) LC commercial will
always be in the backwaters.

Foxpro still works (last update 2004) and I used it to  knock up a simple
label printing program for a cousin of mine  in a couple of hours, a year
or so back - horses for courses.

So my question what does marketing do? - because it sure looks like a part
time job to me - I would like to be wrong but it seems to me 9 to 5 and  no
passion to get the word out,  going that extra mile. Not getting involved
with the community (on this list)  to see how we could all help even if it
is questions and answers on SO would be a start. I'm not holding my breath
to see if anybody other than the developers pop in here.

Regards Lagi

p.s

And while i'm on a stream of consciousness rant.

I understand why you don't have a perpetual license at least for the
desktops but I say again you should have a separate IOS and Android package
only for £99 (ish) which does not run out (although updates will need to be
paid for as- per XOJO).

Why so? Because if I  want to create a program for IOS £500 (yearly) for
livecode Indy + £99 for Apple yearly - launch my program and I make £200
(probably 90% make sweet Fanny Adams) and after a year I have to pay again
to use the program - I wont even go ther.  XOJO and b4I are about that
price and don't run out (but you pay for updates). Now if the LC  "lite"
versions (Android and IOS) didn't run out but £99 a year was for Updates
which WILL be needed on Mobile because of the changes to the API you would
have all the people at XOJO (if you marketed to them) coming in whilethey
wait for to  XOJO finish version 1 of their Android edition (some already
do use LC for that). Lots of £99 a year or 2  for updates adds up. - And
todays bedroom programmer is tomorrows business programmer (Windows/MAC).

And Btw I still think XOJO's website tells you exactly what it's about
CROSS-PLATFORM  RAPID APPLICATION DEVELOPMENT.

We have to scroll (below the fold) to find Startups, Education, getting
Started (You are not talking to me or Dave or Richard or Todd or other Old
Guard (who still know what a command line is) who are looking for a new
home. Why not talk to your visitors above the fold - and "our story can
still be there on page 1) taking a quarter of the page on the right. We
have to click anyway - this is web design 101.  LC is not BMW trying to
sell a lifestyle without mentioning the features/benefits of the product

Now I have to work late because of a rant!!

p.p.s

It's because I care about where LC is going (or not) that I 

filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi friends,

I know how to: 
...
filter list_of_files with "*.jpg"
...
But REGEX stuff is way over my head. :-/

Can anyone provide the regex/pattern syntax for filtering 
jpg, png etc. in ONE run? Know what I mean?

Thanks a lot in advance!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Not many people know this.

2018-08-17 Thread Clarence Martin via use-livecode
Geoff,
I truly appreciate what you have done with Navigator. I also appreciate the
amount of work and dedication that it takes to keep this plugin current. I
am still exploring everything that Navigator can do.

Heather,
Thanks for the link to the LiveCode Lessons on "How do I style paragraphs in
a field". I consider the support that you give to the LiveCode Community as
beyond compare. 

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Cell: 626 696-5561

-Original Message-
From: use-livecode  On Behalf Of
Geoff Canyon via use-livecode
Sent: Thursday, August 16, 2018 10:41 PM
To: How to use LiveCode 
Cc: Geoff Canyon 
Subject: Re: Not many people know this.

re: Stack versioning: I personally do that using Git/GitKraken. Any
suggestion how it should work?

re: text styles: you can edit the contents of any field (hidden/locked,
whatever) in Navigator. You can convert the editor on the fly from showing
the styled text to the HTMLtext of the field, which shows all the text
styles. I would have sworn that while editing the styled text, the style
options on the LC IDE menu would work on the text in Navigator's editor, but
either that went away many versions of LC ago (before 6.x) or I'm
misremembering. It's annoying because I really don't want to build in the
complexity of a style menu in Navigator (but I guess I have no choice).

FYI I have several things in the queue right now, so it's going to be a bit
before I can look at this.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Not many people know this.

2018-08-17 Thread Heather Laine via use-livecode
Just a footnote here... there is actually documentation on paragraph styles, in 
our lessons portal:

http://lessons.livecode.com/m/4071/l/58674-how-do-i-style-paragraphs-in-a-field 


The lessons portal is a rich source of information, always worth a look.

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 17 Aug 2018, at 05:42, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> On 8/16/18 7:49 AM, Richard Gaskin via use-livecode wrote:
>> but the Release Notes for v5.5 offer a solid overview of the new 
>> field features (starting on p12),
> 
> I keep that! it is golden. I think they replaced it with a stack showing
> all the features, I can't find it now.
> 
> But setting the array of style text, marvelous. Thanks again Trevor and
> Mark!
> 
> Someday someone should go a menu like inDesign so that you can "do text"
> from a WSIWIG menu.
> I know Andre has one but he didn't even know about all the features
> available since v5.5. That's how buried it is.
> 
> Second Clarence "notion" time meld lcStackBrowser with Navigator. LCSB
> also failed for me since 8.*
> 
> I can't even imagine of Geoff stays neck and neck with an evolving IDE!
> 
> BR
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode