Re: livecode website templates

2016-03-06 Thread Phil Davis

Templates, no. Framework, yes:

http://revigniter.com/

Phil Davis



On 3/6/16 10:11 PM, Matt Maier wrote:

Does anyone know of any website templates that use Livecode? I want to set
up a basic file hosting/sharing thing with logins. I've got space in what
used to be the on-rev servers and it would be nice to continue using
livecode on the web like I use it on the desktop.
___
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



--
Phil Davis


___
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


livecode website templates

2016-03-06 Thread Matt Maier
Does anyone know of any website templates that use Livecode? I want to set
up a basic file hosting/sharing thing with logins. I've got space in what
used to be the on-rev servers and it would be nice to continue using
livecode on the web like I use it on the desktop.
___
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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
Thanks Monte,

I will look at those things. Great advice :)

On Sun, Mar 6, 2016 at 9:12 PM, Jonathan Lynch 
wrote:

> This is for processing high-definition images that are composited and
> printed, so I really have to work with high image qualities. Also, I am
> working through the imagedata, which is a string of characters, rather than
> the content of the image. In that sense, the starting format of the image
> is not entirely relevant. The size of the image is quite relevant. The data
> within each image is set to have four times the horizontal and vertical
> resolution of the screen.
>
> On Sun, Mar 6, 2016 at 8:23 PM, Simon  wrote:
>
>> Jonathan Lynch wrote
>> > ...but it still requires looking at every single pixel and checking to
>> > see if the colors are within a certain range.
>>
>> I'm way out of my league here but...
>> Doesn't lossy jpeg compression make assumptions about 2 pixels next to
>> each
>> other?
>> (pseudo)
>> if pixel 1,1 = green
>> skip pixel 1,2
>> is pixel 1,3 green
>> etc.
>> That would increase the speed by lots I'd think.
>> Of course it is lossy.
>>
>> Simon
>>
>>
>>
>> --
>> View this message in context:
>> http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-tp4702071p4702079.html
>> Sent from the Revolution - User mailing list archive at Nabble.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
>>
>
>
>
> --
> Do all things with love
>



-- 
Do all things with love
___
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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
This is for processing high-definition images that are composited and
printed, so I really have to work with high image qualities. Also, I am
working through the imagedata, which is a string of characters, rather than
the content of the image. In that sense, the starting format of the image
is not entirely relevant. The size of the image is quite relevant. The data
within each image is set to have four times the horizontal and vertical
resolution of the screen.

On Sun, Mar 6, 2016 at 8:23 PM, Simon  wrote:

> Jonathan Lynch wrote
> > ...but it still requires looking at every single pixel and checking to
> > see if the colors are within a certain range.
>
> I'm way out of my league here but...
> Doesn't lossy jpeg compression make assumptions about 2 pixels next to each
> other?
> (pseudo)
> if pixel 1,1 = green
> skip pixel 1,2
> is pixel 1,3 green
> etc.
> That would increase the speed by lots I'd think.
> Of course it is lossy.
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-tp4702071p4702079.html
> Sent from the Revolution - User mailing list archive at Nabble.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
>



-- 
Do all things with love
___
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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Monte Goulding

> On 7 Mar 2016, at 10:36 AM, Jonathan Lynch  wrote:
> 
> I will try to find a way, though. I am just hoping for advice so that I can
> avoid any more blind alleys.

The documentation is quite sparse for externals, however, I think that’s the 
way you will need to go to get the speed you need. There are more examples 
online now than there ever have been so I would start by reviewing the source 
of the externals in the LC repo and then look at those in my account and if you 
search GitHub for LiveCode I’m sure others will pop up like the SSH external.

I have a couple of externals that mess with imageData and they can be quite 
quick although they are only used in screen resolutions so if you have very 
large images that will slow them down obviously. Depending on what you are 
doing though I might be inclined to look at an OpenCV external. I believe with 
OpenCV you can green screen live camera feeds so it’s pretty fast.

Cheers

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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Simon
Jonathan Lynch wrote
> ...but it still requires looking at every single pixel and checking to
> see if the colors are within a certain range.

I'm way out of my league here but...
Doesn't lossy jpeg compression make assumptions about 2 pixels next to each
other?
(pseudo)
if pixel 1,1 = green 
skip pixel 1,2
is pixel 1,3 green
etc.
That would increase the speed by lots I'd think.
Of course it is lossy.

Simon



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-tp4702071p4702079.html
Sent from the Revolution - User mailing list archive at Nabble.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: [OT] An XFCE launcher that will hide behind Livecode standalones

2016-03-06 Thread [-hh]
Why don't you write a stack, that has a launch button for each standalone, and 
minimizes to a small square at topRight after each launch?

___
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: Playing movies

2016-03-06 Thread tbodine
Hi, Bill.

Seems the whole LC community is in a state of frustration regarding this. 

But one minimal method I find works to play an online movie is to embed a
movie url in a LC field with the linkStyle set to "link". 

Then add to your stack a script...

on linkClicked pLink
 launch url pLink
end linkClicked

(Fine print: linkClicked does not work except in Browse mode, the field must
be locked and it must have its listBehavior property set to false.)

I don't know of a way to find out from the browser when the movie has
finished, so I wait for the resumeStack message to fire indicating the user
has returned and, presumably, the movie is done.

If you prefer an icon to a text link, perhaps you can embed a graphic in the
field and link from that. (I haven't tried that, but you get extra credit if
you make it work!)

HTH,
Tom B.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Playing-movies-tp4702069p4702077.html
Sent from the Revolution - User mailing list archive at Nabble.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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Phil Davis

Jonathan,

I see I am out of my league here. I'm sure others can give good advice 
however - this list is read by a lot of very smart people.


Phil


On 3/6/16 3:36 PM, Jonathan Lynch wrote:

A green-screen extraction on a large image requires millions of
calculations. I am not using a flood-fill based extraction, so that helps a
bit, but it still requires looking at every single pixel and checking to
see if the colors are within a certain range. I want to improve the
algorithm, so that it uses both a color-range comparison and a hue
comparison. Colors that are outside of the color-range comparison but
within the hue comparison probably have splashback from the green screen,
and I could remove some of the green from those pixels - maybe cut the
green component of the pixel in half or something like that.

So, well, that is a whole ton of calculations right there. I really worked
to optimize it in LC, but those optimizations only made a small difference.
An interpreted language would be very unlikely to come close in speed on
raw numerical comparisons like that. From what I understand, even LCB is
more like Java than like C++, so it might be a bit faster than LC, but not
in the range I need. Don't quote me on that.

In general, LC is supposed to be able to to be extended with externals. In
practical terms, this means it should work with the current version of
Visual Studio. I don't have much C++ experience. I was hoping to just
trudge through setting up the external so that I could focus on the
algorithm. Instead, I could not even use the tutorial.

I will try to find a way, though. I am just hoping for advice so that I can
avoid any more blind alleys.

Thanks,

J



On Sun, Mar 6, 2016 at 5:49 PM, Roland Huettmann  wrote:


Hi Jonathan,

I would start by seeing if your LC code can be optimized so the time it
takes per screen is acceptable. There are many small changes a person
can sometimes make to code that causes dramatic speed increases.

Or is the bulk of the time spent in areas LC can't address natively?
Maybe that's why you want to go toward an external.

Thanks -
Phil Davis


On 3/6/16 1:55 PM, Jonathan Lynch wrote:

Hello fellow LiveCoders,

I need to write an external and it needs to be fast. It is for

extracting

images from a green screen. I wrote a good algorithm for this in

LiveCode,

but it takes 20-30 seconds to handle all of the data processing. I want

to

use C++ for speed advantages.

I tried following the desktop externals tutorial that LiveCode uses,

but

it

seems that the external generator that LiveCode offers does not work
properly with Visual Studio 2015.

Should I try to find a free version of VS 2010? Should I try to fix the

C++

library files so that they work with VS 2015? Is there some other very

fast

compiled language, like Fortran, that I should try?

I welcome any advice on how to do this.

Thanks,

Jonathan




--
Phil Davis


___
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






--
Phil Davis


___
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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
A green-screen extraction on a large image requires millions of
calculations. I am not using a flood-fill based extraction, so that helps a
bit, but it still requires looking at every single pixel and checking to
see if the colors are within a certain range. I want to improve the
algorithm, so that it uses both a color-range comparison and a hue
comparison. Colors that are outside of the color-range comparison but
within the hue comparison probably have splashback from the green screen,
and I could remove some of the green from those pixels - maybe cut the
green component of the pixel in half or something like that.

So, well, that is a whole ton of calculations right there. I really worked
to optimize it in LC, but those optimizations only made a small difference.
An interpreted language would be very unlikely to come close in speed on
raw numerical comparisons like that. From what I understand, even LCB is
more like Java than like C++, so it might be a bit faster than LC, but not
in the range I need. Don't quote me on that.

In general, LC is supposed to be able to to be extended with externals. In
practical terms, this means it should work with the current version of
Visual Studio. I don't have much C++ experience. I was hoping to just
trudge through setting up the external so that I could focus on the
algorithm. Instead, I could not even use the tutorial.

I will try to find a way, though. I am just hoping for advice so that I can
avoid any more blind alleys.

Thanks,

J



On Sun, Mar 6, 2016 at 5:49 PM, Roland Huettmann  wrote:

> But I would also appreciate a reply, maybe from Peter, which is of general
> interest to all of us.
>
> Optimizing is one possibility, then the question about what would LC
> Builder accomplish, and then C++, if nothing else does the job fast enough?
>
> I am thinking about some optimisation algorithms which are already
> available in C++ and would probably execute not well enough in LCS.
>
> Roland
>
> On Sun, Mar 6, 2016, 23:10 Phil Davis  wrote:
>
> > Hi Jonathan,
> >
> > I would start by seeing if your LC code can be optimized so the time it
> > takes per screen is acceptable. There are many small changes a person
> > can sometimes make to code that causes dramatic speed increases.
> >
> > Or is the bulk of the time spent in areas LC can't address natively?
> > Maybe that's why you want to go toward an external.
> >
> > Thanks -
> > Phil Davis
> >
> >
> > On 3/6/16 1:55 PM, Jonathan Lynch wrote:
> > > Hello fellow LiveCoders,
> > >
> > > I need to write an external and it needs to be fast. It is for
> extracting
> > > images from a green screen. I wrote a good algorithm for this in
> > LiveCode,
> > > but it takes 20-30 seconds to handle all of the data processing. I want
> > to
> > > use C++ for speed advantages.
> > >
> > > I tried following the desktop externals tutorial that LiveCode uses,
> but
> > it
> > > seems that the external generator that LiveCode offers does not work
> > > properly with Visual Studio 2015.
> > >
> > > Should I try to find a free version of VS 2010? Should I try to fix the
> > C++
> > > library files so that they work with VS 2015? Is there some other very
> > fast
> > > compiled language, like Fortran, that I should try?
> > >
> > > I welcome any advice on how to do this.
> > >
> > > Thanks,
> > >
> > > Jonathan
> > >
> > >
> > >
> >
> > --
> > Phil Davis
> >
> >
> > ___
> > 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
>



-- 
Do all things with love
___
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


[OT] An XFCE launcher that will hide behind Livecode standalones

2016-03-06 Thread RM

The XFCE panels always are "in front of" any programs launched.

I have a problem in my school in that the computers now contain about 
120 standalones
[and more on the way] that I have authored for ESL teaching purposes: 
but I really don't

want to either:

1. Spend ages drilling down through folders for each pupil to launch a 
standalone.


2. Have the pupils spend ages drilling down through folders for each 
pupil to launch a standalone.


To that end I need a launcher that covers the whole screen [and, NO, I 
don't want buckets of symbolic links on the actual desktop as pupils can 
mess those about], that, when a standalone is launched will NOT

cover the standalone.

Richmond.

___
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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Roland Huettmann
But I would also appreciate a reply, maybe from Peter, which is of general
interest to all of us.

Optimizing is one possibility, then the question about what would LC
Builder accomplish, and then C++, if nothing else does the job fast enough?

I am thinking about some optimisation algorithms which are already
available in C++ and would probably execute not well enough in LCS.

Roland

On Sun, Mar 6, 2016, 23:10 Phil Davis  wrote:

> Hi Jonathan,
>
> I would start by seeing if your LC code can be optimized so the time it
> takes per screen is acceptable. There are many small changes a person
> can sometimes make to code that causes dramatic speed increases.
>
> Or is the bulk of the time spent in areas LC can't address natively?
> Maybe that's why you want to go toward an external.
>
> Thanks -
> Phil Davis
>
>
> On 3/6/16 1:55 PM, Jonathan Lynch wrote:
> > Hello fellow LiveCoders,
> >
> > I need to write an external and it needs to be fast. It is for extracting
> > images from a green screen. I wrote a good algorithm for this in
> LiveCode,
> > but it takes 20-30 seconds to handle all of the data processing. I want
> to
> > use C++ for speed advantages.
> >
> > I tried following the desktop externals tutorial that LiveCode uses, but
> it
> > seems that the external generator that LiveCode offers does not work
> > properly with Visual Studio 2015.
> >
> > Should I try to find a free version of VS 2010? Should I try to fix the
> C++
> > library files so that they work with VS 2015? Is there some other very
> fast
> > compiled language, like Fortran, that I should try?
> >
> > I welcome any advice on how to do this.
> >
> > Thanks,
> >
> > Jonathan
> >
> >
> >
>
> --
> Phil Davis
>
>
> ___
> 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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Phil Davis

Hi Jonathan,

I would start by seeing if your LC code can be optimized so the time it 
takes per screen is acceptable. There are many small changes a person 
can sometimes make to code that causes dramatic speed increases.


Or is the bulk of the time spent in areas LC can't address natively? 
Maybe that's why you want to go toward an external.


Thanks -
Phil Davis


On 3/6/16 1:55 PM, Jonathan Lynch wrote:

Hello fellow LiveCoders,

I need to write an external and it needs to be fast. It is for extracting
images from a green screen. I wrote a good algorithm for this in LiveCode,
but it takes 20-30 seconds to handle all of the data processing. I want to
use C++ for speed advantages.

I tried following the desktop externals tutorial that LiveCode uses, but it
seems that the external generator that LiveCode offers does not work
properly with Visual Studio 2015.

Should I try to find a free version of VS 2010? Should I try to fix the C++
library files so that they work with VS 2015? Is there some other very fast
compiled language, like Fortran, that I should try?

I welcome any advice on how to do this.

Thanks,

Jonathan





--
Phil Davis


___
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


I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-06 Thread Jonathan Lynch
Hello fellow LiveCoders,

I need to write an external and it needs to be fast. It is for extracting
images from a green screen. I wrote a good algorithm for this in LiveCode,
but it takes 20-30 seconds to handle all of the data processing. I want to
use C++ for speed advantages.

I tried following the desktop externals tutorial that LiveCode uses, but it
seems that the external generator that LiveCode offers does not work
properly with Visual Studio 2015.

Should I try to find a free version of VS 2010? Should I try to fix the C++
library files so that they work with VS 2015? Is there some other very fast
compiled language, like Fortran, that I should try?

I welcome any advice on how to do this.

Thanks,

Jonathan



-- 
Do all things with love
___
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: Playing movies

2016-03-06 Thread William Prothero
By the way, I note that the dictioary mentions Quicktime VR. I thought that was 
completely gone. I have some Quicktime VR movies that could be nice to include 
in my current work, but no use putting them in if it’sat EOL or defunct.
Best,
Bill

> On Mar 6, 2016, at 12:42 PM, William Prothero  wrote:
> 
> Folks:
> There has been discussion about a movie player being updated on the list. My 
> question is: how should I play a simple movie in a livecode standalone? I 
> don’t want to be dependent on Quicktime as I understand it is going obsolete 
> and Windows users would need to download Quicktime. 
> 
> At least, I could play it in a browser window, but I wonder what’s the latest 
> and greatest way?
> 
> Best,
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> 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

Playing movies

2016-03-06 Thread William Prothero
Folks:
There has been discussion about a movie player being updated on the list. My 
question is: how should I play a simple movie in a livecode standalone? I don’t 
want to be dependent on Quicktime as I understand it is going obsolete and 
Windows users would need to download Quicktime. 

At least, I could play it in a browser window, but I wonder what’s the latest 
and greatest way?

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
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: Release 6.7.10 RC 1 / 7.1.3 RC 1

2016-03-06 Thread [-hh]
Quoted from
http://forums.livecode.com/viewtopic.php?p=96928#p96928

"LC-IDEs for the RaspberryPi are available HERE (downloads.livecode.com)
Thanks to Fraser Gordon from LC-staff.
• LC 6.5.1 (fast, scroll download-page to bottom)
• LC 7.0.4 (slower, but fully implemented Unicode-stuff)
For installing and handling some problems see the 'FAQs' of this sub-forum."
___
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: Release 6.7.10 RC 1 / 7.1.3 RC 1

2016-03-06 Thread Thomas von Fintel
LC 6.5.1 for the Raspberry Pi seems no longer available via the 
downloads.livecode.com.
Does anyone have a link to the installer?

TIA
Thomas


Am 05.03.2016 um 21:36 schrieb [-hh]:

>> Richard G. wrote:
>> .. results more or less confirmed here
> 
>> Task (=1 x mouseUp): 100 repeats of find the minimum of 1000 integers
>> 
>> Mac (Mac mini, i5-2.5GHz, dualC)
>> Version: replaceText - replace - min() - sort
>> 6.7.10-rc1: 0.30 - 0.07 - 0.06 - 0.21 (worst timing of 10 x mouseUp)
>> 7.1.3 -rc1: 1.78 - 4.43 - 1.38 - 0.95 (best  timing of 10 x mouseUp)
>> 8.0.0-dp15: 1.94 - 4.69 - 1.49 - 0.94 (best  timing of 10 x mouseUp)
> 
> Today I succeeded in running LC on Raspi 3 (using Ubuntu 15.10. MATE),
> so I couldn't help to run these tests also on Raspi 2/3:
> 
> RaspberryPi 2 B (800 MHz x4) 
> Version: replaceText - replace - min() - sort
> 6.5.1:  3.13 -  0.73 -  0.68 - 1.61 (average timing of 10 x mouseUp)
> 7.0.4: 15.53 - 34.38 - 11.23 - 7.41 (average timing of 10 x mouseUp)
> 
> RaspberryPi 3 B (1.2 GHz x4) 
> 6.5.1:  2.49 -  0.43 -  0.40 - 1.04 (average timing of 10 x mouseUp)
> 7.0.4: 10.29 - 19.54 -  6.64 - 4.76 (average timing of 10 x mouseUp)
> 
> Perhaps one can now understand, that I 'wasted' a full day to look for
> a configuration that runs LC 6 on this great 40 Euro computer (RasPi 3).
> 
> Once again: For the minimum function min() is LC 6.5. on both RaspPis
> at least twice faster than LC 7/8 on a Mac mini.
> Very impressing ...
> 
> 
> ___
> 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


Script Editor window closing inconveniently

2016-03-06 Thread RM

When a script editor window opens when there is a script execution error I 
would expect it to REMAIN OPEN when
the BLUE SQUARE is clicked to acknowledge the fact, so that the programmer can 
edit the script.

Instead of this, on clicking the blue square the script editor window closes, 
meaning that the programmer has
to open the window again to modify the script.

BUG  17076

Richmond.


___
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: Target controls on a card that are *not* part of a placed groups

2016-03-06 Thread Dr. Hawkins
On Sat, Mar 5, 2016 at 10:57 PM, Charles Warwick <
char...@techstrategies.com.au> wrote:

> You can get a list of the shared groups that are being used on a card by
> using "get the sharedGroupNames of card xxx".
>

Is it reliable?  The undocumented function for unplaced groups produces
both false positives and false negatives.


>
> For buttons that aren't in groups, the owner will be the card.  If they
> are in a group, the owner of the button will be the group they are in.
>

repeat with i = the number of buttons on this card down to 1

if word 1 of the name of button i of this card is not "card" then next
repeat

--do stuff to the button

end repeat



By counting down instead of up, you can delete the button without messing
with your loop, if that is indeed what you want to do based upon the tests
in do stuff
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


Swollen Fruit

2016-03-06 Thread RM

I have just been looking at several Dorling-Kindersley CDs for Mac OS 8 from
the mid 1990s (that's another reason why I run "Classic Mac OS" on 
several machines)
and noticed a useful visual effect: when a user runs their mouse over a 
series of
images one of them (the target image) becomes both larger and more 
colourful

so that it stands out from the other images>

This is NOT rocket science, but it is useful, especially in the context 
of educational

stuff:

http://forums.livecode.com/viewtopic.php?f=25=26741

Richmond.

___
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