Accessing Substack Data Files

2014-04-20 Thread Cal Horner
I'm building, or should I say rebuilding, a stackfile that contains many substacks. To get the stackfile I'll use the standard Answer/Ask file commands and then use go invisible or go to to get at the data in the substacks. No problem. But this got me to wondering. If I wanted to use the Answer/A

Re: Problem naming groups with integers

2014-04-20 Thread Richard Gaskin
Kay C. Lan wrote: Great, a dozen or so CPSs created with a couple of hundred CPs in each, all using array notation, all done in a blink of the eye. Everything worked fine for a while. A glance at the CPSs and the CPs with the Inspector all looked good. And then things started misbehaving, and th

Re: 7 historical decisions that continue to pain programmers

2014-04-20 Thread Kay C Lan
I would think Richard would put 'the CSV file' as well and truly Nº 1. On Mon, Apr 21, 2014 at 1:50 AM, Alejandro Tejada wrote: > > http://www.itworld.com/slideshow/143194/ouch-7-historical-decisions-continue-pain-programmers-408245 > > 1) Unix hides dot files > 2) JavaScript uses + for string c

Re: Problem naming groups with integers

2014-04-20 Thread Kay C Lan
On Sun, Apr 20, 2014 at 7:05 AM, Peter Haworth wrote: > I think the same advice applies to datagrid column names. > > The advise applies to naming EVERYTHING in LC. I don't know how to link to old posts so I'll just repost my own recent naming faux pas: As heads up for others who may not have re

Re: Counting the number of checkboxes...

2014-04-20 Thread Charles Szasz
Peter, You suggestion not only is faster but also works better than using controls in the repeat script. I found that using controls does not work with more than 16 checkboxes. In my sample stack, the script using control works but there are only four checkboxes. Thanks! Charles Szasz csz.

Re: Counting the number of checkboxes...

2014-04-20 Thread Peter Haworth
You could save a few tick by using "the n umber of buttons" instead of "the number of controls" and changing reference to "control x" to "button x". Rather than set the behavior on 28 buttons, and assuming the cards are in the same stack, just put the mouseUp handler into the stack script. Pete l

Re: Counting the number of checkboxes...

2014-04-20 Thread Charles Szasz
Paul, Your script perfectly! Thanks so much! I was working on a repeat loop but you saved me a great deal of time. And I had to have this before tomorrow! Thanks again! Dave, thanks for taking time to offer a scripting solution. I tried Paul’s script before trying yours. I will take a look

Re: Counting the number of checkboxes...

2014-04-20 Thread Paul Hibbert
Charles, Here's another option. My immediate thought was that this could be a use for an "after mouseUp" handler in a behaviour button, so I tried this… ## Checkbox Behaviour Button Script ## This just loops through the controls on two cards and counts any highlighted checkbox after mouseUp

Re: Counting the number of checkboxes...

2014-04-20 Thread Dave Kilroy
Hi Charles If it was me I would be thinking of including something like a 'recordCheck' handler in the stack's script that would be called by the mouseUp handler of each checkbox button (or even better set the behaviour of each checkbox button to the script of a button - but that is a bit more adv

Re: play video within a stack

2014-04-20 Thread Phil Davis
You can set the filename of a player object to a URL. This works with my videos on Vimeo at least, so I'm thinking there may be a way to get a URL from YouTube that will work as well. But so far (after 5 minutes) I haven't succeeded. Phil Davis On 4/20/14, 12:06 AM, la...@significantplanet.o

7 historical decisions that continue to pain programmers

2014-04-20 Thread Alejandro Tejada
http://www.itworld.com/slideshow/143194/ouch-7-historical-decisions-continue-pain-programmers-408245 1) Unix hides dot files 2) JavaScript uses + for string concatenation 3) Microsoft chooses backslash as path delimiter 4) Python uses indentation to denote blocks 5) Tony Hoare invents the null re

Re: listserv integration in forum

2014-04-20 Thread Marc Van Cauwenberghe
Hihi, the never ending discussion between pro’s an cons of mailing lista vs forums. Many pages have been writen about it :) Still no one can argue that having a place where you can search both at once is not useful. Pro list server people already have something like an forum summary that can b

Re: Vertical Menubar stack

2014-04-20 Thread Richmond
Cheaper than LSD, a lot safer, and less likely to send you to prison: http://andregarzia.on-rev.com/richmond/HA3b.zip Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Reference Material Discussion Application Architecture Strategies

2014-04-20 Thread Michael Doub
My coding style has evolved to trying to put code in Libraries, Stack and Cards. I only put stubs that call other handlers in the objects themselves. This is the code organization part. I was putting my library stacks in as substacks and when I started seeing the naming conflict messages I

Re: listserv integration in forum

2014-04-20 Thread Alejandro Tejada
If you ask me, all forum messages should be reposted as new threads to the mail list... :D Why not creating a stack that do this? A stack that presents both the forums and mail lists, side by side and allows to rate the interest of the topics. A stack like this is way above my own experience bu

Counting the number of checkboxes...

2014-04-20 Thread Charles Szasz
I have 28 checkboxes on two cards. I need to count the total number of checkboxes checked by the user. I have throughout the archives and could not find an example of how to do this. Anybody have a suggestion on how to script this? Charles Szasz csz...@mac.com ___

Image quality changes image size

2014-04-20 Thread Alejandro Tejada
Hi All, Could you please verify this very subtle image display bug? 1) Look for a 32 pixel image. You could download a 32 pixel PNG or JPG icon like: https://www.iconfinder.com/search/?q=32px&price=free 2) Import this 32 pixel image in a new stack and resize this really small image as big as st

listserv integration in forum

2014-04-20 Thread Marc Van Cauwenberghe
Hi, I would like to propose a sync option so that all listserv mailing be integrated into the forum. That would give everybody a 'one place' search tool and knowledge depot. Maybe our newly appointed representative would would be willing to take this up :) Voting can commence. Marc Forum: ht

Re: Visual Effects on LiveCode 7 (dp2)

2014-04-20 Thread Richmond
On 20/04/14 18:14, Alejandro Tejada wrote: Hi all, I have been testing all the visual effects in LiveCode 7 dp2 and after playing a series of effects, LiveCode hangs. You can use this stack in LiveCode format (not *.mc) from: https://dl.dropboxusercontent.com/u/3834621/demoMC27.livecode If you

Re: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1)

2014-04-20 Thread Alejandro Tejada
Mark Wieder wrote: > Sadly, there is still no revbrowser on linux. Chromium Embedded Framework is available for Linux, too: http://www.magpcss.net/cef_downloads/ Let's keep the hope! :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/NEW-Amazing-revBrowser

Re: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1)

2014-04-20 Thread Mark Wieder
Alejandro- Saturday, April 19, 2014, 11:06:27 PM, you wrote: > What is the browser score in your platform? Sadly, there is still no revbrowser on linux. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in se

Visual Effects on LiveCode 7 (dp2)

2014-04-20 Thread Alejandro Tejada
Hi all, I have been testing all the visual effects in LiveCode 7 dp2 and after playing a series of effects, LiveCode hangs. You can use this stack in LiveCode format (not *.mc) from: https://dl.dropboxusercontent.com/u/3834621/demoMC27.livecode If your OS or LiveCode version have problems playi

Re: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1)

2014-04-20 Thread Alejandro Tejada
Hi Martin, Martin Koob wrote > I got 380/555 using webkit on Mac OS X 10.8.5. It shows WebP as not > supported. Chromium Embedded Framework is available for Mac OS X: http://www.magpcss.net/cef_downloads/ Are you using revBrowserOpenCef for this test? Al -- View this message in context:

Re: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1)

2014-04-20 Thread Martin Koob
I got 380/555 using webkit on Mac OS X 10.8.5. It shows WebP as not supported. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/NEW-Amazing-revBrowserCef-in-LiveCode-6-7-dp1-tp4678467p4678475.html Sent from the Revolution - User mailing list archive at Na

Re: play video within a stack

2014-04-20 Thread Alejandro Tejada
Hi Larry, larry wrote > Is there a way to link to a YouTube video, but play the video > within my stack without having to embed the video? yes, you could use the revbrowser: http://lists.runrev.com/pipermail/use-livecode/2014-April/200977.html Have a nice week! Al -- View this message in co

Re: mouseButtonNumber

2014-04-20 Thread Richmond
On 20/04/14 15:43, Peter M. Brigham wrote: On Apr 19, 2014, at 5:36 PM, Richmond wrote: when I have a script in a button like this: on mouseUp 1 put "Left button" in fld "whichMouseBtn" end mouseUp 1 I get a "red hot-cross bun": why? Check the syntax for the mouseup command. The command e

Re: mouseButtonNumber

2014-04-20 Thread Peter M. Brigham
On Apr 19, 2014, at 5:36 PM, Richmond wrote: > when I have a script in a button like this: > > on mouseUp 1 > put "Left button" in fld "whichMouseBtn" > end mouseUp 1 > > I get a "red hot-cross bun": why? Check the syntax for the mouseup command. The command expects one parameter, mouseButto

North East Livecode User Group upcoming meeting...

2014-04-20 Thread Paul Dupuis
The North East Livecode User Group (NELUG) is having its second virtual (online) meeting on Saturday, April 26th, 2014 at 2PM EDT. For more information on how to join the group or the meeting, please see http://www.researchware.com/nelug. ___ use-livecod

Re: Vertical Menubar stack

2014-04-20 Thread Richmond
Now with Fruity Flavours: http://andregarzia.on-rev.com/richmond/HA3a.zip Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

play video within a stack

2014-04-20 Thread larry
Hello All, Is there a way to link to a YouTube video, but play the video within my stack without having to embed the video? I mean, the user clicks on a "Play" button within the stack and then it will play the linked video right in the app, without opening a browser for YouTube. Any help will b