Re: open socket on start up and can't close

2021-12-15 Thread Curry Kenworthy via use-livecode



Craig:

> ROBERT EPPICH?

More people read this list than anyone might assume.
A few regulars - but many others who work/lurk! :)

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
Christian LiveCode Training and Consulting
http://livecodeconsulting.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: open socket on start up and can't close

2021-12-15 Thread Monte Goulding via use-livecode
Is there a reason you are trying to close it? This is the socket port the 
remote debugger is listening on and there is a loop ensuring its existence.

Cheers

Monte

> On 16 Dec 2021, at 6:26 am, RobEppich via use-livecode 
>  wrote:
> 
> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is 
> open, 65463. Close socket 65463 and put the opensockets again and result is 
> 65466.
> 
> Close the socket that is opened on startup always results in another socket 
> being opened. This was not the case in 9.6.3 and previous versions. Can 
> someone verify this?
> 
> Also have checked 10.0 dp 1 and same issue is there.
> 
> Thanks
> Rob Eppich
> ___
> 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: open socket on start up and can't close

2021-12-15 Thread Alex Tweedly via use-livecode

Could it be remote debugging ?

Which version / license are you using ?

Alex.

On 15/12/2021 19:26, RobEppich via use-livecode wrote:

Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is 
open, 65463. Close socket 65463 and put the opensockets again and result is 
65466.

Close the socket that is opened on startup always results in another socket 
being opened. This was not the case in 9.6.3 and previous versions. Can someone 
verify this?

Also have checked 10.0 dp 1 and same issue is there.

Thanks
Rob Eppich
___
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: open socket on start up and can't close

2021-12-15 Thread Klaus major-k via use-livecode
Hi Rob

déjà vue? :-D

> Am 15.12.2021 um 20:26 schrieb RobEppich via use-livecode 
> :
> 
> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is 
> open, 65463. Close socket 65463 and put the opensockets again and result is 
> 65466.
> Close the socket that is opened on startup always results in another socket 
> being opened. This was not the case in 9.6.3 and previous versions. Can 
> someone verify this?

maOS 10.14.6 and LC 9.6.5, no opensockets on startup here!

> Also have checked 10.0 dp 1 and same issue is there.
> 
> Thanks
> Rob Eppich

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
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: open socket on start up and can't close

2021-12-15 Thread Craig Newman via use-livecode
ROBERT EPPICH?

If you are the person I think you are, do you know that I still manage a dozen 
OS9 Macs on a network using Hypercard and Epsitalk?

Do you have other posts on either the LiveCode forums or this use-list? I have 
never seen your name...

Craig Newman

> On Dec 15, 2021, at 2:26 PM, RobEppich via use-livecode 
>  wrote:
> 
> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is 
> open, 65463. Close socket 65463 and put the opensockets again and result is 
> 65466.
> 
> Close the socket that is opened on startup always results in another socket 
> being opened. This was not the case in 9.6.3 and previous versions. Can 
> someone verify this?
> 
> Also have checked 10.0 dp 1 and same issue is there.
> 
> Thanks
> Rob Eppich
> ___
> 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


open socket on start up and can't close

2021-12-15 Thread RobEppich via use-livecode
Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is 
open, 65463. Close socket 65463 and put the opensockets again and result is 
65466.

Close the socket that is opened on startup always results in another socket 
being opened. This was not the case in 9.6.3 and previous versions. Can someone 
verify this?

Also have checked 10.0 dp 1 and same issue is there.

Thanks
Rob Eppich
___
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: Ghost in the Machine

2021-12-15 Thread Peter Reid via use-livecode
Thanks Richard and Alex.

The membership system is web-based and the page I'm trying to interact with 
contains HTML, php and Javascript material. Therefore the POST construction 
approach seems to be promising. Unfortunately, the membership details features 
about 900 lines of LiveCode script, much like the following

...[snip]...
class="start-tag">trtd style="width:900px"Where You 
Live/td/tr/tabletable align="center" border="0" class="tableMain"trtd style="width:100px" class="middle"Address/tdtd style="width:800px"No/Name 
input type="text" name="ecHouse" id="ecHouse" size="10" maxlength="25" value="71" onChange="modified()" class="vAddress"nbsp;nbsp;nbsp;nbsp;nbsp;Street/Building 
input 
...[snip]...
 
So I think I'll spend a bit of time looking at the ghost-in-the-machine method; 
see if it has any legs!

Thanks again

Peter
--
Peter Reid
Loughborough, UK

> On 13 Dec 2021, at 5:00pm, use-livecode-requ...@lists.runrev.com wrote:
> 
> Today's Topics:
> 
>   1. Re: Ghost in the Machine? (pr...@reidit.co.uk)
>   3. Re: Ghost in the Machine? (Richard Gaskin)
>   8. Re: Ghost in the Machine? (Alex Tweedly)
> 
> --
> 
> Message: 1
> Date: Sun, 12 Dec 2021 18:29:03 +
> From: pr...@reidit.co.uk
> To: use-livecode@lists.runrev.com
> Subject: Re: Ghost in the Machine?
> Message-ID: 
> Content-Type: text/plain; charset=utf-8
> 
> Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't 
> explain things well enough, let me elaborate?
> 
> 1. Periodically we have small batches of new members joining a club. We have 
> their details in a CSV file which we'd normally think of doing some kind of 
> batch upload.
> 
> 2. However, the existing club membership system doesn't have a batch load 
> facility only an on-screen form (such as the following) to be typed in:
> 
> +-+
> |  Surname:[.]   Firstname(s):[...]   Initials:[..]   
> |
> | 
>   | 
> | Address:[.]   Town:[.]   Phone: [.] 
>   |
> | [.]   Postcode:[.]   Mobile:[.] 
>   |
> | 
>   |
> | Email:[]   GiftAid:[x]   Payment:(o)Bank  ( )Chq
>   |
> +-+
> 
> 3. We want a way to upload a group of new members by 'driving' the input 
> fields, i.e. our app would click into each field, checkbox, radiobox and 
> 'type' in the details.
> 
> 4. We don't have access to the membership system's coding, it's one off the 
> shelf. We just want do what we might have attempted some years ago, during 
> the terminal/command line days! In those old days, we'd redirect the stdin, 
> stdout, stderror.
> 
> So my query is really as follows:
> a) is this kind of 'channel' redirection possible, can we send mouse clicks, 
> type keys to enter text into fields etc?
> b) has anyone done something like this? 
> c) does anyone have any methods and/or code they can let me have for this?
> 
> My overview of what's required is as follows (assuming no show-stoppers):
> - I make an overlay map, transparent everywhere except where there are input 
> fields ? this could be an actual map with "X"s over entry fields, spaces 
> elsewhere, but might simply be a list of objects expressed as coordinate 
> rectangles
> - we take the name of a field, 'Surname' say, and lookup its location on the 
> screen
> - we position our virtual mouse to click into the location where the 
> equivalent field can be found
> - we enter its value as virtual keystrokes and click the 'tab' key to move to 
> the next input object
> 
> Any idea whether this is possible and any code examples?!
> 
> Thanks.
> 
> Peter
> --
> 
> Message: 3
> Date: Sun, 12 Dec 2021 11:38:20 -0800
> From: Richard Gaskin 
> To: use-livecode@lists.runrev.com
> Subject: Re: Ghost in the Machine?
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Peter Reid wrote:
> 
>> We want a way to upload a group of new members by 'driving' the input
>> fields, i.e. our app would click into each field, checkbox, radiobox
>> and 'type' in the details.
> 
> If the goal is to submit new member info you can do that with a single 
> POST command.
> 
> Examine the source HTML. Look for the action URL.  Look at the input 
> names. Package up the input data as name-value pairs form-encoded, send 
> it to the URL via POST, and you're done.
> 
> -- 
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.com

Re: regex backreferences

2021-12-15 Thread Kaveh via use-livecode
It's two years since I have been in contact, but this is the email I had:

th.do...@sunny-tdz.com

Regards
Kaveh

On Wed, 15 Dec 2021 at 16:37, Douglas A. Ruisaard via use-livecode <
use-livecode@lists.runrev.com> wrote:

> None of the links to acquire nor contact Thierry on his site (<
> https://sunny-tdz.com/livecode/sunnyrex>) work.  They just hang
> indefinitely... but the web site, itself, appears to be functrional.
>
> Can anyone provide an alternative means to contact this developer?
>
> Douglas Ruisaard
>
> Trilogy Software
>   (250) 573-3935
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf Of Devin Asay via use-livecode
> Sent: Wednesday, December 15, 2021 7:54 AM
> To: How to use LiveCode
> Cc: Devin Asay
> Subject: Re: regex backreferences
>
> Thanks for confirming, Jacque and Kaveh. I figured that was the case. I
> can stop beating my head against it now!
>
> Now for a trip to workaround land!
>
> - Devin
>
> On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode <
> use-livecode@lists.runrev.com>
> wrote:
>
> This is a major shortcoming and I have wanted this for years. Thierry has
> filled the gap with his excellent SunnyRex library
> . I have used it successfully, I
> recommend it, and it works well. He has also supported me well after I
> purchased SunnyRex. But it is a proprietary dependency and that is
> something at the back of my mind.
>
> It would be great if LiveCode could add this feature. Or perhaps come to an
> agreement with Thierry so that we reduce dependencies.
>
> Regards
> Kaveh
>
> On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com>
> wrote:
>
> I wish it did, but replaceText doesn't support back references. The
> parameters at the end are treated as literals, whether as actual quoted
> literals or variables containing a value.
>
> If there isn't a feature request for it, there should be.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com jac...@hyperactivesw.com>
> HyperActive Software | http://www.hyperactivesw.com
> On December 14, 2021 6:03:12 PM Devin Asay via use-livecode
> mailto:use-livecode@lists.runrev.com>>
> wrote:
>
> Hi all,
>
> Does the replaceText() function allow the use of backreferences to
> retain
> groupings of text between matches. For example, if I have some text like
> this:
>
> Good stuff here.
>
> I want to end up something like this:
>
> Good stuff here.”
>
> In BBedit I can search for (.*) and
> replace it with \1 and it preserves the run of text designated
> by
> parentheses.
> (I know, I can get more fancy on matching the runs of html tags, but I’m
> mainly interested in retaining the text, not in regex madness.)
>
> In LC this does not work:
>
>  put replaceText(myText,"  style=“cruft”>(.*)”,”\1”) into myText
>
> I just end up with \1, when I want Good stuff here.
>
> Can replaceText even do this?
>
> - Devin
>
>
> Devin Asay
> Office of Digital Humanities
> Brigham Young University
>
> ___
> 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
>
>
>
> --
> Kaveh Bazargan PhD
> Director
> River Valley Technologies  ● Twitter
>  ● LinkedIn
>  ● ORCID
> 
> *Accelerating the Communication of Research*
> ___
> 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
>
> Devin Asay
> Office of Digital Humanities
> Brigham Young University
>
> ___
> 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
>


-- 
Kaveh Bazargan PhD
Director
River Valley Technologies 

RE: regex backreferences

2021-12-15 Thread Douglas A. Ruisaard via use-livecode
None of the links to acquire nor contact Thierry on his site 
() work.  They just hang 
indefinitely... but the web site, itself, appears to be functrional.

Can anyone provide an alternative means to contact this developer?

Douglas Ruisaard
   
Trilogy Software
  (250) 573-3935

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Devin Asay via use-livecode
Sent: Wednesday, December 15, 2021 7:54 AM
To: How to use LiveCode
Cc: Devin Asay
Subject: Re: regex backreferences

Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can 
stop beating my head against it now!

Now for a trip to workaround land!

- Devin

On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This is a major shortcoming and I have wanted this for years. Thierry has
filled the gap with his excellent SunnyRex library
. I have used it successfully, I
recommend it, and it works well. He has also supported me well after I
purchased SunnyRex. But it is a proprietary dependency and that is
something at the back of my mind.

It would be great if LiveCode could add this feature. Or perhaps come to an
agreement with Thierry so that we reduce dependencies.

Regards
Kaveh

On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

I wish it did, but replaceText doesn't support back references. The
parameters at the end are treated as literals, whether as actual quoted
literals or variables containing a value.

If there isn't a feature request for it, there should be.
--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 14, 2021 6:03:12 PM Devin Asay via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:

Hi all,

Does the replaceText() function allow the use of backreferences to
retain
groupings of text between matches. For example, if I have some text like
this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for (.*) and
replace it with \1 and it preserves the run of text designated
by
parentheses.
(I know, I can get more fancy on matching the runs of html tags, but I’m
mainly interested in retaining the text, not in regex madness.)

In LC this does not work:

 put replaceText(myText,"(.*)”,”\1”) into myText

I just end up with \1, when I want Good stuff here.

Can replaceText even do this?

- Devin


Devin Asay
Office of Digital Humanities
Brigham Young University

___
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



--
Kaveh Bazargan PhD
Director
River Valley Technologies  ● Twitter
 ● LinkedIn
 ● ORCID

*Accelerating the Communication of Research*
___
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

Devin Asay
Office of Digital Humanities
Brigham Young University

___
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: regex backreferences

2021-12-15 Thread Devin Asay via use-livecode
Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can 
stop beating my head against it now!

Now for a trip to workaround land!

- Devin

On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This is a major shortcoming and I have wanted this for years. Thierry has
filled the gap with his excellent SunnyRex library
. I have used it successfully, I
recommend it, and it works well. He has also supported me well after I
purchased SunnyRex. But it is a proprietary dependency and that is
something at the back of my mind.

It would be great if LiveCode could add this feature. Or perhaps come to an
agreement with Thierry so that we reduce dependencies.

Regards
Kaveh

On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

I wish it did, but replaceText doesn't support back references. The
parameters at the end are treated as literals, whether as actual quoted
literals or variables containing a value.

If there isn't a feature request for it, there should be.
--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 14, 2021 6:03:12 PM Devin Asay via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:

Hi all,

Does the replaceText() function allow the use of backreferences to
retain
groupings of text between matches. For example, if I have some text like
this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for (.*) and
replace it with \1 and it preserves the run of text designated
by
parentheses.
(I know, I can get more fancy on matching the runs of html tags, but I’m
mainly interested in retaining the text, not in regex madness.)

In LC this does not work:

 put replaceText(myText,"(.*)”,”\1”) into myText

I just end up with \1, when I want Good stuff here.

Can replaceText even do this?

- Devin


Devin Asay
Office of Digital Humanities
Brigham Young University

___
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



--
Kaveh Bazargan PhD
Director
River Valley Technologies  ● Twitter
 ● LinkedIn
 ● ORCID

*Accelerating the Communication of Research*
___
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

Devin Asay
Office of Digital Humanities
Brigham Young University

___
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: How to detect when the user moves a stack

2021-12-15 Thread Richmond Mathewson via use-livecode
remember to 'toplevel' you substack.

On Wed, 15 Dec 2021, 12:29 jbv via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> Hi Klaus,
>
> Yes it works, thank you for the tip.
> Oddly I forgot about the "movestack" message, probably because it
> doesn't appear in the list of available messages when I open the stack
> script in LC 8...
>
> jbv
>
> Le 2021-12-15 05:17, Klaus major-k via use-livecode a écrit :
> > Hi jbv,
> >
> >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode
> >> :
> >>
> >> Hi list,
> >> How can I detect when the user moves a stack around the screen by
> >> clicking on the top bar while leaving the mouse down ?
> >> Here's my problem : I have a main stack calling a modal stack that
> >> displays information in real time while some client / server dialog is
> >> running. When the modal stack opens, it is located at the loc of the
> >> main stack. But if the user moves the main stack, the modal stack
> >> stays at the same place, and I would like it to move accordingly and
> >> remain at the loc of the main stack, no matter where the user moves
> >> the main stack.
> >> At least this is happening in the IDE, I haven't built a standalone
> >> yet.
> >
> > usually you could check the "movestack" message, but I'm not sure if
> > the MODAL stack
> > will not block any actions? Can't you use a "system window" instaed if
> > that is the problem?
> >
> >> Thanks in advance.
> >> jbv
> >
> > Best
> >
> > Klaus
> >
> > --
> > Klaus Major
> > https://www.major-k.de
> > https://www.major-k.de/bass
> > 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: How to detect when the user moves a stack

2021-12-15 Thread jbv via use-livecode

Hi Klaus,

Yes it works, thank you for the tip.
Oddly I forgot about the "movestack" message, probably because it 
doesn't appear in the list of available messages when I open the stack 
script in LC 8...


jbv

Le 2021-12-15 05:17, Klaus major-k via use-livecode a écrit :

Hi jbv,

Am 15.12.2021 um 11:02 schrieb jbv via use-livecode 
:


Hi list,
How can I detect when the user moves a stack around the screen by 
clicking on the top bar while leaving the mouse down ?
Here's my problem : I have a main stack calling a modal stack that 
displays information in real time while some client / server dialog is 
running. When the modal stack opens, it is located at the loc of the 
main stack. But if the user moves the main stack, the modal stack 
stays at the same place, and I would like it to move accordingly and 
remain at the loc of the main stack, no matter where the user moves 
the main stack.
At least this is happening in the IDE, I haven't built a standalone 
yet.


usually you could check the "movestack" message, but I'm not sure if
the MODAL stack
will not block any actions? Can't you use a "system window" instaed if
that is the problem?


Thanks in advance.
jbv


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
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: How to detect when the user moves a stack

2021-12-15 Thread Klaus major-k via use-livecode
Hi jbv,

> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode 
> :
> 
> Hi list,
> How can I detect when the user moves a stack around the screen by clicking on 
> the top bar while leaving the mouse down ?
> Here's my problem : I have a main stack calling a modal stack that displays 
> information in real time while some client / server dialog is running. When 
> the modal stack opens, it is located at the loc of the main stack. But if the 
> user moves the main stack, the modal stack stays at the same place, and I 
> would like it to move accordingly and remain at the loc of the main stack, no 
> matter where the user moves the main stack.
> At least this is happening in the IDE, I haven't built a standalone yet.

usually you could check the "movestack" message, but I'm not sure if the MODAL 
stack 
will not block any actions? Can't you use a "system window" instaed if that is 
the problem?

> Thanks in advance.
> jbv

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
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


How to detect when the user moves a stack

2021-12-15 Thread jbv via use-livecode

Hi list,
How can I detect when the user moves a stack around the screen by 
clicking on the top bar while leaving the mouse down ?
Here's my problem : I have a main stack calling a modal stack that 
displays information in real time while some client / server dialog is 
running. When the modal stack opens, it is located at the loc of the 
main stack. But if the user moves the main stack, the modal stack stays 
at the same place, and I would like it to move accordingly and remain at 
the loc of the main stack, no matter where the user moves the main 
stack.

At least this is happening in the IDE, I haven't built a standalone yet.

Thanks in advance.
jbv

___
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


Upcoming Changes for WordLib, WordReport, etc.

2021-12-15 Thread Curry Kenworthy via use-livecode


For the Curry K. addons I'm happy to announce:
backend, release flow, and pricing changes

1. MORE, FASTER, A FLURRY!

Finally had a chance to update
the backend for my LC addons.

It's mucho más way-more automated,
so updates can be MORE FREQUENT!

Planned this literally 10 years ago!
But clients ALWAYS come first.
(And improving health took a while.)

--

2. MINOR VERSIONS WILL BE PUBLIC.

The backend will allow better overall flow

Old way: Big wait ... ... major release.
(Minor versions were usually dp/private,
since public releases were a big process.)

New way: Major, minor, minor, Major, etc.
(Faster fixes, try new stuff sooner.)

--

3. REVISED PRICING TO MATCH.

Also new pricing: $49 per major version.
(Minor updates free for that version.)
Aiming for 1 major version per year.

(Versions will keep working as always;
still version-based, not a subscription.)

WordLib is still the lucky winner
emerging first from the new chute!

A Christmas-y release timeframe,
maybe a coupon code to fit the season.

(WordReport should be next; then we'll see.)

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
Christian LiveCode Training and Consulting
http://livecodeconsulting.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: regex backreferences

2021-12-15 Thread Kaveh via use-livecode
This is a major shortcoming and I have wanted this for years. Thierry has
filled the gap with his excellent SunnyRex library
. I have used it successfully, I
recommend it, and it works well. He has also supported me well after I
purchased SunnyRex. But it is a proprietary dependency and that is
something at the back of my mind.

It would be great if LiveCode could add this feature. Or perhaps come to an
agreement with Thierry so that we reduce dependencies.

Regards
Kaveh

On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I wish it did, but replaceText doesn't support back references. The
> parameters at the end are treated as literals, whether as actual quoted
> literals or variables containing a value.
>
> If there isn't a feature request for it, there should be.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On December 14, 2021 6:03:12 PM Devin Asay via use-livecode
>  wrote:
>
> > Hi all,
> >
> > Does the replaceText() function allow the use of backreferences to
> retain
> > groupings of text between matches. For example, if I have some text like
> this:
> >
> > Good stuff here.
> >
> > I want to end up something like this:
> >
> > Good stuff here.”
> >
> > In BBedit I can search for (.*) and
> > replace it with \1 and it preserves the run of text designated
> by
> > parentheses.
> > (I know, I can get more fancy on matching the runs of html tags, but I’m
> > mainly interested in retaining the text, not in regex madness.)
> >
> > In LC this does not work:
> >
> >   put replaceText(myText," >   style=“cruft”>(.*)”,”\1”) into myText
> >
> > I just end up with \1, when I want Good stuff here.
> >
> > Can replaceText even do this?
> >
> > - Devin
> >
> >
> > Devin Asay
> > Office of Digital Humanities
> > Brigham Young University
> >
> > ___
> > 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
>


-- 
Kaveh Bazargan PhD
Director
River Valley Technologies  ● Twitter
 ● LinkedIn
 ● ORCID

*Accelerating the Communication of Research*
___
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