Re: replaceText problem

2015-01-07 Thread Geoff Canyon
On Tue, Jan 6, 2015 at 12:41 PM, J. Landman Gay wrote: > I know of one person who uses it in scripts. I find that difficult to read > and debug. > Unless you're already thinking of me, you know two. I will *very* occasionally do something like: put 10 into X; put 20 into Y _

Re: Licensing

2015-01-07 Thread Mark Wieder
Kevin- Wednesday, January 7, 2015, 9:43:04 AM, you wrote: > It is worth pointing out that the step here, not possible in these other > tools, involved assigning that plugin a different license using the > Commercial edition of the software. If you are purely in the Community > ecosystem and want

Re: Licensing

2015-01-07 Thread Mark Wieder
Pete- Wednesday, January 7, 2015, 9:30:20 AM, you wrote: > In fact, I remember discussions on the list before the Community Edition > days about the need for tools developers to provide an option to purchase > the source code so the tools users felt comfortable in being able to > support the prod

Re: replaceText problem

2015-01-07 Thread Mark Wieder
Jacque- Tuesday, January 6, 2015, 8:36:43 PM, you wrote: > On 1/6/2015 9:58 PM, Mark Wieder wrote: >> Then in your traceBreak function you can parse it and do what you >> like. > No, no. In YOUR tracebreak function. I don't mess around in there, it's > too scary. You're the brave daredevil. We

Re: replaceText problem

2015-01-07 Thread Mark Wieder
Bob- Wednesday, January 7, 2015, 12:58:48 PM, you wrote: > The Jacqueline Landman Gay of the future uses them extensively in > her Time Travel Stack. If you don’t figure it out soon you will > never find your socks. I have enough trouble finding them as it is. -- -Mark Wieder ahsoftw...@gmail

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread William Prothero
Colin: I tried doing that and it didn’t change anything. Oddly, the image seems to be slightly blurred too. Black boundaries on boxes (in my test app) get larger. Bill > On Jan 7, 2015, at 5:43 PM, Colin Holgate wrote: > > There’s this tip in the screen gamma help, which could affect things: >

Re: Geometry Manager

2015-01-07 Thread Peter Haworth
Ah yes, should have thought of that. Was looking for an on/off checkbox in the GM. Thanks Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Jan 7, 2015 at 5:50 PM, Paul Hibb

Re: Geometry Manager

2015-01-07 Thread Paul Hibbert
Pete, You can turn off messages, or temporarily add an empty resizeStack handler to the top of the stack script. on resizeStack -- do nothing! end resizeStack Paul > On Jan 7, 2015, at 5:39 PM, Peter Haworth wrote: > > I'm working on someone else's stack that uses GM. Is there some way to

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread Colin Holgate
There’s this tip in the screen gamma help, which could affect things: To force LiveCode to re-decompress a PNG image without leaving the card, put the image into itself: set the screenGamma to 2.2 put image “Test PNG” into image “Test PNG” > On Jan 7, 2015, at 8:37 PM, William Prothero wrote:

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread Colin Holgate
What was your first thought, I didn’t see a previous reply to me. Not sure why it’s correct in 64 bit systems, but my thinking is that screengamma controls how PNGs are shown, and a snapshot isn’t a PNG, it’s just the raw data. Messing with the screengamma value might have made the PNG version

Geometry Manager

2015-01-07 Thread Peter Haworth
I'm working on someone else's stack that uses GM. Is there some way to disable it so I can resize the stack without all the controls on it resizing? Other than removing all the GM settings for all the controls. Pete lcSQL Software Home of lcStackBrowser

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread William Prothero
Peter: I tried that and it made no difference. Since I’m not exporting it to a file, but to another image, I wouldn’t expect it to. Best, Bill > On Jan 7, 2015, at 3:45 PM, Peter Haworth wrote: > > On Wed, Jan 7, 2015 at 2:51 PM, William Prothero > wrote: > >> export snapshot from rect snapR

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread William Prothero
Colin; On second thought, I think this is a bug, or at least an incomplete implementation of the snapshot command. The snapshot should look like the image that it’s capturing, when displayed on the same monitor and system. After all, the screen gamma would affect the displayed and captured image

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread William Prothero
Colin; On second thought, I think this is a bug, or at least an incomplete implementation of the snapshot command. The snapshot should look like the image that it’s capturing, when displayed on the same monitor and system. After all, the screen gamma would affect the displayed and captured image

Re: iconGravity

2015-01-07 Thread Kay C Lan
I can't seem to find this in the Object Inspector, is it only available via script? If so, maybe a QCC entry to have it added to the Object Inspector otherwise this is sure to remain a hidden gem. On Thu, Jan 8, 2015 at 7:05 AM, Devin Asay wrote: > > On Jan 7, 2015, at 2:58 PM, J. Landman Gay >

Re: Playing Flash Video crashes revbrowserCEF

2015-01-07 Thread William Prothero
Folks: Looks like, for now, my only option is to store the movie as an mp4 and put it on some server that supports that format. I didn’t want to serve all of that video on my server, but I may have to. Regards, Bill > On Jan 7, 2015, at 12:49 PM, William Prothero wrote: > > Folks: > I’m tryin

Re: mobile input field

2015-01-07 Thread Eric Corbett
Thanks Rick, What I ended up trying is this: on inputTextChanged, I get the mobile field value, strip out any non numeric characters, and the set the text of the field to the new value. This unexpectedly works without first seeing the character in the field. - E On Jan 7, 2015, at 3:53 PM,

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-07 Thread J. Landman Gay
On 1/7/2015 4:03 PM, J. Landman Gay wrote: On 1/7/2015 3:02 PM, Bob Sneidar wrote: I’ve been using command-[ and ] to move controls up and down one at a time whilst watching where they end up in the App Browser. Well I'll be damned. I had no idea you could do that. I don't think I've ever seen

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread Colin Holgate
Try setting the screengamma value, say to 2.2. ___ 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: mobile input field

2015-01-07 Thread Rick Harrison
Hi Eric, Users may type anything they want into a field, and it is up to the programmer to make sure that the type of data is accepted (or valid) if possible. Use a text field for the input, and then process the text to see if it is valid numeric data. If so, you are good, if not, you have to t

Re: Snapshot working poorly in Windows, crappy results

2015-01-07 Thread Peter Haworth
On Wed, Jan 7, 2015 at 2:51 PM, William Prothero wrote: > export snapshot from rect snapRect to image "mapSnap" Hi Bill, I'm no Windows expert either but you might try adding "as xxx" to the end of your export command to specify an image type. The dictionary says the default is PBM, PGM, or P

mobile input field

2015-01-07 Thread Eric Corbett
Howdy, Any was to restrict input to numbers only without using the numbers keyboard or replacing non numeric numbers after the fact for a mobile input control? Thanks, - Eric ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Re: iconGravity

2015-01-07 Thread Devin Asay
On Jan 7, 2015, at 2:58 PM, J. Landman Gay wrote: > On 1/7/2015 2:55 PM, Devin Asay wrote: >> This finally allows us to position button label text on top of icon images! > > Yes, but you have to wonder about the mindset of the engineer who decided > this was "gravity" instead of "position". I'

Snapshot working poorly in Windows, crappy results

2015-01-07 Thread William Prothero
Folks: As I go on my journey of getting my OS X app in livecode working on Windows, I am coming across some really crappy behavior. I’m using livecode 7.0.1. The latest on is: snapshot give terrible results. Here is a link to before and after images. The top one is the snapshot and the lower one

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-07 Thread J. Landman Gay
On 1/7/2015 3:02 PM, Bob Sneidar wrote: I’ve been using command-[ and ] to move controls up and down one at a time whilst watching where they end up in the App Browser. Well I'll be damned. I had no idea you could do that. I don't think I've ever seen a reference to that feature. Thanks! --

Re: replaceText problem

2015-01-07 Thread J. Landman Gay
But the last time I tried it, I found *your* socks. On 1/7/2015 2:58 PM, Bob Sneidar wrote: The Jacqueline Landman Gay of the future uses them extensively in her Time Travel Stack. If you don’t figure it out soon you will never find your socks. Bob S On Jan 6, 2015, at 20:36 , J. Landman Gay

Re: iconGravity

2015-01-07 Thread J. Landman Gay
On 1/7/2015 2:55 PM, Devin Asay wrote: This finally allows us to position button label text on top of icon images! Yes, but you have to wonder about the mindset of the engineer who decided this was "gravity" instead of "position". I'm afraid if I use this property all my icons will suddenly b

#code2014

2015-01-07 Thread Ethan Lish
Twitter quote "@LiveCode: Can we get into the top 20 of #code2014? On Twitter type: #code2014 Livecode. Let's do it! http://t.co/JS9lohUrsd " — Ethan@Lish.net240.876.1389 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url t

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-07 Thread Bob Sneidar
Really?? I’ve been using command-[ and ] to move controls up and down one at a time whilst watching where they end up in the App Browser. If I could drag and drop them that would make form gen much easier. Bob S On Jan 3, 2015, at 10:32 , J. Landman Gay mailto:jac...@hyperactivesw.com>> wrote

Re: replaceText problem

2015-01-07 Thread Bob Sneidar
The Jacqueline Landman Gay of the future uses them extensively in her Time Travel Stack. If you don’t figure it out soon you will never find your socks. Bob S On Jan 6, 2015, at 20:36 , J. Landman Gay mailto:jac...@hyperactivesw.com>> wrote: On 1/6/2015 9:58 PM, Mark Wieder wrote: Then in you

Re: iconGravity

2015-01-07 Thread Devin Asay
On Jan 7, 2015, at 1:43 PM, Bob Sneidar wrote: > That IS interesting. > > Bob S > > > On Jan 5, 2015, at 16:02 , Eric Corbett > mailto:e...@canelasoftware.com>> wrote: > > Cool new button property I discovered finally (new to me anyway). > > Any way to set the iconGravity to left, the text

Re: replaceText problem

2015-01-07 Thread Bob Sneidar
Oh right, I knew about that. Bob S > On Jan 6, 2015, at 10:41 , J. Landman Gay wrote: > > On 1/6/2015 10:47 AM, Bob Sneidar wrote: >> There is a semicolon “trick”?? > > Yes, you can separate statement lines in scripts with a semicolon instead of > a return character. It's most useful in the

Re: building cross-platform Windows and Mac

2015-01-07 Thread Bob Sneidar
Me too! In fact, if I can get the LC dev team to write my next hugely successful application that sells millions on the world market using but a single line of code, then I will concede that LC has finally matured. ;-) Bob S On Jan 6, 2015, at 12:13 , william humphrey mailto:b...@bluewatermar

Re: building cross-platform Windows and Mac

2015-01-07 Thread Bob Sneidar
Oh sweet! I tried HTML text at first but didn’t use your notation. It looked horrible. Bob S On Jan 5, 2015, at 15:52 , Devin Asay mailto:devin_a...@byu.edu>> wrote: set the htmltext of fld 1 to "✓” HTH Devin ___ use-livecode mailing list use-li

Playing Flash Video crashes revbrowserCEF

2015-01-07 Thread William Prothero
Folks: I’m trying to play a YouTube move in the rev browser. I use revBrowserOpenCEF. The code is: on openBrowser put the windowID of this stack into tWinID put revBrowserOpenCEF(tWinID,"http://earthednet.org/ptExplorer/Cover.html";) into sBrowserID revBrowserSet sBrowserID,"showborder"

Re: iconGravity

2015-01-07 Thread Bob Sneidar
That IS interesting. Bob S On Jan 5, 2015, at 16:02 , Eric Corbett mailto:e...@canelasoftware.com>> wrote: Cool new button property I discovered finally (new to me anyway). Any way to set the iconGravity to left, the textAlign to left and have the label start next to the icon without having

Re: building cross-platform Windows and Mac

2015-01-07 Thread Bob Sneidar
The way I got around this is I made a PNG of the character I wanted, imported it, named it and then set the imageSource of the first character of the line to my png like so: set the imageSource of char 1 of line theHilitedLine of me to “bullet.png" Now I have a bulleting system that will work

Can't Trap for Mouse Handlers in a Player

2015-01-07 Thread Ray
This is another Mac only problem. On Windows I can trap for a right click in a mouseDown handler anywhere on a video Player window. This allows my users to easily relocate the player by dragging any part of the window. On the Mac neither a right click nor a control click can 'get through' si

Re: Sticky Popup Menu?

2015-01-07 Thread Scott Rossi
Right, having a card-based control would definitely solve the focus problem. In my case, I’m already using a list field in the popup substack, so the control is already done. And I could get some nice translucency effects with a card-based control. It’s unfortunate because the stack solution

Re: Sticky Popup Menu?

2015-01-07 Thread Richard Gaskin
Scott Rossi wrote: > On Jan 6, 2015, at 5:17 PM, Richard Gaskin wrote: > >> I've had good luck with borderless palette windows, not using the >> popup command at all but simply opening them. I trap escapeKey >> to dismiss them, and close them on suspendStack so clicking >> anywhere outside of th

Re: Sticky Popup Menu?

2015-01-07 Thread Peter Haworth
Hi Scott, Another approach to this might be to have an invisible scrolling list field which you make visible at the appropriate time. You could set it to allow multiline selections or perhaps insert a checkmark or something to indicate the selected lines using the htmlText or the imageSource prope

Re: Licensing

2015-01-07 Thread Richard Gaskin
Peter Haworth wrote: > I do find it somewhat ironic that back in my working life, the > company I worked for charged a substantial amount of money to > provide the source code for any of our products and now I'm faced > with doing it at no charge. Only when choosing the GPL option. As Kevin re

[BUG] setting the httpheaders on iOS using LC 6.7 doesn't work

2015-01-07 Thread Andre Garzia
Hey Friends, Can someone confirm that setting the httpheaders before a post work on iOS and Android using LC 6.7 My Facebook Library is experiencing hiccups and by investigating with Charles Proxy I am seeing that the request is not going with the content type I am setting. This used to work befo

Re: Licensing

2015-01-07 Thread Kevin Miller
It is worth pointing out that the step here, not possible in these other tools, involved assigning that plugin a different license using the Commercial edition of the software. If you are purely in the Community ecosystem and want to release a plugin, widget or library, that does have to be GPL (ht

Re: Licensing

2015-01-07 Thread Peter Haworth
Thanks to everyone for the explanations. Especially Kevin since he's the one with the final say! I'm now back to feeling relatively comfortable with moving forward on this. I do find it somewhat ironic that back in my working life, the company I worked for charged a substantial amount of money t

Re: 7.0.1 Loops Sounds on a Mac (whether you want to or not)

2015-01-07 Thread Ray
Klaus, Devin, Thanks for your responses. I've added my observations to the bug report and asked for a time estimate as to when this will be addressed. And thanks for the 'looping' insight. I guess what we really need here is an additional 'nonlooping' or 'without looping' option :) On 1/7

Re: 7.0.1 Loops Sounds on a Mac (whether you want to or not)

2015-01-07 Thread Devin Asay
On Jan 7, 2015, at 9:09 AM, Ray wrote: > My Mac is running 10.7.1. The script is just two lines: > > on mouseUp > wait until the sound is done > play [wavFilePath] > end mouseUp > > This works for the first click but a second click and the sound loops. This > only shows up on a Mac. >

Re: 7.0.1 Loops Sounds on a Mac (whether you want to or not)

2015-01-07 Thread Klaus major-k
Hi Ray, > Am 07.01.2015 um 17:09 schrieb Ray : > > My Mac is running 10.7.1. The script is just two lines: > on mouseUp > wait until the sound is done > play [wavFilePath] > end mouseUp > > This works for the first click but a second click and the sound loops. This > only shows up on a Ma

7.0.1 Loops Sounds on a Mac (whether you want to or not)

2015-01-07 Thread Ray
My Mac is running 10.7.1. The script is just two lines: on mouseUp wait until the sound is done play [wavFilePath] end mouseUp This works for the first click but a second click and the sound loops. This only shows up on a Mac. The documentation regarding looping is kind of confusing.

Re: Youtube video in LC browser window?

2015-01-07 Thread Earthednet-wp
Neil, Thanks! It would be nice if the online tutorials were updated to reflect this. Best, Bill William Prothero http://es.earthednet.org > On Jan 7, 2015, at 12:57 AM, Neil Roger wrote: > > Hi Bill, > > Looks like you are using our old browser implementation. Try using the new > revBrowserOp

Re: Licensing

2015-01-07 Thread Richard Gaskin
Kay C Lan wrote: > On Wed, Jan 7, 2015 at 1:26 PM, Richard Gaskin wrote: > >> It is indeed confusing... >> >> But whether it's "detrimental" is a matter of taste. > > If Peter finally decides NOT to make his lcStackBrowser available > to LC Community Edition Users due to confusion and concern as

Re: Licensing

2015-01-07 Thread Dr. Hawkins
On Wed, Jan 7, 2015 at 4:43 AM, Kevin Miller wrote: > You could not create something that included any objects or code from > person A¹s stack and allow person B to redistribute it from Community. > That would cause the GPL to kick in. > Actually, A could permit the inclusion by B--but A's licen

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-07 Thread Dr. Hawkins
On Tue, Jan 6, 2015 at 7:06 PM, Peter Haworth wrote: > On Tue, Jan 6, 2015 at 7:02 PM, Dr. Hawkins wrote: > > > Basically, the code can be licensed without any right to redistribute. > > > That's what I want to do! I think using the language I quoted in an earlier post (or was it the other thr

Re: Should be simple: rename a stack that contains behavior buttons?

2015-01-07 Thread Geoff Canyon
On Wed, Jan 7, 2015 at 3:01 AM, Scott Rossi wrote: > You don’t really say what the “bad things” are. Sorry, I was being lazy -- I was trying to rename Navigator using Navigator itself to do the work. Of course, as a plugin, there were no debugging messages being given, so all I knew was that it

Re: Licensing

2015-01-07 Thread Kevin Miller
The key here is that GPL applies and becomes viral when you *distribute* something. In the case of lcStackBrowser it is: - Created in Commercial by person A - Given a license that is *NOT* GPL by person A - Distributed (given or sold) under that non-GPL license to person B - That license prohibits

Commercial Licensing

2015-01-07 Thread Graham Samuel
Hi all - this may be naive, but I don’t recall a recent discussion on this list and I don’t know where to turn. The recent discussion on licensing centering round the GPL and the different editions of LC is interesting, but I rather want to extend it to get some advice about simple commercial l

Re: Licensing

2015-01-07 Thread Kay C Lan
On Wed, Jan 7, 2015 at 1:26 PM, Richard Gaskin wrote: It is indeed confusing... > > But whether it's "detrimental" is a matter of taste. If Peter finally decides NOT to make his lcStackBrowser available to LC Community Edition Users due to confusion and concern as to whether the GPL applies the

Re: Should be simple: rename a stack that contains behavior buttons?

2015-01-07 Thread Scott Rossi
You don’t really say what the “bad things” are. If you can't rename the stack and then loop through all the controls that have behaviors and update them, loop through the controls FIRST, set their behaviors to empty, rename the stack, then restore the appropriate behavior references. Regards,

Re: Youtube video in LC browser window?

2015-01-07 Thread Neil Roger
Hi Bill, Looks like you are using our old browser implementation. Try using the new revBrowserOpenCEF function as this no longer requires Internet Explorer on Win and Safari on Mac. e.g. on openBrowser put the windowID of this stack into tWinID put revBrowserOpenCEF(tWinID,"http://eart

Should be simple: rename a stack that contains behavior buttons?

2015-01-07 Thread Geoff Canyon
I have a stack that contains buttons that are set as the behavior for other controls in the stack. If I try to change the name of the stack using the message box, bad things happen. If I write code to: 1. rename the stack 2. modify the behavior properties to the new name bad things also happen.