RE: Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread Ralph DiMola via use-livecode
Agreed. Short of any answer on this list within a few days I will submit a bug 
report and see what Panos has to say.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: Brian Milby [mailto:br...@milby7.com] 
Sent: Tuesday, May 08, 2018 8:08 PM
To: How to use LiveCode
Cc: use-revolut...@lists.runrev.com; Ralph DiMola
Subject: Re: Navigation Widget Suppressing the hiliteChanged Message

 

It is still a curious question. Should widgets be aware of the message lock 
state (and not post) or is it a bug or is there another explanation?

On Tue, May 8, 2018 at 6:36 PM Ralph DiMola via use-livecode 
 wrote:

That's what I finally did. App works now. Thanks!

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 dunbarx via use-livecode
Sent: Tuesday, May 08, 2018 5:01 PM
To: use-revolut...@lists.runrev.com
Cc: dunbarx
Subject: Re: Navigation Widget Suppressing the hiliteChanged Message

Instead of locking messages, can you not include a hilitedChanged handler
that will trap and bury the message? Not sure where the best place for that
would be.

Craig



--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: date libraries/routines for LCG

2018-05-08 Thread Mike Doub via use-livecode
Have you checked the Master Library?

https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0

On May 8, 2018, 9:10 PM -0400, Mike Kerner via use-livecode 
, wrote:
> I'm working on my session for next week's lcg, which is going to focus on
> dates. I'd like to feature any libraries or routines that anyone wants to
> share that have to do with dates.
> Please email me at one of my 300 email addresses.
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
> and did a little diving.
> And God said, "This is good."
> ___
> 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


date libraries/routines for LCG

2018-05-08 Thread Mike Kerner via use-livecode
I'm working on my session for next week's lcg, which is going to focus on
dates.  I'd like to feature any libraries or routines that anyone wants to
share that have to do with dates.
Please email me at one of my 300 email addresses.

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: MacOS 10.13 crashes LC after color dialog

2018-05-08 Thread Brian Milby via use-livecode
I’m pretty sure it is EOL.
On Tue, May 8, 2018 at 4:43 PM tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just ran into this bug, which I see is fixed for LC 8.x and up. But can
> this
> fix also be done for LC 7.x? Or is 7 EOL?
> Tom B.
>
>
>
> --
> Sent from:
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>
> ___
> 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: Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread Brian Milby via use-livecode
It is still a curious question. Should widgets be aware of the message lock
state (and not post) or is it a bug or is there another explanation?
On Tue, May 8, 2018 at 6:36 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> That's what I finally did. App works now. Thanks!
>
> 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 dunbarx via use-livecode
> Sent: Tuesday, May 08, 2018 5:01 PM
> To: use-revolut...@lists.runrev.com
> Cc: dunbarx
> Subject: Re: Navigation Widget Suppressing the hiliteChanged Message
>
> Instead of locking messages, can you not include a hilitedChanged handler
> that will trap and bury the message? Not sure where the best place for that
> would be.
>
> Craig
>
>
>
> --
> Sent from:
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>
> ___
> 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: Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread Ralph DiMola via use-livecode
That's what I finally did. App works now. Thanks!

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 dunbarx via use-livecode
Sent: Tuesday, May 08, 2018 5:01 PM
To: use-revolut...@lists.runrev.com
Cc: dunbarx
Subject: Re: Navigation Widget Suppressing the hiliteChanged Message

Instead of locking messages, can you not include a hilitedChanged handler
that will trap and bury the message? Not sure where the best place for that
would be.

Craig



--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: Sean?

2018-05-08 Thread Monte Goulding via use-livecode


> On 9 May 2018, at 2:13 am, Dan Brown via use-livecode 
>  wrote:
> 
> I just received word from Sean's family, he is safe and is coping with last
> week's difficult events

That is such a relief to hear!

Thanks Dan

Monte
___
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: Sean?

2018-05-08 Thread hh via use-livecode
> Lagi wrote:
> Everybody, if you can  please give  what you can afford now ...
> It will go to the correct people.

https://www.gofundme.com/scemergency


> Bill wrote:
> A donation may not only provide needed funds, but sends a message
> to Sean, and all on this list, that we are a community that care
> not only about the product we are creating, but the folks who are
> creating it. That message is sent, whether the donation is 5 or 100.

I've been away for several weeks and saw this just now.
Let us help, the family needs and will get the help.

Lagi's engagement is worth more than money. Perhaps we should create
kind of a LC-developer-fund for emergency help?
Lagi would be the right person to manage such a fund.

I would ask everybody who uses (commercially) one of my widgets etc.
to donate to such a fund, just now to the above scemergency.


Hermann
[-hh]

___
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: MacOS 10.13 crashes LC after color dialog

2018-05-08 Thread tbodine via use-livecode
Just ran into this bug, which I see is fixed for LC 8.x and up. But can this
fix also be done for LC 7.x? Or is 7 EOL?
Tom B.



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread dunbarx via use-livecode
Instead of locking messages, can you not include a hilitedChanged handler
that will trap and bury the message? Not sure where the best place for that
would be.

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: Active window and mouse location

2018-05-08 Thread J. Landman Gay via use-livecode

On 5/8/18 12:48 PM, Douglas Ruisaard via use-livecode wrote:

On a somewhat related note, how do you "set" the mouse location within an LC window?  I know and use the "set the screenMouseLoc to 
the loc of this stack" but an equivalent "set the MouseLoc to the loc of this stack" or "set the mouseLoc to 
"650,420"" generates an error of "Properties: token is not a property) near "mouseLoc", char 10" when trying to 
save the code.  Seems odd that I have to use FULL screen coordinates to set the mouse location rather than relative ones to the stack.


The globalLoc function will translate the coordinates for you:

set the screenMouseLoc to globalLoc(cardX,cardY)

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Active window and mouse location

2018-05-08 Thread Richard Gaskin via use-livecode

dunbarx wrote:

> The "screenMouseLoc" is a property, but the "mouseLoc" is a
> function.You cannot set a function.
>
> Why this was wrought this way is anybody's guess.

If memory serves mouseLoc was implemented as a function for 
compatibility with HyperCard, which offered no way to move the mouse 
cursor.


When the opportunity came up to make a global version, it seems the 
choice to make that one a property was simply because a property is more 
useful, allowing both getting and setting.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Active window and mouse location

2018-05-08 Thread dunbarx via use-livecode
Hi.

The "screenMouseLoc" is a property, but the "mouseLoc" is a function.You
cannot set a function.

Why this was wrought this way is anybody's guess. I recommend that you make
a library gadget that automatically takes the open LC window properties and
does the math. Then your "newMouseLoc" property can be local to the window.

Craig Newman



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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


Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread Ralph DiMola via use-livecode
I want to change the hilitedItem without triggering the hiliteChanged
message. I lock messages the set the hilitedItem but the hiliteChanged
message is still fired off immediately. I can code around it but wanted to
know if there is a way to prevent the message?

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


___
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


Active window and mouse location

2018-05-08 Thread Douglas Ruisaard via use-livecode
In Windows 7, LC v8.1.9
Is there a way to make an LC "window" the active / top window on the desktop 
after making another window on the desktop active?  I have an app which allows 
me to copy a portion of text from, say, a Notepad window, into the clipboard.  
A timed loop within my LC script then pulls the clipboard text into an LC field 
and starts an analysis of the contents of that field.  THAT works great.  But 
then I need the LC window to become the active window after the analysis is 
done and displayed on my LC window, so I can manipulate the various controls I 
have on it.

Of course I can "manually" click on the LC window to activate it but I was 
wondering if there is a way to do so in LC script.  I've tried "focus on field 
xxx" (where xxx is a field in my displayed LC window), "set the screenMouseLoc 
to the loc of this stack", "go to this stack" and a variety of "click at" 
commands... none of these make the LC window the top active window on the 
desktop.  The Notepad (or whatever) window stays as the top, active window.

On a somewhat related note, how do you "set" the mouse location within an LC 
window?  I know and use the "set the screenMouseLoc to the loc of this stack" 
but an equivalent "set the MouseLoc to the loc of this stack" or "set the 
mouseLoc to "650,420"" generates an error of "Properties: token is not a 
property) near "mouseLoc", char 10" when trying to save the code.  Seems odd 
that I have to use FULL screen coordinates to set the mouse location rather 
than relative ones to the stack.

Douglas Ruisaard
Trilogy Software
(250) 573-3935




___
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: Sean?

2018-05-08 Thread hh via use-livecode
> Lagi wrote:
> Everybody, if you can  please give  what you can afford now ...
> It will go to the correct people.

https://www.gofundme.com/scemergency


> Bill wrote:
> A donation may not only provide needed funds, but sends a message
> to Sean, and all on this list, that we are a community that care
> not only about the product we are creating, but the folks who are
> creating it. That message is sent, whether the donation is 5 or 100.

I've been away for several weeks and saw this just now.
Let us help, the family needs and will get the help.

Lagi's engagement is worth more than money. Perhaps we should create
kind of a LC-developer-fund for emergency help?
Lagi would be the right person to manage such a fund.

I would ask everybody who uses (commercially) one of my widgets etc.
to donate to such a fund, just now to the above scemergency.


Hermann
[-hh]

___
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: Sean?

2018-05-08 Thread Ralph DiMola via use-livecode
Good to hear. I just checked the list after visiting that page and saw your 
post!

Thanks

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 
Dan Brown via use-livecode
Sent: Tuesday, May 08, 2018 12:13 PM
To: How to use LiveCode
Cc: Dan Brown
Subject: Re: Sean?

I just received word from Sean's family, he is safe and is coping with last 
week's difficult events

On Tue, 8 May 2018, 15:40 prothero--- via use-livecode, < 
use-livecode@lists.runrev.com> wrote:

> Folks,
>
> I second what Lagi posted. A donation may not only provide needed 
> funds, but sends a message to Sean, and all on this list, that we are 
> a community that care not only about the product we are creating, but 
> the folks who are creating it. That message is sent, whether the donation is 
> 5 or 100.
>
> Best,
> Bill
>
> William Prothero
> http://earthlearningsolutions.org
>
> > On May 8, 2018, at 5:35 AM, Lagi Pittas via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Mark,
> >
> > Gofundme are very credible and trustworthy.
> >
> > I contacted them and they said I can change who the beneficiary is - 
> > to
> his
> > spouse or other family member.
> > So the correct people will get the money whatever the situation - 
> > God I hate having to think about the worst case.
> >
> > I thought the same when  I set it up but the what the heck (words to 
> > that
> > effect) I lose £100 so what - my family will still be OK.
> >
> > Everybody, if you can  please give  what you can  afford now, not 
> > the minimum that will make you feel that you have done your bit. It 
> > will go
> to
> > the correct people - this isn't PayPal who holds money on a whim.
> >
> > Regards Lagi
> >
> >
> >
> >
> >
> > On 5 May 2018 at 01:18, Mark Wieder via use-livecode < 
> > use-livecode@lists.runrev.com> wrote:
> >
> >>> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
> >>>
> >>> Hi All
> >>>
> >>> I have set it up - but I want to have the money go directly to 
> >>> Sean
> >>>
> >>> Ive just read that if I put seans email address in it will send 
> >>> him an invite so he will be the only one able to withdraw funds.
> >>>
> >>> I am waiting his acceptance but I think we can add to it without 
> >>> him accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
> >>>
> >>>
> >>> https://www.gofundme.com/scemergency
> >>>
> >>
> >> So... has anyone heard from Sean yet?
> >> I'm reluctant to put money into a gofundme account that is 
> >> nonrefundable if nobody can access the funds. That seems like a bottomless 
> >> pit.
> >>
> >> --
> >> 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
>
>
> ___
> 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: Sean?

2018-05-08 Thread Tom Glod via use-livecode
thats good news indeed.

On Tue, May 8, 2018 at 12:33 PM, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Dan,
>
> And the donations are getting a boost as well
>
> Thanks to all who have donated - I've sent thank you messages via Gofundme
> - I hope I haven't missed anybody.
>
> For all those still on the fence or drinking Starbucks - Please do the
> right thing otherwise I might get into Bob Geldolf mode ;-)
>
> Regards Lagi
>
> On 8 May 2018 at 17:22, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > On 05/08/2018 09:13 AM, Dan Brown via use-livecode wrote:
> >
> >> I just received word from Sean's family, he is safe and is coping with
> >> last
> >> week's difficult events
> >>
> >
> > Thanks, Dan.
> >
> > --
> >  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
>
___
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: Sean?

2018-05-08 Thread Lagi Pittas via use-livecode
Thanks Dan,

And the donations are getting a boost as well

Thanks to all who have donated - I've sent thank you messages via Gofundme
- I hope I haven't missed anybody.

For all those still on the fence or drinking Starbucks - Please do the
right thing otherwise I might get into Bob Geldolf mode ;-)

Regards Lagi

On 8 May 2018 at 17:22, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 05/08/2018 09:13 AM, Dan Brown via use-livecode wrote:
>
>> I just received word from Sean's family, he is safe and is coping with
>> last
>> week's difficult events
>>
>
> Thanks, Dan.
>
> --
>  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: Sean?

2018-05-08 Thread J. Landman Gay via use-livecode
Thank God. I hope he knows about the funding. And thank you for letting us 
know, I was worried.



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 8, 2018 11:15:35 AM Dan Brown via use-livecode 
 wrote:



I just received word from Sean's family, he is safe and is coping with last
week's difficult events

On Tue, 8 May 2018, 15:40 prothero--- via use-livecode, <
use-livecode@lists.runrev.com> wrote:


Folks,

I second what Lagi posted. A donation may not only provide needed funds,
but sends a message to Sean, and all on this list, that we are a community
that care not only about the product we are creating, but the folks who are
creating it. That message is sent, whether the donation is 5 or 100.

Best,
Bill

William Prothero
http://earthlearningsolutions.org

> On May 8, 2018, at 5:35 AM, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> Hi Mark,
>
> Gofundme are very credible and trustworthy.
>
> I contacted them and they said I can change who the beneficiary is - to
his
> spouse or other family member.
> So the correct people will get the money whatever the situation - God I
> hate having to think about the worst case.
>
> I thought the same when  I set it up but the what the heck (words to that
> effect) I lose £100 so what - my family will still be OK.
>
> Everybody, if you can  please give  what you can  afford now, not the
> minimum that will make you feel that you have done your bit. It will go
to
> the correct people - this isn't PayPal who holds money on a whim.
>
> Regards Lagi
>
>
>
>
>
> On 5 May 2018 at 01:18, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>>> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
>>>
>>> Hi All
>>>
>>> I have set it up - but I want to have the money go directly to Sean
>>>
>>> Ive just read that if I put seans email address in it will send him an
>>> invite so he will be the only one able to withdraw funds.
>>>
>>> I am waiting his acceptance but I think we can add to it without him
>>> accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
>>>
>>>
>>> https://www.gofundme.com/scemergency
>>>
>>
>> So... has anyone heard from Sean yet?
>> I'm reluctant to put money into a gofundme account that is nonrefundable
>> if nobody can access the funds. That seems like a bottomless pit.
>>
>> --
>> 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


___
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: Sean?

2018-05-08 Thread Mike Bonner via use-livecode
Thank you Dan

On Tue, May 8, 2018 at 10:13 AM, Dan Brown via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just received word from Sean's family, he is safe and is coping with last
> week's difficult events
>
> On Tue, 8 May 2018, 15:40 prothero--- via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
>
> > Folks,
> >
> > I second what Lagi posted. A donation may not only provide needed funds,
> > but sends a message to Sean, and all on this list, that we are a
> community
> > that care not only about the product we are creating, but the folks who
> are
> > creating it. That message is sent, whether the donation is 5 or 100.
> >
> > Best,
> > Bill
> >
> > William Prothero
> > http://earthlearningsolutions.org
> >
> > > On May 8, 2018, at 5:35 AM, Lagi Pittas via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Hi Mark,
> > >
> > > Gofundme are very credible and trustworthy.
> > >
> > > I contacted them and they said I can change who the beneficiary is - to
> > his
> > > spouse or other family member.
> > > So the correct people will get the money whatever the situation - God I
> > > hate having to think about the worst case.
> > >
> > > I thought the same when  I set it up but the what the heck (words to
> that
> > > effect) I lose £100 so what - my family will still be OK.
> > >
> > > Everybody, if you can  please give  what you can  afford now, not the
> > > minimum that will make you feel that you have done your bit. It will go
> > to
> > > the correct people - this isn't PayPal who holds money on a whim.
> > >
> > > Regards Lagi
> > >
> > >
> > >
> > >
> > >
> > > On 5 May 2018 at 01:18, Mark Wieder via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > >>> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
> > >>>
> > >>> Hi All
> > >>>
> > >>> I have set it up - but I want to have the money go directly to Sean
> > >>>
> > >>> Ive just read that if I put seans email address in it will send him
> an
> > >>> invite so he will be the only one able to withdraw funds.
> > >>>
> > >>> I am waiting his acceptance but I think we can add to it without him
> > >>> accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
> > >>>
> > >>>
> > >>> https://www.gofundme.com/scemergency
> > >>>
> > >>
> > >> So... has anyone heard from Sean yet?
> > >> I'm reluctant to put money into a gofundme account that is
> nonrefundable
> > >> if nobody can access the funds. That seems like a bottomless pit.
> > >>
> > >> --
> > >> 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
> >
> >
> > ___
> > 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: Sean?

2018-05-08 Thread panagiotis merakos via use-livecode
This is very good news, thank you Dan.

On Tue, May 8, 2018 at 5:13 PM, Dan Brown via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just received word from Sean's family, he is safe and is coping with last
> week's difficult events
>
> On Tue, 8 May 2018, 15:40 prothero--- via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
>
> > Folks,
> >
> > I second what Lagi posted. A donation may not only provide needed funds,
> > but sends a message to Sean, and all on this list, that we are a
> community
> > that care not only about the product we are creating, but the folks who
> are
> > creating it. That message is sent, whether the donation is 5 or 100.
> >
> > Best,
> > Bill
> >
> > William Prothero
> > http://earthlearningsolutions.org
> >
> > > On May 8, 2018, at 5:35 AM, Lagi Pittas via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Hi Mark,
> > >
> > > Gofundme are very credible and trustworthy.
> > >
> > > I contacted them and they said I can change who the beneficiary is - to
> > his
> > > spouse or other family member.
> > > So the correct people will get the money whatever the situation - God I
> > > hate having to think about the worst case.
> > >
> > > I thought the same when  I set it up but the what the heck (words to
> that
> > > effect) I lose £100 so what - my family will still be OK.
> > >
> > > Everybody, if you can  please give  what you can  afford now, not the
> > > minimum that will make you feel that you have done your bit. It will go
> > to
> > > the correct people - this isn't PayPal who holds money on a whim.
> > >
> > > Regards Lagi
> > >
> > >
> > >
> > >
> > >
> > > On 5 May 2018 at 01:18, Mark Wieder via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > >>> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
> > >>>
> > >>> Hi All
> > >>>
> > >>> I have set it up - but I want to have the money go directly to Sean
> > >>>
> > >>> Ive just read that if I put seans email address in it will send him
> an
> > >>> invite so he will be the only one able to withdraw funds.
> > >>>
> > >>> I am waiting his acceptance but I think we can add to it without him
> > >>> accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
> > >>>
> > >>>
> > >>> https://www.gofundme.com/scemergency
> > >>>
> > >>
> > >> So... has anyone heard from Sean yet?
> > >> I'm reluctant to put money into a gofundme account that is
> nonrefundable
> > >> if nobody can access the funds. That seems like a bottomless pit.
> > >>
> > >> --
> > >> 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
> >
> >
> > ___
> > 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: Sean?

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

On 05/08/2018 09:13 AM, Dan Brown via use-livecode wrote:

I just received word from Sean's family, he is safe and is coping with last
week's difficult events


Thanks, Dan.

--
 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: Sean?

2018-05-08 Thread Dan Brown via use-livecode
I just received word from Sean's family, he is safe and is coping with last
week's difficult events

On Tue, 8 May 2018, 15:40 prothero--- via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> Folks,
>
> I second what Lagi posted. A donation may not only provide needed funds,
> but sends a message to Sean, and all on this list, that we are a community
> that care not only about the product we are creating, but the folks who are
> creating it. That message is sent, whether the donation is 5 or 100.
>
> Best,
> Bill
>
> William Prothero
> http://earthlearningsolutions.org
>
> > On May 8, 2018, at 5:35 AM, Lagi Pittas via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Mark,
> >
> > Gofundme are very credible and trustworthy.
> >
> > I contacted them and they said I can change who the beneficiary is - to
> his
> > spouse or other family member.
> > So the correct people will get the money whatever the situation - God I
> > hate having to think about the worst case.
> >
> > I thought the same when  I set it up but the what the heck (words to that
> > effect) I lose £100 so what - my family will still be OK.
> >
> > Everybody, if you can  please give  what you can  afford now, not the
> > minimum that will make you feel that you have done your bit. It will go
> to
> > the correct people - this isn't PayPal who holds money on a whim.
> >
> > Regards Lagi
> >
> >
> >
> >
> >
> > On 5 May 2018 at 01:18, Mark Wieder via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >>> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
> >>>
> >>> Hi All
> >>>
> >>> I have set it up - but I want to have the money go directly to Sean
> >>>
> >>> Ive just read that if I put seans email address in it will send him an
> >>> invite so he will be the only one able to withdraw funds.
> >>>
> >>> I am waiting his acceptance but I think we can add to it without him
> >>> accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
> >>>
> >>>
> >>> https://www.gofundme.com/scemergency
> >>>
> >>
> >> So... has anyone heard from Sean yet?
> >> I'm reluctant to put money into a gofundme account that is nonrefundable
> >> if nobody can access the funds. That seems like a bottomless pit.
> >>
> >> --
> >> 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
>
>
> ___
> 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: Background Long IDs

2018-05-08 Thread Brian Milby via use-livecode
I opened a stack where the shared/BG groups are not on the first card and
immediately issued the following in the message box:
put the long id of group "BG1" of card 1 of stack "AutoScriptSaver"
put the long id of group "SG1" of card 1 of stack "AutoScriptSaver"
In both cases I get:
Error description: Chunk: can't find background

Digging a bit, the card chunk is evaluated against the stack and not the
background/shared group.  So since the BG/SG is not on the first card, it
generates an error.  If I find the relative card (2 or 3 in this case) and
use that, it works.  So to get a known consistent long ID for a
background/shared group, it will need to be built manually (or ensure that
every card is visited first).

I'm traversing every object in a stack with a script.  My goal was to avoid
processing background/shared groups more than once.  I capture a list of
shared groups and when looping on the objects on a card I check the list.
If the object is a shared group, then I skip it.

Relevant code is in exportStackScripts and exportChildContolScripts
https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker_Scripts/stack_ScriptTracker_button_id_1003.livecodescript

Thanks,
Brian

On Tue, May 8, 2018 at 4:03 AM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2018-05-07 21:23, Richard Gaskin via use-livecode wrote:
>
>> Brian Milby wrote:
>>
>> The end goal is to enable a binary stack to have the scripts within
>>> tracked via GitHub.  A closely related goal is to enable editing of
>>> said scripts via an external editor.  Script only stacks are not the
>>> way that I want to go for these projects (they are distributed as
>>> stacks and used within the IDE as plugins).  I've got import/export
>>> working and a directory watcher that will start an import when a file
>>> is updated.  Unlike lcVCS, this does not attempt to do anything with
>>> tracking the other parts of the stack, just the scripts.
>>>
>>
>> Ah, very cool.  Thanks.
>>
>> As for the inconsistent bg refs which started this thread, my first
>> inclination is that since consistent absolute refs are critical, any
>> differences in what "long ID" returns based on what card you're on (or
>> where you're sitting, or what day of the week it is, or other factors
>> that don't change the object being referred to) would be a bug, since
>> it's counter to the design goal of "long ID".
>>
>
> At a rough guess, I'd say that the way shared groups are actually
> implemented is interferring with the collection of the long id.
>
> A group can be shared or not shared (sharedBehavior), and if it is shared
> it can be a background (backgroundBehavior).
>
> When you go to a card with a shared group, or (in most cases) reference a
> shared group against a card, the group is reparented to that card (a group
> can only ever have one parent at once). If the group is a background then
> the order of messages is switched (card first, then group).
>
> I suspect the computation of the long id is not looking at the shared
> behavior / background behavior properties and just interpreting the owner
> chain. However, there is a slight wrinkle in that without a card id
> reference in the long id, you aren't really getting a reference which is
> useful at runtime - any computation done with it would be relative to the
> current card of the stack the group is on.
>
> So I wonder if really, if you do:
>
>   get the long id of group "Shared" of card 1
>
> Then it should return
>
>   group id  of card  of stack ...
>
> Regardless of its shared status - making it consistent with all other
> groups. After all you can always check the sharedBehavior/backgroundBehavior
> property in script to see if it is one of those.
>
> Warmest Regards,
>
> Mark.
>
> P.S. Of course, I think Ali attempted to clean this up before (from memory
> - in particular, parsing the card id context to greater depth in various
> parts of the engine) - but it broke lots of things unfortunately :(
>
> --
> 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: export imagedata into a file ?

2018-05-08 Thread Jacques Hausser via use-livecode
Sorry, I didn’t read carefully.
But I think that the imageData needs a kind of “frame” to become an image. So 
the simplest way to do it is to populate, for instance, an hidden image with 
the imageData and then export it.

> Le 8 mai 2018 à 16:17, jbv via use-livecode  a 
> écrit :
> 
> Hi list,
> I have a script that starts as follows :
> 
>   put URL "binfile:/myFile.jpg" into tImageData
>   put tImageData into image "Image_test"
>   put the imagedata of image "Image_test" into tImageData
>   -- tImageData processing
> 
> After tImageData is processed, I would like to export
> its content directly into a file.
> I tried :
>   put tImageData into URL "binfile:/test.jpg"
> but the file is considered corrupted and can't be opened.
> 
> I also tried :
>   put tImageData into URL "binfile:/test.jpg" as JPEG
> but it returns an error.
> 
> I know I can set the imagedata of an image to the content
> of tImageData, and then use "export snapshot", but for some
> reasons too long to explain, I would like to follow a different
> path.
> So, How can I export the binary content of tImageData to
> a jpeg or png file that can be opened like any similar
> file ?
> 
> 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


___
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: export imagedata into a file ?

2018-05-08 Thread Colin Holgate via use-livecode
I was failing to even get the image in! But, the thing I would have tried if 
that had worked would be to set the paintCompression of the image to “jpeg".


> On May 8, 2018, at 10:17 AM, jbv via use-livecode 
>  wrote:
> 
> Hi list,
> I have a script that starts as follows :
> 
>   put URL "binfile:/myFile.jpg" into tImageData
>   put tImageData into image "Image_test"
>   put the imagedata of image "Image_test" into tImageData
>   -- tImageData processing
> 
> After tImageData is processed, I would like to export
> its content directly into a file.
> I tried :
>   put tImageData into URL "binfile:/test.jpg"
> but the file is considered corrupted and can't be opened.
> 
> I also tried :
>   put tImageData into URL "binfile:/test.jpg" as JPEG
> but it returns an error.
> 
> I know I can set the imagedata of an image to the content
> of tImageData, and then use "export snapshot", but for some
> reasons too long to explain, I would like to follow a different
> path.
> So, How can I export the binary content of tImageData to
> a jpeg or png file that can be opened like any similar
> file ?
> 
> 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


___
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: Background Long IDs

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

On 05/08/2018 02:03 AM, Mark Waddingham via use-livecode wrote:

When you go to a card with a shared group, or (in most cases) reference 
a shared group against a card, the group is reparented to that card (a 
group can only ever have one parent at once). If the group is a 
background then the order of messages is switched (card first, then group).


Ick. Would it maybe make more sense to implement background groups as 
behavior objects? And that way not have to 'reparent' or change the 
message path?


--
 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: export imagedata into a file ?

2018-05-08 Thread Jacques Hausser via use-livecode
Hi jbv

I’m using not the imageData, but the image itself

Export image  “mage_testI” to URL”binfile:/test.jpg” as JPEG

It works

Jacques

Le 8 mai 2018 à 16:17, jbv via use-livecode 
> a écrit :

Hi list,
I have a script that starts as follows :

  put URL "binfile:/myFile.jpg" into tImageData
  put tImageData into image "Image_test"
  put the imagedata of image "Image_test" into tImageData
  -- tImageData processing

After tImageData is processed, I would like to export
its content directly into a file.
I tried :
  put tImageData into URL "binfile:/test.jpg"
but the file is considered corrupted and can't be opened.

I also tried :
  put tImageData into URL "binfile:/test.jpg" as JPEG
but it returns an error.

I know I can set the imagedata of an image to the content
of tImageData, and then use "export snapshot", but for some
reasons too long to explain, I would like to follow a different
path.
So, How can I export the binary content of tImageData to
a jpeg or png file that can be opened like any similar
file ?

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


___
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: Sean?

2018-05-08 Thread prothero--- via use-livecode
Folks,

I second what Lagi posted. A donation may not only provide needed funds, but 
sends a message to Sean, and all on this list, that we are a community that 
care not only about the product we are creating, but the folks who are creating 
it. That message is sent, whether the donation is 5 or 100.

Best,
Bill

William Prothero
http://earthlearningsolutions.org

> On May 8, 2018, at 5:35 AM, Lagi Pittas via use-livecode 
>  wrote:
> 
> Hi Mark,
> 
> Gofundme are very credible and trustworthy.
> 
> I contacted them and they said I can change who the beneficiary is - to his
> spouse or other family member.
> So the correct people will get the money whatever the situation - God I
> hate having to think about the worst case.
> 
> I thought the same when  I set it up but the what the heck (words to that
> effect) I lose £100 so what - my family will still be OK.
> 
> Everybody, if you can  please give  what you can  afford now, not the
> minimum that will make you feel that you have done your bit. It will go to
> the correct people - this isn't PayPal who holds money on a whim.
> 
> Regards Lagi
> 
> 
> 
> 
> 
> On 5 May 2018 at 01:18, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>>> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
>>> 
>>> Hi All
>>> 
>>> I have set it up - but I want to have the money go directly to Sean
>>> 
>>> Ive just read that if I put seans email address in it will send him an
>>> invite so he will be the only one able to withdraw funds.
>>> 
>>> I am waiting his acceptance but I think we can add to it without him
>>> accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
>>> 
>>> 
>>> https://www.gofundme.com/scemergency
>>> 
>> 
>> So... has anyone heard from Sean yet?
>> I'm reluctant to put money into a gofundme account that is nonrefundable
>> if nobody can access the funds. That seems like a bottomless pit.
>> 
>> --
>> 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


___
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

export imagedata into a file ?

2018-05-08 Thread jbv via use-livecode
Hi list,
I have a script that starts as follows :

   put URL "binfile:/myFile.jpg" into tImageData
   put tImageData into image "Image_test"
   put the imagedata of image "Image_test" into tImageData
   -- tImageData processing

After tImageData is processed, I would like to export
its content directly into a file.
I tried :
   put tImageData into URL "binfile:/test.jpg"
but the file is considered corrupted and can't be opened.

I also tried :
   put tImageData into URL "binfile:/test.jpg" as JPEG
but it returns an error.

I know I can set the imagedata of an image to the content
of tImageData, and then use "export snapshot", but for some
reasons too long to explain, I would like to follow a different
path.
So, How can I export the binary content of tImageData to
a jpeg or png file that can be opened like any similar
file ?

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


Re: HTTPD Server Post Requests work ........about half the time

2018-05-08 Thread Andre Garzia via use-livecode
Monte and Tom,

Yes, that is true. The client will wait for a while. It can still drop
though if for any reason the socket disconnects while waiting for an answer
(IIRC).

A good practice, is to cache and pre-process aggressively so that you need
to minimal work when the request actually arrives. If you know you will
need to do some database queries for each request and the data doesn't
change much often, such as:

"You are building a blog cms. Each post can have any number of comments.
Your user is interested in seeing a list of their recent posts and their
comments since his last visit. One normal way to do it, would be to use a
boolean field in each comment such as "seen" and flip it to true when shown
to the user. To assemble such page, you'd need to query for the posts and
then query for the comments, in a join operation which can be costly. Why
not pre-compute this when someone comment on an article. At that time, you
know the comment is "not seen yet" and you know which post it is related
to. You can add it to a special "inbox queue" so that when the user
arrives, this "inbox queue" requires no join or complex query minimizing
your I/O blocking"

That kind of stuff. Also, remember, the time after you answer the request
but before other request arrives (idle time) is perfect for maintenance
pre-computing.

On Mon, May 7, 2018 at 10:45 PM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Andre I think that should only be an issue if your number of requests *
> time per request > client timeout.
>
> Tom probably the best place to start is some logs of the requests and
> responses on both client and server.
>
> Cheers
>
> Monte
>
> > On 8 May 2018, at 11:28 am, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Remember that LC is using a single thread and that script execution is
> > blocking, so, if your server is busy doing work to respond to a request,
> > then it will probably not acknowledge an incoming request at the same
> time.
> > Or at least that was true for my RevHTTPd version...
> >
> > On Mon, May 7, 2018 at 12:13 PM, Tom Glod via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Hi folks, so spent the last 2 days working on getting my client to talk
> to
> >> a simple service I created taking advantage of the httpd library in v9.
> >>
> >> Everything works fine. half the time. literally the request is
> >> identical each time but the result differs.
> >>
> >> the content type is set to text/plain. so the (base64 encoded)
> content
> >> is in the "content" variable.
> >>
> >> but thats only true half the time the other time it comes in empty.
> >>
> >> I also checked my post request with an online "post request"
> >> mechanism...and 100 % of the requests come in correctly. so the problem
> >> must be on my httpd service end.
> >>
> >> Anyone have any clue what could be creating this inconsistency?
> >> ___
> >> 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
> >>
> >
> >
> >
> > --
> > http://www.andregarzia.com -- All We Do Is Code.
> > http://fon.nu -- minimalist url shortening service.
> > ___
> > 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
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Sean?

2018-05-08 Thread Lagi Pittas via use-livecode
Hi Mark,

Gofundme are very credible and trustworthy.

I contacted them and they said I can change who the beneficiary is - to his
spouse or other family member.
So the correct people will get the money whatever the situation - God I
hate having to think about the worst case.

I thought the same when  I set it up but the what the heck (words to that
effect) I lose £100 so what - my family will still be OK.

Everybody, if you can  please give  what you can  afford now, not the
minimum that will make you feel that you have done your bit. It will go to
the correct people - this isn't PayPal who holds money on a whim.

Regards Lagi





On 5 May 2018 at 01:18, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 05/02/2018 11:14 AM, Lagi Pittas via use-livecode wrote:
>
>> Hi All
>>
>> I have set it up - but I want to have the money go directly to Sean
>>
>> Ive just read that if I put seans email address in it will send him an
>> invite so he will be the only one able to withdraw funds.
>>
>> I am waiting his acceptance but I think we can add to it without him
>> accepting -I HAVE NO WAY OF WITHDRAWING MONEY FROM THIS ACCOUNT.
>>
>>
>> https://www.gofundme.com/scemergency
>>
>
> So... has anyone heard from Sean yet?
> I'm reluctant to put money into a gofundme account that is nonrefundable
> if nobody can access the funds. That seems like a bottomless pit.
>
> --
>  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: Sean?

2018-05-08 Thread Lagi Pittas via use-livecode
I sent a Facebook PM to  his Son  last week - No Answer..

But to make it worse - no donation since last Friday. - come on people!!!

Anyone got his house telephone number?

Lagi



On 6 May 2018 at 20:18, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mark Wieder wrote:
>
>> So... has anyone heard from Sean yet?
>>
>
> I have not.  He has not yet responded to a message I sent him on LinkedIn,
> and his last Twitter posts were just a few hours before he last posted here.
>
> I sent a connection request to his partner at his company (same last name,
> presumably a relative), and will inquire with him if the request is
> accepted.
>
> Going on four days the radio silence is disconcerting
>
> --
>  Richard Gaskin
>  Fourth World Systems
>
> ___
> 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: Background Long IDs

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

On 2018-05-07 21:23, Richard Gaskin via use-livecode wrote:

Brian Milby wrote:


The end goal is to enable a binary stack to have the scripts within
tracked via GitHub.  A closely related goal is to enable editing of
said scripts via an external editor.  Script only stacks are not the
way that I want to go for these projects (they are distributed as
stacks and used within the IDE as plugins).  I've got import/export
working and a directory watcher that will start an import when a file
is updated.  Unlike lcVCS, this does not attempt to do anything with
tracking the other parts of the stack, just the scripts.


Ah, very cool.  Thanks.

As for the inconsistent bg refs which started this thread, my first
inclination is that since consistent absolute refs are critical, any
differences in what "long ID" returns based on what card you're on (or
where you're sitting, or what day of the week it is, or other factors
that don't change the object being referred to) would be a bug, since
it's counter to the design goal of "long ID".


At a rough guess, I'd say that the way shared groups are actually 
implemented is interferring with the collection of the long id.


A group can be shared or not shared (sharedBehavior), and if it is 
shared it can be a background (backgroundBehavior).


When you go to a card with a shared group, or (in most cases) reference 
a shared group against a card, the group is reparented to that card (a 
group can only ever have one parent at once). If the group is a 
background then the order of messages is switched (card first, then 
group).


I suspect the computation of the long id is not looking at the shared 
behavior / background behavior properties and just interpreting the 
owner chain. However, there is a slight wrinkle in that without a card 
id reference in the long id, you aren't really getting a reference which 
is useful at runtime - any computation done with it would be relative to 
the current card of the stack the group is on.


So I wonder if really, if you do:

  get the long id of group "Shared" of card 1

Then it should return

  group id  of card  of stack ...

Regardless of its shared status - making it consistent with all other 
groups. After all you can always check the 
sharedBehavior/backgroundBehavior property in script to see if it is one 
of those.


Warmest Regards,

Mark.

P.S. Of course, I think Ali attempted to clean this up before (from 
memory - in particular, parsing the card id context to greater depth in 
various parts of the engine) - but it broke lots of things unfortunately 
:(


--
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