AW: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Tiemo Hollmann TB
Thank you Fraser for your explanations Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Fraser Gordon Gesendet: Montag, 6. Juni 2016 17:45 An: How to use LiveCode Betreff: Re: LC 8 Random crash with QT set the filename of play

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread Jim Lambert
>Scott Rossi wrote >> I'm trying to snapshot the card because I want >> to capture multiple objects/groups that are present in a designated >>rect, Import snapshot from this card then Crop the last image to somerect where somerect is your “designated rect” will that give you what you want withou

Forcing redraw of a LC window

2016-06-06 Thread [-hh]
I remember some discussions here about screen refresh and how to force the redraw of a (possibly resized) LC window. I recently found a method that works all the time for me, even for cards that are 'overloaded' in some sense. I couldn't find it mentioned until now, so I should share it. I use it

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread [-hh]
Yet another option could be: [1] Shift each control down and right, so that the negative coords become non-negative and enlarge also the stack size so that the rectangle fits into the stack window (and hide img X) [2] Take your snapshot from the 'shifted' rect to img X. I use 'export snapshot from

Re: Cubist's first bug report

2016-06-06 Thread Mark Wieder
Peter TB Brett writes: > Just to be entirely clear -- this is not a problem with the LiveCode > script parser. It's working just fine. > > The problem lies in the way that chunk expressions are handled when the > script is _running_, i.e. during execution. Er... yes... sorry, that's what I r

Re: Cubist's first bug report

2016-06-06 Thread Peter TB Brett
On 06/06/2016 22:32, Mark Wieder wrote: Mark- Thanks so much for adding insight to this discussion. You raise some very interesting points here. And I realize the parser is the problem here, so I'd only add that Just to be entirely clear -- this is not a problem with the LiveCode script pars

Re: Cubist's first bug report

2016-06-06 Thread Mark Wieder
Mark- Thanks so much for adding insight to this discussion. You raise some very interesting points here. And I realize the parser is the problem here, so I'd only add that function addOneToIndex add 1 to sIndex return sIndex end function would be an error in functional progr

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread Scott Rossi
Another possible option -- thanks Bernd :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/6/16, 1:31 PM, "use-livecode on behalf of BNig" wrote: >Scott, > >I don't know of any way to designate multiple objects for one snapshot. > >Maybe instead of rearranging the o

Re: "Review: LiveCode 8 is freaking incredible"

2016-06-06 Thread Mark Wieder
Richard Gaskin writes: > > Bryan Lunduke is rather impressed with LiveCode 8.0: > > > Uh-oh. Next we'll have a conference session titled "LC8 sucks" https://www.youtube.com/w

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread BNig
Scott, I don't know of any way to designate multiple objects for one snapshot. Maybe instead of rearranging the objects then relayer etc. you could make multiple snapshots that you place relative to each other in a temporary (invisible) group and then snapshot the group? You could probably even u

"Review: LiveCode 8 is freaking incredible"

2016-06-06 Thread Richard Gaskin
Bryan Lunduke is rather impressed with LiveCode 8.0: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ___

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread Scott Rossi
Thanks for the idea Bernd. I'm trying to snapshot the card because I want to capture multiple objects/groups that are present in a designated rect, along with the card background pattern (where theRect includes negative values). export snapshot from rect theRect of this cd at size 120,120 to img

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread Earthednet-wp
Scott, The important thing to recognize is that if you specify the rect in the snapshot command, you are essentially getting the data from the screenshot, but if you take a snapshot from a group, you get the data before it goes to the screen, where it exists in memory. I had a situation where

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread BNig
Hi Scott, what happens if you reference the object directly: on mouseUp export snapshot from field 1 of group 1 to tImg as png set the text of image 1 to tImg put the rect of field 1 of group 1 end mouseUp or on mouseUp import snapshot from field 1 of group 1 put the rect of fi

Card SnapShot from Negative Rect?

2016-06-06 Thread Scott Rossi
Anyone know how to snapshot a rect location of a card that includes negative values? In LC 7.1.3, I have an object in a group that's scrolled out of view, resulting in the object's rect having negative values. I want to snapshot the object, but I'm unable to snapshot any part of the card outside

Old RR user becoming new LC user...

2016-06-06 Thread j...@omnia.on-rev.com
Using the community build 8.1.0. Going through the initial video building a BMI calculator and the tutorial hung on "set the BG colour" of the round rect button and stopped... Can't get it to restart... All very interesting. Like retaking my diver certification... Think local. Act local. H

Element as @ parameter (was Re: Cubist's first bug report)

2016-06-06 Thread dsc
I tried to make LiveCode crash fiddling with side-effects using this. So far, I have not been able to. As most of us have come to realize; there are some very smart people in Scotland. This is a very handy feature. I usually use a functional style (using lots of simple, pure functions) but

Re: Cubist's first bug report

2016-06-06 Thread Dar Scott
> On Jun 6, 2016, at 11:06 AM, Mark Waddingham wrote: > > variable sIndex > > command whatShouldThisDo? sInput >add char sIndex of line addOneToIndex() of sInput to tSum > end command > > function addOneToIndex >add 1 to sIndex >return sIndex > end function My eyes see sIndex

Re: Cubist's first bug report

2016-06-06 Thread Dar Scott
> On Jun 6, 2016, at 11:06 AM, Mark Waddingham wrote: > > This is because we changed the way that array subscripting operations work > then they are used as a container (i.e. read/write) so that the 'path' to the > element is only evaluated once. A side-effect of this was that we were able >

Re: Cubist's first bug report

2016-06-06 Thread Mark Waddingham
Hi Quentin, I just thought I'd sum up the situation with this bug and provide a little more explanation. On 2016-06-05 16:12, Quentin Long wrote: ... This handler *should* end up generating a 16-item string of integers which sum to exactly 100. What it *actually does* end up generating, is a

Re: Cubist's first bug report

2016-06-06 Thread Lagi Pittas
Hi Just read further back through the thread and looks like Monte has a handle on it I’ve taken a little look into it and yes it does appear the chunk is being > evaluated twice: Add left to right > - get value to add by and evaluate chunk if any > - get destination value and evaluate chunk if an

Re: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Fraser Gordon
On 6 Jun 2016, at 10:08, Tiemo Hollmann TB wrote: > I filed a bug report, but I could reproduce it only in my complex live stack > and not in a test stack with a handy recipe. > It is LC 8.0 and yes it is QT. I know about all the QT hassles and have > waited for years for a solution from Edinb

[ANN] This Week in LiveCode 36

2016-06-06 Thread Peter TB Brett
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #36 here: https://goo.gl/q3p18P This is a weekly newsletter about LiveCode, focussing on what's been going on in and arou

Re: Feature Exchange any one?

2016-06-06 Thread Ali Lloyd
Thanks very much! On Mon, Jun 6, 2016 at 1:18 PM Paul Dupuis wrote: > On 6/6/2016 3:37 AM, Ali Lloyd wrote: > > Paul, since I have committed the datagrid docs on your behalf, qould you > > mind signing the contributor licence agreement please? > > > > http://livecode.com/store/account/contributo

Re: Cubist's first bug report

2016-06-06 Thread Lagi Pittas
HI It looks to me that the ANY command/function is reusing a global variable of some type or if there is an optimizing stage it is reusing the "register" whether in the bytecode interpreter instructions or the bytecode interpreter per se. The larger the number the items reach a limit which I would

Re: Feature Exchange any one?

2016-06-06 Thread Paul Dupuis
On 6/6/2016 3:37 AM, Ali Lloyd wrote: > Paul, since I have committed the datagrid docs on your behalf, qould you > mind signing the contributor licence agreement please? > > http://livecode.com/store/account/contributor-agreement-signup Done. ___ use-l

Re: Fun (was Re: Cubist's first bug report)

2016-06-06 Thread Terence Heaford
> On 6 Jun 2016, at 06:33, Monte Goulding wrote: > > Hmm… certainly an interesting idea: > > put 1,2,3 into tVar > myAdd 5, item 3 of tVar > > command myAdd pToAdd, @xAddTo > put pToAdd+xAddTo into xAddTo > end myAdd > > tVar = 1,2,8 > > I doubt we should get our hopes up Dar ;-) > > Of c

AW: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Tiemo Hollmann TB
Hi Phil, AHHH! I have a 64 bit machine with OS X 10.11, but my LC program runs under 32 bit. Interesting to know. What does that QT note not now means? Has the user a choice or option, how his programs will be executed? Are there already machines or systems which don't support the 32 bit mode an

LC 8 window resize not possible on W7

2016-06-06 Thread Tiemo Hollmann TB
Hello, I have a new LC 8 program, launched by a splash stack, hiding the splash stack and going to the "main program". The mainstack of the "main program" has set "resizable" to true (with a min width and min height). Resizing works fine on my W10 and W8 and OS X machine. Now I found a W7 Sony Va

Re: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Phil Jimmieson
Hi Tiemo, if you start Apple's Activity Monitor application (it's in the utilities folder) and choose "all processes" , the information displayed includes whether or not the process is 64 bit or 32 bit (it's the column labelled "kind" - If your rows don't include that column, then right click a

AW: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Tiemo Hollmann TB
Hi Thierry, yes, according to that table I have a 64 bit machine with an intel i5. But Monte pointed out that QT is not supported by 64 bit machines. But it runs on my machine? Why? And I have not had any customer, whre my program with QT would not have run? Thanks Tiemo -Ursprüngliche Nac

Re: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Thierry Douez
Hi Tiemo, From Apple docs: Intel Core Solo 32 bits Intel Core Duo 32 bits Intel Core 2 Duo 64 bits Intel Quad-Core Xeon 64 bits Dual-Core Intel Xeon 64 bits Quad-Core Intel Xeon 64 bits Core i3 64 bits Core i5 64 bits Core i7 64 bits ( Dernière modification: 18 mars 2015) "> -Where can I c

AW: LC 8 Random crash with QT set the filename of player on OS X

2016-06-06 Thread Tiemo Hollmann TB
Hi Monte, I filed a bug report, but I could reproduce it only in my complex live stack and not in a test stack with a handy recipe. It is LC 8.0 and yes it is QT. I know about all the QT hassles and have waited for years for a solution from Edinburgh. My main product includes about 2 videos

Re: Feature Exchange any one?

2016-06-06 Thread Ali Lloyd
Paul, since I have committed the datagrid docs on your behalf, qould you mind signing the contributor licence agreement please? http://livecode.com/store/account/contributor-agreement-signup On Mon, Jun 6, 2016 at 4:40 AM Paul Dupuis wrote: > On 6/5/2016 7:17 PM, Monte Goulding wrote: > >> On 6