Re: Long Standing Issue with the defaultStack

2020-04-18 Thread J. Landman Gay via use-livecode
The stack style is important, its mode influences which stack is toplevel 
and default. A palette shouldn't be the default stack unless you focus on 
it, for instance.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 18, 2020 4:14:27 PM Bob Sneidar via use-livecode 
 wrote:


The only reliable way to change either by script is by setting the style of 
a stack to “topLevel”.




___
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: Sound and the Xcode simulator

2020-04-18 Thread J. Landman Gay via use-livecode

Are you using a scripted player?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 18, 2020 4:19:52 PM Graham Samuel via use-livecode 
 wrote:



This is a simple one.

I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when 
I try it in the iPhone simulator it doesn’t play. The simulated phone is 
not silent and has a decent amount of sound volume. I have tried both 
‘System’ and ‘Internal Speakers’ as outputs from the simulator.


Is this my fault or the simulator’s?

Graham
___
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: DataGrid table DeleteIndex

2020-04-18 Thread Bob Sneidar via use-livecode
I ran into the same problem when I started working with multiple indexes. 

Bob S


> On Apr 18, 2020, at 5:58 PM, Neville Smythe via use-livecode 
>  wrote:
> 
> BobS wrote
> 
>> Did you try the plural form of deleteIndex(es)? 
> 
> Well you see I read the documentation. Which says “DeleteIndexes” is a 
> synonym of “DeleteIndex”. So I didn’t try it (didn’t try “DeleteIndices” 
> either). Thanks Bob, that does work! So the documentation is wrong. There is 
> no separate entry for DeleteIndexes.
> 
>> The data grid does not use threads. Nothing in LC does.
> 
> I know LC doesn’t but I thought it just possible that DataGrid uses a C 
> external which employs threads. Clutching at straws of course.
> 
> Neville

___
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: DataGrid table DeleteIndex

2020-04-18 Thread Neville Smythe via use-livecode
BobS wrote

> Did you try the plural form of deleteIndex(es)? 

Well you see I read the documentation. Which says “DeleteIndexes” is a synonym 
of “DeleteIndex”. So I didn’t try it (didn’t try “DeleteIndices” either). 
Thanks Bob, that does work! So the documentation is wrong. There is no separate 
entry for DeleteIndexes.

> The data grid does not use threads. Nothing in LC does.

I know LC doesn’t but I thought it just possible that DataGrid uses a C 
external which employs threads. Clutching at straws of course.

Neville


___
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: Simple 3D animation question

2020-04-18 Thread Mark Wieder via use-livecode

On 4/18/20 1:56 PM, ha...@exformedia.se wrote:
When teaching my students about hybrid apps I usually do a session 
called "Vad är klockan vart då?" (What is the time where?) Where we have 
a globe in a browser widget, that you can spin and tap. When you tap a 
location we have a clock-widget set to the current time at that 
location. The globe is driven by d3js, which is a really powerful 
visualization library written in JavaScript. Without resorting to 
builder or embedding some other graphic library I don't think that would 
be possible at the current state of LiveCode graphics. But on the other 
hand it is really nice to see how easily you can combine the browser 
widget with LiveCode.


So to conclude I also would suggest to resort to a browser widget and 
then add something like:


https://codepen.io/Mombasa/pen/fvgqb
(Built with threes)


There was an amazing demonstration of data visualization using threejs 
at SCaLE last month. I got hooked right away.


https://www.youtube.com/watch?v=nCR_1YBFyN0

--
 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: Sound and the Xcode simulator

2020-04-18 Thread Mark Talluto via use-livecode
On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode 
 wrote:
> 
> This is a simple one.
> 
> I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when I 
> try it in the iPhone simulator it doesn’t play. The simulated phone is not 
> silent and has a decent amount of sound volume. I have tried both ‘System’ 
> and ‘Internal Speakers’ as outputs from the simulator. 
> 
> Is this my fault or the simulator’s?

Hi Graham,

iOS can not play WAV sounds. You will need to convert the sound file to another 
format like mp3.

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
Go and Open are synonyms. 

Bob S


> On Apr 18, 2020, at 2:19 PM, Bob Sneidar  wrote:
> 
> same thing
> 
> Bob S
> 
> 
>> On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> What do you get if you use "go" instead of "open"?


___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
https://quality.livecode.com/show_bug.cgi?id=22691 if anyone is interested. 
Very simple test stacks included. 

Bob S


> On Apr 18, 2020, at 2:20 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I’m putting together a simple demo and will post on bulgiest in a few. 
> 
> Bob S
> 
> 
>> On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> What do you get if you use "go" instead of "open"?
>> 
>> On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote:
>>> Okay I created a simple stack with one sub stack. In the card script of 
>>> stack 1 I put the handler:
>>> on openStack
>>>   put the defaultStack & cr into msg
>>>   open stack "untitled 2"
>>>   put the defaultStack & cr after msg
>>>   open me
>>>   put the defaultStack & cr after msg
>>> end openStack
>>> I get:
>>> stack "Untitled 1"
>>> stack "Untitled 2"
>>> stack "Untitled 2”
>>> It seems going,opening a stack sets the opened stack to the default… IF 
>>> IT’s NOT ALREADY OPENED! If it IS, well then you are on your own. The 
>>> defaultStack is the last stack opened. (I’m assuming it’s a normal stack 
>>> and not a pallet or something else).
>>> Now you would think at this point you can use topStack instead, but NAY! 
>>> This script:
>>> on openStack
>>>   put the defaultStack && the short name of the topStack & cr into msg
>>>   open stack "untitled 2"
>>>   put the defaultStack && the short name of the topStack & cr after msg
>>>   go me
>>>   put the defaultStack && the short name of the topStack & cr after msg
>>> end openStack
>>> produces:
>>> stack "Untitled 1" Untitled 1
>>> stack "Untitled 2" Untitled 2
>>> stack "Untitled 2" Untitled 2
>>> After I go me, neither the defaultStack nor the topStack changes! What is 
>>> more, the untitled 2 stack still has focus!!
>>> Just to be certain I disabled all my plugins and relaunched, same thing.
>>> This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be.
>>> Bob S
 On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode 
  wrote:
 
 On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:
 
> Until I can figure out what is causing it, I cannot trust the 
> defaultStack.
 
 I think the basic lesson here is "if you're going to rely on the 
 defaultstack you should set the defaultstack".
 
 -- 
 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
>> 
>> 
>> -- 
>> 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
> 
> ___
> 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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
I’m putting together a simple demo and will post on bulgiest in a few. 

Bob S


> On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> What do you get if you use "go" instead of "open"?
> 
> On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote:
>> Okay I created a simple stack with one sub stack. In the card script of 
>> stack 1 I put the handler:
>> on openStack
>>put the defaultStack & cr into msg
>>open stack "untitled 2"
>>put the defaultStack & cr after msg
>>open me
>>put the defaultStack & cr after msg
>> end openStack
>> I get:
>> stack "Untitled 1"
>> stack "Untitled 2"
>> stack "Untitled 2”
>> It seems going,opening a stack sets the opened stack to the default… IF IT’s 
>> NOT ALREADY OPENED! If it IS, well then you are on your own. The 
>> defaultStack is the last stack opened. (I’m assuming it’s a normal stack and 
>> not a pallet or something else).
>> Now you would think at this point you can use topStack instead, but NAY! 
>> This script:
>> on openStack
>>put the defaultStack && the short name of the topStack & cr into msg
>>open stack "untitled 2"
>>put the defaultStack && the short name of the topStack & cr after msg
>>go me
>>put the defaultStack && the short name of the topStack & cr after msg
>> end openStack
>> produces:
>> stack "Untitled 1" Untitled 1
>> stack "Untitled 2" Untitled 2
>> stack "Untitled 2" Untitled 2
>> After I go me, neither the defaultStack nor the topStack changes! What is 
>> more, the untitled 2 stack still has focus!!
>> Just to be certain I disabled all my plugins and relaunched, same thing.
>> This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be.
>> Bob S
>>> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:
>>> 
 Until I can figure out what is causing it, I cannot trust the defaultStack.
>>> 
>>> I think the basic lesson here is "if you're going to rely on the 
>>> defaultstack you should set the defaultstack".
>>> 
>>> -- 
>>> 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
> 
> 
> -- 
> 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

___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
same thing

Bob S


> On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> What do you get if you use "go" instead of "open"?


___
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


Sound and the Xcode simulator

2020-04-18 Thread Graham Samuel via use-livecode
This is a simple one.

I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when I 
try it in the iPhone simulator it doesn’t play. The simulated phone is not 
silent and has a decent amount of sound volume. I have tried both ‘System’ and 
‘Internal Speakers’ as outputs from the simulator. 

Is this my fault or the simulator’s?

Graham
___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread J. Landman Gay via use-livecode

What do you get if you use "go" instead of "open"?

On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote:

Okay I created a simple stack with one sub stack. In the card script of stack 1 
I put the handler:

on openStack
put the defaultStack & cr into msg
open stack "untitled 2"
put the defaultStack & cr after msg
open me
put the defaultStack & cr after msg
end openStack

I get:
stack "Untitled 1"
stack "Untitled 2"
stack "Untitled 2”

It seems going,opening a stack sets the opened stack to the default… IF IT’s 
NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack 
is the last stack opened. (I’m assuming it’s a normal stack and not a pallet or 
something else).

Now you would think at this point you can use topStack instead, but NAY! This 
script:

on openStack
put the defaultStack && the short name of the topStack & cr into msg
open stack "untitled 2"
put the defaultStack && the short name of the topStack & cr after msg
go me
put the defaultStack && the short name of the topStack & cr after msg
end openStack

produces:
stack "Untitled 1" Untitled 1
stack "Untitled 2" Untitled 2
stack "Untitled 2" Untitled 2

After I go me, neither the defaultStack nor the topStack changes! What is more, 
the untitled 2 stack still has focus!!

Just to be certain I disabled all my plugins and relaunched, same thing.

This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be.

Bob S




On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode 
 wrote:

On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:


Until I can figure out what is causing it, I cannot trust the defaultStack.


I think the basic lesson here is "if you're going to rely on the defaultstack you 
should set the defaultstack".

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




--
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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
What is worse, after THIS script runs:

on openStack
   put the defaultStack && the short name of the topStack & cr into msg
   go stack "untitled 2"
   put the defaultStack && the short name of the topStack & cr after msg
   go the owner of me
   set the defaultStack to the owner of me
   put the defaultStack && the short name of the topStack & cr after msg
end openStack

I get:
stack "Untitled 1" Untitled 1
stack "Untitled 2" Untitled 2
stack "Untitled 1" Untitled 2

Here, the defaultStack is set by script to stack “Untitled 1” as you would 
expect, but upon termination of the script, the command "put the defaultStack” 
reveals that stack “Untitled 2” has reverted to the defaultStack!

In other words, going to another stack, or card of a stack by script DOES NOT 
ALTER the defaultStack, and neither does setting it by script once the script 
terminates. Additionally it does not make it the topStack. 

If a user CLICKS in an open stack THEN it becomes the defaultStack AND the 
topStack. It just does not work by script. 

The only reliable way to change either by script is by setting the style of a 
stack to “topLevel”. 

Bob S


> On Apr 18, 2020, at 1:48 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Okay I created a simple stack with one sub stack. In the card script of stack 
> 1 I put the handler:
> 
> on openStack
>   put the defaultStack & cr into msg
>   open stack "untitled 2"
>   put the defaultStack & cr after msg
>   open me
>   put the defaultStack & cr after msg
> end openStack
> 
> I get:
> stack "Untitled 1"
> stack "Untitled 2"
> stack "Untitled 2”
> 
> It seems going,opening a stack sets the opened stack to the default… IF IT’s 
> NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack 
> is the last stack opened. (I’m assuming it’s a normal stack and not a pallet 
> or something else). 
> 
> Now you would think at this point you can use topStack instead, but NAY! This 
> script:
> 
> on openStack
>   put the defaultStack && the short name of the topStack & cr into msg
>   open stack "untitled 2"
>   put the defaultStack && the short name of the topStack & cr after msg
>   go me
>   put the defaultStack && the short name of the topStack & cr after msg
> end openStack
> 
> produces:
> stack "Untitled 1" Untitled 1
> stack "Untitled 2" Untitled 2
> stack "Untitled 2" Untitled 2
> 
> After I go me, neither the defaultStack nor the topStack changes! What is 
> more, the untitled 2 stack still has focus!! 
> 
> Just to be certain I disabled all my plugins and relaunched, same thing. 
> 
> This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. 
> 
> Bob S
> 
> 
> 
>> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:
>> 
>>> Until I can figure out what is causing it, I cannot trust the defaultStack.
>> 
>> I think the basic lesson here is "if you're going to rely on the 
>> defaultstack you should set the defaultstack".
>> 
>> -- 
>> 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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
By the way, this has NOTHING to do with substacks as I initially thought. The 
same thing happens with separate stacks. 

> On Apr 18, 2020, at 1:48 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Okay I created a simple stack with one sub stack. In the card script of stack 
> 1 I put the handler:
> 
> on openStack
>   put the defaultStack & cr into msg
>   open stack "untitled 2"
>   put the defaultStack & cr after msg
>   open me
>   put the defaultStack & cr after msg
> end openStack
> 
> I get:
> stack "Untitled 1"
> stack "Untitled 2"
> stack "Untitled 2”
> 
> It seems going,opening a stack sets the opened stack to the default… IF IT’s 
> NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack 
> is the last stack opened. (I’m assuming it’s a normal stack and not a pallet 
> or something else). 
> 
> Now you would think at this point you can use topStack instead, but NAY! This 
> script:
> 
> on openStack
>   put the defaultStack && the short name of the topStack & cr into msg
>   open stack "untitled 2"
>   put the defaultStack && the short name of the topStack & cr after msg
>   go me
>   put the defaultStack && the short name of the topStack & cr after msg
> end openStack
> 
> produces:
> stack "Untitled 1" Untitled 1
> stack "Untitled 2" Untitled 2
> stack "Untitled 2" Untitled 2
> 
> After I go me, neither the defaultStack nor the topStack changes! What is 
> more, the untitled 2 stack still has focus!! 
> 
> Just to be certain I disabled all my plugins and relaunched, same thing. 
> 
> This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. 
> 
> Bob S
___
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: Simple 3D animation question

2020-04-18 Thread Håkan Liljegren via use-livecode
When teaching my students about hybrid apps I usually do a session called "Vad 
är klockan vart då?" (What is the time where?) Where we have a globe in a 
browser widget, that you can spin and tap. When you tap a location we have a 
clock-widget set to the current time at that location. The globe is driven by 
d3js, which is a really powerful visualization library written in JavaScript. 
Without resorting to builder or embedding some other graphic library I don't 
think that would be possible at the current state of LiveCode graphics. But on 
the other hand it is really nice to see how easily you can combine the browser 
widget with LiveCode.

So to conclude I also would suggest to resort to a browser widget and then add 
something like:

https://codepen.io/Mombasa/pen/fvgqb

(Built with threes)

Håkan
On 18 Apr 2020, 18:47 +0200, Mark Wieder via use-livecode 
, wrote:
> On 4/18/20 6:32 AM, David Bovill via use-livecode wrote:
> > For Earth Day this Wendesday a few of us are working on an art piece that I 
> > want to use Livecode for.
> >
> > As part of this event I need to create an interactive presentation and wish 
> > to create an icosahedrons - so a 3 dimensional hexagon - that I need to 
> > rotate in different dimensions.
>
> At the risk of getting into a religious war here...
> I wouldn't do this in LiveCode.
>
> Have you seen threejs?
>
> https://threejs.org
>
> example:
> https://threejs.org/examples/#webgl_geometry_convex
>
> source:
> 
>
> --
> 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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
Okay I created a simple stack with one sub stack. In the card script of stack 1 
I put the handler:

on openStack
   put the defaultStack & cr into msg
   open stack "untitled 2"
   put the defaultStack & cr after msg
   open me
   put the defaultStack & cr after msg
end openStack

I get:
stack "Untitled 1"
stack "Untitled 2"
stack "Untitled 2”

It seems going,opening a stack sets the opened stack to the default… IF IT’s 
NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack 
is the last stack opened. (I’m assuming it’s a normal stack and not a pallet or 
something else). 

Now you would think at this point you can use topStack instead, but NAY! This 
script:

on openStack
   put the defaultStack && the short name of the topStack & cr into msg
   open stack "untitled 2"
   put the defaultStack && the short name of the topStack & cr after msg
   go me
   put the defaultStack && the short name of the topStack & cr after msg
end openStack

produces:
stack "Untitled 1" Untitled 1
stack "Untitled 2" Untitled 2
stack "Untitled 2" Untitled 2

After I go me, neither the defaultStack nor the topStack changes! What is more, 
the untitled 2 stack still has focus!! 

Just to be certain I disabled all my plugins and relaunched, same thing. 

This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. 

Bob S



> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:
> 
>> Until I can figure out what is causing it, I cannot trust the defaultStack.
> 
> I think the basic lesson here is "if you're going to rely on the defaultstack 
> you should set the defaultstack".
> 
> -- 
> 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: Visual Effect

2020-04-18 Thread dunbarx--- via use-livecode
Hi.
I never use visual effects, but I think you may need to go to the dictionary.
One thing it says is:
 "The visual effect command affects only navigation within a window. If you 
want to create a transition effect when moving between stacks, use the go...in 
window form of the go command :
visual effect wipe downgo stack Index in window Part 2 -- replaces stack on 
screen
So I think it is a matter of usage. I bet you will find your way through.
Craig

-Original Message-
From: Bob Sneidar via use-livecode 
To: How to use LiveCode 
Cc: Bob Sneidar 
Sent: Sat, Apr 18, 2020 2:48 pm
Subject: Visual Effect

I’m having trouble wrapping my head around visual effects. I’ trying to hide 
and show stacks using visual effects. 

Consider this in a button:

on mouseUp
  wait 1 second
  set the visible of homeStack() to false 
  lock screen
  set the visible of homeStack() to true
  unlock screen with visual effect reveal down very slow
  breakpoint
end mouseUp

homestack() simply returns the file path of the main stack, which this button 
is on. 

The visual result is indistinguishable from simply showing and hiding the 
stack. 

Bob S

___
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


Auto opening of Project Browser

2020-04-18 Thread JeeJeeStudio via use-livecode

Hi,

maybe i missed it, but i think not.

Why is in preferences no option, to or not to, always have the Project 
Browser opened when starting LC?


Actually same counts for the message box.


Thanks!

Jerry


___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread dunbarx--- via use-livecode
Hi.
I know that doing the simplest things, breathing, going down to the message 
box, can upset the defaultStack. I see this often when trying to change 
properties in open inspector(s).
My example may have been unfair to your issue, because I wound it so tightly 
within a single short handler. There was no room for fiddling around, by you or 
LC.
When one is roaming around the IDE, I think I have seen the same things you 
have.
Craig


-Original Message-
From: Bob Sneidar via use-livecode 
To: How to use LiveCode 
Cc: Bob Sneidar 
Sent: Sat, Apr 18, 2020 2:35 pm
Subject: Re: Long Standing Issue with the defaultStack

Not sure at this point. When I open a sub stack called “Devices” (or any sub 
stack) of my main stack “Forms Generator” and I enter “put the defaultStack” in 
the message box, I get “Forms Generator”. 

If I put the command “put the defaultStack” in the last line of the openStack 
handler of stack devices, I get “Devices”. 

Right afterwards, if I enter “put the defaultStack” in the message box, I get 
“Forms Generator” again! 

Not entirely sure what is doing it. Had the same issue with another much 
simpler stack. If I went invisible to a database setup stack, then went back to 
the stack that called it, the defaultStack remained the database setup stack, 
and THAT wasn’t even a sub stack! 

Until I can figure out what is causing it, I cannot trust the defaultStack. 

Bob S


> On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode 
>  wrote:
> 
> Bob.
> I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, 
> I quit LC and open "XXX" from the desktop.
> There is a single button on "XXX" that:on mouseUp  go stack"yyy"answer the 
> defaultStackend mouseUp
> I get "YYY"
> What are you seeing?
> Craig

___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread Mark Wieder via use-livecode

On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote:


Until I can figure out what is causing it, I cannot trust the defaultStack.


I think the basic lesson here is "if you're going to rely on the 
defaultstack you should set the defaultstack".


--
 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: Apps to fight COVID-19

2020-04-18 Thread dsc--- via use-livecode
I will attend.

> On Apr 18, 2020, at 7:45 AM, David Bovill via use-livecode 
>  wrote:
> 
> The app looks a good start, but basic. I took a closer look at the cartoon 
> images, they are quite specific, but a good base for a discussion about 
> privacy issues. Not so good for an app.
> 
> My suggestion regarding taking this forwards is that we have a creative 
> workshop on Earth Day this coming Weds, as part of an in-line in conference 
> that we are organising with a few folk. There will be plenty of other thing 
> to drop into. I’ll send some info to this list on Sunday.
> 
> It’s pretty informal, so we can organise our own breakout open space meeting 
> when we like - so it should be no issue organising a Livecode workshop on 
> making a CORVID-19 app.
> 
> My focus is on doing an interactive sound piece and helping convene some if 
> the breakout discussions, but doing a workshop on Livecode would be a fun 
> part of that.
> 
> I could do with some help though :)
> On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode 
> , wrote:
>> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary 
>> as mentioned here.
>> 
>> https://www.coronika.app/en 
>> 
>> I say "cool", but I haven't tried it. it looks good. Should it be done 
>> better?
>> 
>> 
>> 
>> 
>>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode 
>>>  wrote:
>>> 
>>> Meanwhile at Covid Watch there is talk of moving the provider-facing at to 
>>> a web app of some sort.
>>> 
 On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode 
  wrote:
 
 Jonathan Rothberg is looking for brilliant people who can code whatever 
 your domain.
 
 
> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode 
>  wrote:
> 
> Thanks!
> 
> 
>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote:
>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have 
>>> changed COVID Watch to Covid Watch.)
>> 
>> This any help?
>> 
>> https://www.healthcareblocks.com/hipaa/developer_guidelines
>> 
>> --
>> 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
> ___
> 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: Apps to fight COVID-19

2020-04-18 Thread Dar Scott Consulting via use-livecode
I don't think Coronika is made with LiveCode. However, it might be inspiring. 
For some reason downloading never completes on my old Android phone.

> On Apr 18, 2020, at 11:56 AM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> That's not made with livecode right?
> 
> Op 18-4-2020 om 15:45 schreef David Bovill via use-livecode:
>> The app looks a good start, but basic. I took a closer look at the cartoon 
>> images, they are quite specific, but a good base for a discussion about 
>> privacy issues. Not so good for an app.
>> 
>> My suggestion regarding taking this forwards is that we have a creative 
>> workshop on Earth Day this coming Weds, as part of an in-line in conference 
>> that we are organising with a few folk. There will be plenty of other thing 
>> to drop into. I’ll send some info to this list on Sunday.
>> 
>> It’s pretty informal, so we can organise our own breakout open space meeting 
>> when we like - so it should be no issue organising a Livecode workshop on 
>> making a CORVID-19 app.
>> 
>> My focus is on doing an interactive sound piece and helping convene some if 
>> the breakout discussions, but doing a workshop on Livecode would be a fun 
>> part of that.
>> 
>> I could do with some help though :)
>> On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode 
>> , wrote:
>>> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary 
>>> as mentioned here.
>>> 
>>> https://www.coronika.app/en 
>>> 
>>> I say "cool", but I haven't tried it. it looks good. Should it be done 
>>> better?
>>> 
>>> 
>>> 
>>> 
 On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode 
  wrote:
 
 Meanwhile at Covid Watch there is talk of moving the provider-facing at to 
 a web app of some sort.
 
> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode 
>  wrote:
> 
> Jonathan Rothberg is looking for brilliant people who can code whatever 
> your domain.
> 
> 
>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode 
>>  wrote:
>> 
>> Thanks!
>> 
>> 
>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote:
 1. Covid Watch needs expertise in making HIPAA compliant apps. (We 
 have changed COVID Watch to Covid Watch.)
>>> This any help?
>>> 
>>> https://www.healthcareblocks.com/hipaa/developer_guidelines
>>> 
>>> --
>>> 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
>> ___
>> 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: Visual Effect

2020-04-18 Thread Bob Sneidar via use-livecode
Thanks Scott. I should read the whole command. I only got as far as the 
examples for cards. 

Bob S


> On Apr 18, 2020, at 12:15 PM, scott--- via use-livecode 
>  wrote:
> 
> From the docs:
> 
> The visual effect command affects only navigation within a window. If you 
> want to create a transition effect when moving between stacks, use the 
> go...in window form of the go command :
> 
> visual effect "wipe down"
> go stack Index in window "Part 2" -- replaces stack on screen
> 
> —
> Scott

___
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: Visual Effect

2020-04-18 Thread scott--- via use-livecode
From the docs:

The visual effect command affects only navigation within a window. If you want 
to create a transition effect when moving between stacks, use the go...in 
window form of the go command :

visual effect "wipe down"
go stack Index in window "Part 2" -- replaces stack on screen

—
Scott

> On Apr 18, 2020, at 11:47 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I’m having trouble wrapping my head around visual effects. I’ trying to hide 
> and show stacks using visual effects. 
> 
> Consider this in a button:
> 
> on mouseUp
>   wait 1 second
>   set the visible of homeStack() to false 
>   lock screen
>   set the visible of homeStack() to true
>   unlock screen with visual effect reveal down very slow
>   breakpoint
> end mouseUp
> 
> homestack() simply returns the file path of the main stack, which this button 
> is on. 
> 
> The visual result is indistinguishable from simply showing and hiding the 
> stack. 
> 
> Bob S
> 
> ___
> 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


Visual Effect

2020-04-18 Thread Bob Sneidar via use-livecode
I’m having trouble wrapping my head around visual effects. I’ trying to hide 
and show stacks using visual effects. 

Consider this in a button:

on mouseUp
   wait 1 second
   set the visible of homeStack() to false 
   lock screen
   set the visible of homeStack() to true
   unlock screen with visual effect reveal down very slow
   breakpoint
end mouseUp

homestack() simply returns the file path of the main stack, which this button 
is on. 

The visual result is indistinguishable from simply showing and hiding the 
stack. 

Bob S

___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread Bob Sneidar via use-livecode
Not sure at this point. When I open a sub stack called “Devices” (or any sub 
stack) of my main stack “Forms Generator” and I enter “put the defaultStack” in 
the message box, I get “Forms Generator”. 

If I put the command “put the defaultStack” in the last line of the openStack 
handler of stack devices, I get “Devices”. 

Right afterwards, if I enter “put the defaultStack” in the message box, I get 
“Forms Generator” again! 

Not entirely sure what is doing it. Had the same issue with another much 
simpler stack. If I went invisible to a database setup stack, then went back to 
the stack that called it, the defaultStack remained the database setup stack, 
and THAT wasn’t even a sub stack! 

Until I can figure out what is causing it, I cannot trust the defaultStack. 

Bob S


> On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode 
>  wrote:
> 
> Bob.
> I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, 
> I quit LC and open "XXX" from the desktop.
> There is a single button on "XXX" that:on mouseUp   go stack"yyy"answer the 
> defaultStackend mouseUp
> I get "YYY"
> What are you seeing?
> Craig

___
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: Apps to fight COVID-19

2020-04-18 Thread JeeJeeStudio via use-livecode

That's not made with livecode right?

Op 18-4-2020 om 15:45 schreef David Bovill via use-livecode:

The app looks a good start, but basic. I took a closer look at the cartoon 
images, they are quite specific, but a good base for a discussion about privacy 
issues. Not so good for an app.

My suggestion regarding taking this forwards is that we have a creative 
workshop on Earth Day this coming Weds, as part of an in-line in conference 
that we are organising with a few folk. There will be plenty of other thing to 
drop into. I’ll send some info to this list on Sunday.

It’s pretty informal, so we can organise our own breakout open space meeting 
when we like - so it should be no issue organising a Livecode workshop on 
making a CORVID-19 app.

My focus is on doing an interactive sound piece and helping convene some if the 
breakout discussions, but doing a workshop on Livecode would be a fun part of 
that.

I could do with some help though :)
On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode 
, wrote:

Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as 
mentioned here.

https://www.coronika.app/en 

I say "cool", but I haven't tried it. it looks good. Should it be done better?





On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode 
 wrote:

Meanwhile at Covid Watch there is talk of moving the provider-facing at to a 
web app of some sort.


On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode 
 wrote:

Jonathan Rothberg is looking for brilliant people who can code whatever your 
domain.



On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode 
 wrote:

Thanks!



On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode 
 wrote:

On 4/13/20 10:14 AM, dsc--- via use-livecode wrote:

1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed 
COVID Watch to Covid Watch.)

This any help?

https://www.healthcareblocks.com/hipaa/developer_guidelines

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

___
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


LC 9.6.0 (dp4) - cannot set the URL of an iOS native browser if it was previously set to empty

2020-04-18 Thread HENRY LOWE via use-livecode
Took me some time to track this one down, so I thought that it might be helpful 
to know in advance:

With LC 9.6.0 (dp4) after setting the url of the iOS native browser (not the 
Browser Widget) to empty, one cannot set the browser’s url to another value.

Example:

MobileControlSet "rkWebView","URL”,empty

MobileControlSet "rkWebView”,”https://www.apple.com” 
 - page fails to load (blank display 
and browser url is empty)

This has been confirmed as a regression: 
https://quality.livecode.com/show_bug.cgi?id=22688 


Henry


___
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: Long Standing Issue with the defaultStack

2020-04-18 Thread dunbarx--- via use-livecode
Bob.
I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I 
quit LC and open "XXX" from the desktop.
There is a single button on "XXX" that:on mouseUp   go stack"yyy"answer the 
defaultStackend mouseUp
I get "YYY"
What are you seeing?
Craig

-Original Message-
From: Bob Sneidar via use-livecode 
To: How to use LiveCode 
Cc: Bob Sneidar 
Sent: Fri, Apr 17, 2020 7:19 pm
Subject: Long Standing Issue with the defaultStack

Hi all. 

I think I have stumbled across what appears to be a bug. When I open a sub 
stack from a main stack script, the main stack remains the defaultStack. This 
is causing any number of issues with me. I have a closeStackRequest handler for 
instance that auto saves the stack. It never gets triggered because the 
closeStack message never gets sent to it! 

If I open a stack, shouldn’t THAT STACK become the default, barring modal or 
system stacks? 

MacOS Community 9.5.1

Bob S

___
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: Simple 3D animation question

2020-04-18 Thread Mark Wieder via use-livecode

On 4/18/20 6:32 AM, David Bovill via use-livecode wrote:

For Earth Day this Wendesday a few of us are working on an art piece that I 
want to use Livecode for.

As part of this event I need to create an interactive presentation and wish to 
create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in 
different dimensions.


At the risk of getting into a religious war here...
I wouldn't do this in LiveCode.

Have you seen threejs?

https://threejs.org

example:
https://threejs.org/examples/#webgl_geometry_convex

source:


--
 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: Simple 3D animation question

2020-04-18 Thread Clarence Martin via use-livecode
Cell animation by Jim Lambeert
http://livecodeshare.runrev.com/stack/857/Cel-Animation

-Original Message-
From: use-livecode  On Behalf Of David 
Bovill via use-livecode
Sent: Saturday, April 18, 2020 7:26 AM
To: How to use LiveCode 
Cc: David Bovill 
Subject: Re: Simple 3D animation question

Thanks Rick - yes an icosahedrons wireframe is quite minimal. No opacity or 
shading needed at this stage. Livecode animation of the graphic object is 
certainly fast enough. It’s acceptable smooth enough - though not ideal due to 
lack of antialiasing (I think).

I could look around for some existing Javascriot based examples and look to 
control them through do as Javascriot calls to the browser widget - but I’d 
prefer more control over layering and blend modes.

Animation engine had some simple examples. I’m not sure about anything else?
On 18 Apr 2020, 15:08 +0100, Rick Harrison via use-livecode 
, wrote:
> Hi David,
>
> How many wires in your wire animation?
>
> How fast and smooth does your rotation need to be?
>
> Is there going to be an image or writing on the side that shows up?
>
> Hmm, an icosahedron has 20 sides, so
> it’s like 20 sided dice!
>
> I just saw a web version that didn’t bother to rotate the image since 
> only one side is up. The guy did a fade to white to simulate the roll 
> and then just showed a new number on facing side.
>
> It’s a lot simpler! It would save you a lot of coding time. Especially 
> since you clearly have a looming deadline.
>
> Anytime I have tried to do an animation with LiveCode I have found it 
> to be too slow and jerky. Your mileage may vary.
>
> Good luck!
>
> Rick
>
>
>
> > On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode 
> >  wrote:
> >
> > For Earth Day this Wendesday a few of us are working on an art piece that I 
> > want to use Livecode for.
> >
> > As part of this event I need to create an interactive presentation and wish 
> > to create an icosahedrons - so a 3 dimensional hexagon - that I need to 
> > rotate in different dimensions.
> >
> > I have seen and experimented with a few examples in the past in Livecode. 
> > It only needs to be a wireframe animation using the built in graphics 
> > object fir now.
> >
> > Doors anyone have any tips / suggestions?
> > ___
> > 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: Simple 3D animation question

2020-04-18 Thread Clarence Martin via use-livecode
Check out an animation that Jim Lambert does with a scrolling group with 
images. It is really slick. He may have a posting on the LiveCode forum. In the 
mean time I will try to find a copy for you. I also believe that he showed it 
at the LiveCode Conference last year.

-Original Message-
From: use-livecode  On Behalf Of Rick 
Harrison via use-livecode
Sent: Saturday, April 18, 2020 7:07 AM
To: How to use LiveCode 
Cc: Rick Harrison 
Subject: Re: Simple 3D animation question

Hi David,

How many wires in your wire animation?

How fast and smooth does your rotation
need to be?

Is there going to be an image or writing on the side that shows up?

Hmm, an icosahedron has 20 sides, so
it’s like 20 sided dice!

I just saw a web version that didn’t bother to rotate the image since only one 
side is up.  The guy did a fade to white to simulate the roll and then just 
showed a new number on facing side.

It’s a lot simpler! It would save you a
lot of coding time.  Especially since you clearly have a looming deadline.

Anytime I have tried to do an animation
with LiveCode I have found it to be too
slow and jerky.  Your mileage may vary.

Good luck!

Rick



> On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode 
>  wrote:
> 
> For Earth Day this Wendesday a few of us are working on an art piece that I 
> want to use Livecode for.
> 
> As part of this event I need to create an interactive presentation and wish 
> to create an icosahedrons - so a 3 dimensional hexagon - that I need to 
> rotate in different dimensions.
> 
> I have seen and experimented with a few examples in the past in Livecode. It 
> only needs to be a wireframe animation using the built in graphics object fir 
> now.
> 
>  Doors anyone have any tips / suggestions?
> ___
> 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: Simple 3D animation question

2020-04-18 Thread David Bovill via use-livecode
Thanks Rick - yes an icosahedrons wireframe is quite minimal. No opacity or 
shading needed at this stage. Livecode animation of the graphic object is 
certainly fast enough. It’s acceptable smooth enough - though not ideal due to 
lack of antialiasing (I think).

I could look around for some existing Javascriot based examples and look to 
control them through do as Javascriot calls to the browser widget - but I’d 
prefer more control over layering and blend modes.

Animation engine had some simple examples. I’m not sure about anything else?
On 18 Apr 2020, 15:08 +0100, Rick Harrison via use-livecode 
, wrote:
> Hi David,
>
> How many wires in your wire animation?
>
> How fast and smooth does your rotation
> need to be?
>
> Is there going to be an image or writing
> on the side that shows up?
>
> Hmm, an icosahedron has 20 sides, so
> it’s like 20 sided dice!
>
> I just saw a web version that didn’t bother
> to rotate the image since only one side
> is up. The guy did a fade to white to
> simulate the roll and then just showed
> a new number on facing side.
>
> It’s a lot simpler! It would save you a
> lot of coding time. Especially since you
> clearly have a looming deadline.
>
> Anytime I have tried to do an animation
> with LiveCode I have found it to be too
> slow and jerky. Your mileage may vary.
>
> Good luck!
>
> Rick
>
>
>
> > On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode 
> >  wrote:
> >
> > For Earth Day this Wendesday a few of us are working on an art piece that I 
> > want to use Livecode for.
> >
> > As part of this event I need to create an interactive presentation and wish 
> > to create an icosahedrons - so a 3 dimensional hexagon - that I need to 
> > rotate in different dimensions.
> >
> > I have seen and experimented with a few examples in the past in Livecode. 
> > It only needs to be a wireframe animation using the built in graphics 
> > object fir now.
> >
> > Doors anyone have any tips / suggestions?
> > ___
> > 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: Simple 3D animation question

2020-04-18 Thread Rick Harrison via use-livecode
Hi David,

How many wires in your wire animation?

How fast and smooth does your rotation
need to be?

Is there going to be an image or writing
on the side that shows up?

Hmm, an icosahedron has 20 sides, so
it’s like 20 sided dice!

I just saw a web version that didn’t bother
to rotate the image since only one side
is up.  The guy did a fade to white to
simulate the roll and then just showed
a new number on facing side.

It’s a lot simpler! It would save you a
lot of coding time.  Especially since you
clearly have a looming deadline.

Anytime I have tried to do an animation
with LiveCode I have found it to be too
slow and jerky.  Your mileage may vary.

Good luck!

Rick



> On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode 
>  wrote:
> 
> For Earth Day this Wendesday a few of us are working on an art piece that I 
> want to use Livecode for.
> 
> As part of this event I need to create an interactive presentation and wish 
> to create an icosahedrons - so a 3 dimensional hexagon - that I need to 
> rotate in different dimensions.
> 
> I have seen and experimented with a few examples in the past in Livecode. It 
> only needs to be a wireframe animation using the built in graphics object fir 
> now.
> 
>  Doors anyone have any tips / suggestions?
> ___
> 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: Apps to fight COVID-19

2020-04-18 Thread David Bovill via use-livecode
The app looks a good start, but basic. I took a closer look at the cartoon 
images, they are quite specific, but a good base for a discussion about privacy 
issues. Not so good for an app.

My suggestion regarding taking this forwards is that we have a creative 
workshop on Earth Day this coming Weds, as part of an in-line in conference 
that we are organising with a few folk. There will be plenty of other thing to 
drop into. I’ll send some info to this list on Sunday.

It’s pretty informal, so we can organise our own breakout open space meeting 
when we like - so it should be no issue organising a Livecode workshop on 
making a CORVID-19 app.

My focus is on doing an interactive sound piece and helping convene some if the 
breakout discussions, but doing a workshop on Livecode would be a fun part of 
that.

I could do with some help though :)
On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode 
, wrote:
> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as 
> mentioned here.
>
> https://www.coronika.app/en 
>
> I say "cool", but I haven't tried it. it looks good. Should it be done better?
>
>
>
>
> > On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode 
> >  wrote:
> >
> > Meanwhile at Covid Watch there is talk of moving the provider-facing at to 
> > a web app of some sort.
> >
> > > On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode 
> > >  wrote:
> > >
> > > Jonathan Rothberg is looking for brilliant people who can code whatever 
> > > your domain.
> > >
> > >
> > > > On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode 
> > > >  wrote:
> > > >
> > > > Thanks!
> > > >
> > > >
> > > > > On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode 
> > > > >  wrote:
> > > > >
> > > > > On 4/13/20 10:14 AM, dsc--- via use-livecode wrote:
> > > > > > 1. Covid Watch needs expertise in making HIPAA compliant apps. (We 
> > > > > > have changed COVID Watch to Covid Watch.)
> > > > >
> > > > > This any help?
> > > > >
> > > > > https://www.healthcareblocks.com/hipaa/developer_guidelines
> > > > >
> > > > > --
> > > > > 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
___
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


Simple 3D animation question

2020-04-18 Thread David Bovill via use-livecode
For Earth Day this Wendesday a few of us are working on an art piece that I 
want to use Livecode for.

As part of this event I need to create an interactive presentation and wish to 
create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in 
different dimensions.

I have seen and experimented with a few examples in the past in Livecode. It 
only needs to be a wireframe animation using the built in graphics object fir 
now.

 Doors anyone have any tips / suggestions?
___
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: Android Release Requires 21 but 911 Devices Get Dropped?

2020-04-18 Thread Ralph DiMola via use-livecode
BR,

If I read the release notes correctly Android versions

4.4 (KitKat)

4.1-4.3 (Jelly Bean)

4.0 (Ice Cream Sandwich)

Are no longer supported.

Supported Android minimum version is now 5.0-5.1 (Lollipop)

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 
Sannyasin Brahmanathaswami via use-livecode
Sent: Friday, April 17, 2020 11:04 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: Android Release Requires 21 but 911 Devices Get Dropped?

What is 

"4.x" ?

 Minimum Android Version?

I did as you suggested last year, two builds

e.g
version 22 for arm v7 and arm64
version 23 for x86 and x86_64

both came in (using SDK 21) about 95MB

the last versions, (20,21) done with SDK 18 were about 70MB

the analysis did not complain about the size  of the download, only that

"Doesn't support framework version 
21 and onwards"

BR





On 4/17/20, 9:55 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

From the release notes: 4.x support is dropped. That represents 5% of all 
active installs but may be a higher percentage of devices. What architectures 
are you building for? Putting all 4 into one apk can exceed the size limits for 
some devices.

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


___
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: DataGrid table DeleteIndex

2020-04-18 Thread Bob Sneidar via use-livecode
Belay that it’s early morning and my eyes aren’t focusing well. 

DeleteIndexes

• DeleteIndexes pIndexes
• Deletes the specified indexes from the data grid. pIndexes is a comma 
delimited list of integers.

Bob S



> On Apr 18, 2020, at 6:06 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Also, tIndexes is a CR delimited list, not a COMMA delimited one. 
> http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api
> 
> Bob S
> 
> 

___
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: DataGrid table DeleteIndex

2020-04-18 Thread Bob Sneidar via use-livecode
Also, tIndexes is a CR delimited list, not a COMMA delimited one. 
http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api

Bob S


> On Apr 18, 2020, at 6:04 AM, Bob Sneidar  wrote:
> 
> The data grid does not use threads. Nothing in LC does. Did you try the 
> plural form of deleteIndex(es)? 
> 
> Bob S
> 
> 
>> On Apr 18, 2020, at 1:50 AM, Neville Smythe via use-livecode 
>>  wrote:
>> 
>> Am I doing something wrong? 
>> 
>> I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my 
>> DataGrid with tIndexes. Only the first index in my list is actually deleted. 
>> LC 9.5.1, Mac Catalina.
>> 
>> [Also, If I perform another action in the same handler as the call to delete 
>> indexes (indices please)  which modifies the content of the datagrid, it 
>> leaves the datagrid in a very strange state, which can only be recovered by 
>> hitting the Refresh DataGrid in its Property Inspector. Something to do with 
>> the timing of the row deletion not having completed I suspect, but that is 
>> another matter and may be my code. Hmm, does DataGrid use threads??]
>> 
>> Neville
> 


___
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: DataGrid table DeleteIndex

2020-04-18 Thread Bob Sneidar via use-livecode
The data grid does not use threads. Nothing in LC does. Did you try the plural 
form of deleteIndex(es)? 

Bob S


> On Apr 18, 2020, at 1:50 AM, Neville Smythe via use-livecode 
>  wrote:
> 
> Am I doing something wrong? 
> 
> I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my 
> DataGrid with tIndexes. Only the first index in my list is actually deleted. 
> LC 9.5.1, Mac Catalina.
> 
> [Also, If I perform another action in the same handler as the call to delete 
> indexes (indices please)  which modifies the content of the datagrid, it 
> leaves the datagrid in a very strange state, which can only be recovered by 
> hitting the Refresh DataGrid in its Property Inspector. Something to do with 
> the timing of the row deletion not having completed I suspect, but that is 
> another matter and may be my code. Hmm, does DataGrid use threads??]
> 
> Neville


___
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


DataGrid table DeleteIndex

2020-04-18 Thread Neville Smythe via use-livecode
Am I doing something wrong? 

I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my 
DataGrid with tIndexes. Only the first index in my list is actually deleted. LC 
9.5.1, Mac Catalina.

[Also, If I perform another action in the same handler as the call to delete 
indexes (indices please)  which modifies the content of the datagrid, it leaves 
the datagrid in a very strange state, which can only be recovered by hitting 
the Refresh DataGrid in its Property Inspector. Something to do with the timing 
of the row deletion not having completed I suspect, but that is another matter 
and may be my code. Hmm, does DataGrid use threads??]

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