Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-27 Thread David C.
On Tue, Dec 27, 2011 at 2:35 PM, Richard Gaskin wrote: > > In terms of design, it's almost as big a departure from earlier versions as > OS X is from Mac OS 9.  And as with my Mac experience, the transition was a > bit jarring at first, and I initially complained about not being as > productive.  

Re: OT Password protection of RR server?

2011-12-27 Thread Mark Wieder
Jim- Tuesday, December 27, 2011, 11:03:52 AM, you wrote: > I would like to password protect a page. Is there anything about > the RR server that affects how that should be done? As Matthias said, log on to on-rev's cPanel, then scroll down the page to the Security section and click on Password P

Re: Strange Datagrid Behavior

2011-12-27 Thread Mark Wieder
Bob- Tuesday, December 27, 2011, 4:18:10 PM, you wrote: > Yet another great argument for naming conventions! Actually I think this a great argument for namespaces. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@l

Re: Strange Datagrid Behavior

2011-12-27 Thread Bob Sneidar
Yeah I don't think they have a group called "dgAltData" :-) I try to pick obscure names for all my objects for this very reason. Still... it might explain why every time I try to populate this one datagrid I get a shock through the mouse. Hmmm... Bob On Dec 27, 2011, at 4:41 PM, Pete wrote:

Re: Strange Datagrid Behavior

2011-12-27 Thread Pete
Actually, now I see that there are around a dozen or so groups within the datagrid structure whose name starts with dg. Definitely a good idea to have naming conventions but dg might not be the best choice for datagrids, although it is the obvious one. On Tue, Dec 27, 2011 at 4:34 PM, Pete wrote

Re: Strange Datagrid Behavior

2011-12-27 Thread Pete
Just don;t call them dgColumn! On Tue, Dec 27, 2011 at 4:18 PM, Bob Sneidar wrote: > Yet another great argument for naming conventions! All my datagrids start > with dg. > > Bob > > > On Dec 27, 2011, at 4:06 PM, Pete wrote: > > > I found the reason for this strange problem. The second datagrid

Re: Strange Datagrid Behavior

2011-12-27 Thread Bob Sneidar
Yet another great argument for naming conventions! All my datagrids start with dg. Bob On Dec 27, 2011, at 4:06 PM, Pete wrote: > I found the reason for this strange problem. The second datagrid mentioned > in the original message was named "Columns". In desperation, I changed its > name to

Re: Strange Datagrid Behavior

2011-12-27 Thread Pete
I found the reason for this strange problem. The second datagrid mentioned in the original message was named "Columns". In desperation, I changed its name to something other than "Columns" and of course changed references to it and now all works fine. It appears that "Columns" is some sort of re

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
How about the adequately lengthy ID? Bob On Dec 27, 2011, at 2:49 PM, J. Landman Gay wrote: > On 12/27/11 3:00 PM, Mark Wieder wrote: >> Todd Geist writes: >> >>> On a side note. I can't set a Behavior to any other then the Short >>> Reference. I set it with a Long ID including the path. B

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
Ok, got it. NOW I know everything! I was just missing that little bit. ;-) Bob On Dec 27, 2011, at 12:57 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > On Dec 27, 2011, at 12:28 PM, Todd Geist wrote: > >> It starts as this > >> > >> button id 1004 of card id 1002 of stack "/Users/todd/De

OT: How *not* to run a marketing campaign

2011-12-27 Thread Mark Wieder
Quite the read: http://penny-arcade.com/resources/just-wow1.html -- Mark Wieder ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runre

Re: Trouble with button icon images

2011-12-27 Thread J. Landman Gay
On 12/27/11 5:03 PM, Pete wrote: Hi Jacque, I tried this out. The standalone has a substack named "revCopiedIcons". I added code to list the controls in that stack and it contained the standard icons for the answer command (information, error, warning, etc) plus the one icon I referenced in the

Re: Trouble with button icon images

2011-12-27 Thread Pete
Hi Jacque, I tried this out. The standalone has a substack named "revCopiedIcons". I added code to list the controls in that stack and it contained the standard icons for the answer command (information, error, warning, etc) plus the one icon I referenced in the Image library. So it appears the

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread J. Landman Gay
On 12/27/11 3:00 PM, Mark Wieder wrote: Todd Geist writes: On a side note. I can't set a Behavior to any other then the Short Reference. I set it with a Long ID including the path. But it is immediately converted to the short "button id 1020 of stack behaviors" form That's known as the "ru

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Pete
Hi Todd, It's my understanding that the start using command makes the handlers in the stack script of the main stack available to your application. Nothing else, including behavior button scripts, are made available by issuing a start using command. No doubt someone will correct me if I'm wrong!

Re: matchChunk question

2011-12-27 Thread Mark Smith
Thanks, worked perfectly. changing the expression to "(\" & quote & "v" & "\" & quote & ":)" resulted in true, 422, 425 in the output. What I am attempting to do is define a rather complicated item delimiter, in this case made up of the 4 char sequence "v": If I can define where this occurs I can

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
On Tue, Dec 27, 2011 at 1:59 PM, Richard Gaskin wrote: > > If you find the script is in play under such circumstances, I'd like to > learn how you did it. > > I've been wanting a way to resolve behaviors at arbitrary execution points > rather than relying on stack opening, and have made this reques

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Richard Gaskin
Todd Geist wrote: However I can reliably cause them stop working, by loading the object that use Behaviors before the Behaviors themselves. Unless something changed/broke, any behavior assignment which refers to a behavior button not already in memory at the time the object which refers to i

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
Hi Mark, On Tue, Dec 27, 2011 at 1:12 PM, Mark Wieder wrote: > > Just for the record, breakpoints work fine in behavior scripts. Yes, normally they work just fine. However I can reliably cause them stop working, by loading the object that use Behaviors before the Behaviors themselves. When th

Re: matchChunk question

2011-12-27 Thread Mark Schonewille
Hi Mark, You need to put the part of the regex that you want to know the start and end position of inside parantheses. In your case, this seems to be the entire regex. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitt

Re: [OT] Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-27 Thread Roger Eller
On Tue, Dec 27, 2011 at 7:26 AM, Richmond wrote: > Well, I'm just about to hop on the plane for my annual visit to Britain > (which will include > dephlogisticating my parents' laptop, which was running Ubuntu 10.10, > which has gone > very "sour" since my Father couldn't resist clicking on distro

matchChunk question

2011-12-27 Thread Mark Smith
Hi, shouldn't the following place the start position and end position of the regular expression found in the input field into the output field? on mouseUp local startpos, endpos put fld"input" into tinput put "\" & quote & "v" & "\" & quote & ":" into tregularexpression put matchchun

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Mark Wieder
Todd Geist writes: > And I can't set break points in the Behavior scripts. Just for the record, breakpoints work fine in behavior scripts. -- Mark Wieder ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscr

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Pete
That's interesting, I haven't come across that before, but I think you are on 5.0 so maybe they changed (or broke) something in that release. In those circumstances, it seems worth at least setting the stackfiles to "A,/Users/todd/Desktop/A.livecode" and see if that fixes the problem. On Tue, Dec

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Pete
I hate using the long ID. The development and live versions of my behaviors are in two different stack files so dev work doesn't cause problems with live work. If I used the long form of the behavior references, I'd have to go and change all of them every time I put a new version of an applicatio

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Mark Wieder
Todd Geist writes: > On a side note. I can't set a Behavior to any other then the Short > Reference. I set it with a Long ID including the path. But it is > immediately converted to the short "button id 1020 of stack behaviors" form That's known as the "rugged" id - it's got everything in the

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Richard Gaskin
Bob Sneidar wrote: > On Dec 27, 2011, at 12:28 PM, Todd Geist wrote: >> It starts as this >> >> button id 1004 of card id 1002 of stack "/Users/todd/Desktop/A.livecode" >> >> it changes to this >> >> button id 1004 of stack "A" > > That is still the long ID. Sort of. A true long ID includes the

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-27 Thread Richmond
On 12/27/2011 10:35 PM, Richard Gaskin wrote: Bernard Devlin wrote: I was so appalled by the latest Ubuntu, I switched to Mint. Ubuntu had become as slow as using Windows Vista. Is that with 11.10 or 11.04? When I first tried 11.04 it was slow, and I wound up staying with 10.10 until 11.10

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
That is still the long ID. Bob On Dec 27, 2011, at 12:28 PM, Todd Geist wrote: > whoops > > That didn't paste right > > It starts as this > > button id 1004 of card id 1002 of stack "/Users/todd/Desktop/A.livecode" > > > it changes to this > > button id 1004 of stack "A" > > > Todd > _

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
Yeah sorry see my other message It starts as this button id 1004 of card id 1002 of stack "/Users/todd/Desktop/A.livecode" it changes to this button id 1004 of stack "A" Todd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-27 Thread Richard Gaskin
Bernard Devlin wrote: I was so appalled by the latest Ubuntu, I switched to Mint. Ubuntu had become as slow as using Windows Vista. Is that with 11.10 or 11.04? When I first tried 11.04 it was slow, and I wound up staying with 10.10 until 11.10 came out. But since I upgraded to 11.10 last

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
mmm that IS the long ID. The short id would just be a number. But you *can* use the short name, and it wouldn't surprise me if Livecode then transformed that into the long ID. I wasn't aware of that. Bob On Dec 27, 2011, at 12:19 PM, Todd Geist wrote: > If Set this > > button id 1004 of car

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
whoops That didn't paste right It starts as this button id 1004 of card id 1002 of stack "/Users/todd/Desktop/A.livecode" it changes to this button id 1004 of stack "A" Todd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: OT Password protection of RR server?

2011-12-27 Thread Matthias Rebbe
Jim, do you mean the on-rev server? If so, the easiest way is to do this in the cPanel -> Security -> Password Protect Directories If you do not mean the on-rev server, could then please explain what kind of account you are speaking about. Regards, Matthias Am 27.12.2011 um 20:03 schrieb J

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
I am using the long ID when I set it. But LiveCode immediately converts it to the shorter version It is not my doing. If Set this button id 1004 of card id 1002 of stack "/Users/todd/Desktop/A.livecode" LiveCode immediately changes it to button id 1004 of card id 1002 of stack "/Users/todd/Des

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
Thanks Pete, but that doesn't help. On a side note. I can't set a Behavior to any other then the Short Reference. I set it with a Long ID including the path. But it is immediately converted to the short "button id 1020 of stack behaviors" form Todd On Tue, Dec 27, 2011 at 11:23 AM, Pete wrote

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
Good point. The proper syntax *should* be set the behavior of to the long id of button . If the behavior script button is located on the first card of the stack the object is in, then you can use shorter versions, but why risk it? In your case, since the behavior is in a library, use the long I

Re: Point at which speaking is stopped? and ANN: "Text to Speech"

2011-12-27 Thread Bob Sneidar
Yes, I like that too. In fact, the text to speech is actually better than a lot of audio books I have heard! ;-) Bob On Dec 27, 2011, at 11:11 AM, Roger Eller wrote: > On Tue, Dec 27, 2011 at 1:30 PM, Jim Hurley wrote: > >> Roger, >> >> Very resourceful of you to discover, not just the typo,

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Pete
OK, not exactly the same issue I had but stackfiles might still help. If your behaviors don't use a fully qualified stack file name (eg button id 1020 of stack "Behaviors"), a stackfiles entry naming Behaviors and its fully qualified stackfile path enables LC to resolve the behavior references. N

Re: Re: Point at which speaking is stopped? and ANN: "Text to Speech"

2011-12-27 Thread Roger Eller
On Tue, Dec 27, 2011 at 1:30 PM, Jim Hurley wrote: > Roger, > > Very resourceful of you to discover, not just the typo, but the correction. > > It is indeed a livecode file so: > > go url "http://www.jamesphurley.com/TextToSpeech.livecode"; > > Jim Hurley > I got a good laugh at your proof rea

OT Password protection of RR server?

2011-12-27 Thread Jim Hurley
I am a novice at this sort of thing, so bear with me. I have an account on RR's server. The domain servers are listed as: NS2.ON-REV.COM NS1.ON-REV.COM I would like to password protect a page. Is there anything about the RR server that affects how that should be done? I'm not looking for an

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
They are in the Library Stack itself not a substack. So you essentially injected the Library stack into the Main stack? On Tue, Dec 27, 2011 at 10:39 AM, Pete wrote: > Are the behavior buttons in the actual library stack or in a substack of > the library stack? I've run into a similar problem

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
I am using 5.0.2. But I am not sure if thats the issue. I looked for the thread you referenced but I can't find it, any hints on the keywords? Thanks Todd On Tue, Dec 27, 2011 at 10:36 AM, Bob Sneidar wrote: > Ah, IC. Are you using 5.02? There is the thread about things not loading > in the

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Pete
Are the behavior buttons in the actual library stack or in a substack of the library stack? I've run into a similar problem before and ending setting thew stackFiles property of the app's main stack to name the behavior stack. Pete On Tue, Dec 27, 2011 at 10:23 AM, Todd Geist wrote: > On Tue, De

Re: Launcher stacks on iOS etc.

2011-12-27 Thread Mark Schonewille
Hi Todd, Sure, you can do that, but there is a small syntax problem. I think that go stack works, but go stack in window doesn't. This won't keep you from making a launcher, but it is useful to know ;) -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipbo

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
Ah, IC. Are you using 5.02? There is the thread about things not loading in the order you would expect with version 5.02. Might it have something to do with that? Bob On Dec 27, 2011, at 10:23 AM, Todd Geist wrote: > On Tue, Dec 27, 2011 at 10:14 AM, Bob Sneidar wrote: > >> Where are the be

Re: Re: Point at which speaking is stopped? and ANN: "Text to Speech"

2011-12-27 Thread Jim Hurley
Roger, Very resourceful of you to discover, not just the typo, but the correction. It is indeed a livecode file so: go url "http://www.jamesphurley.com/TextToSpeech.livecode"; Jim Hurley > > Message: 14 > Date: Tue, 27 Dec 2011 12:49:24 -0500 > From: Roger Eller > To: How to use LiveCode

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
On Tue, Dec 27, 2011 at 10:14 AM, Bob Sneidar wrote: > Where are the behavior buttons located? They have to be in the open stack > or *AN* open stack. I may be mistaken about this, but I think I am not. I > have a behavior button on the first card of an app stack, and all my > behaviors work fine

Re: revOpenDatabase Problem

2011-12-27 Thread Bob Sneidar
Yes you will get an error if you send a query using this construct: put "SELECT TRUE as CONNECTED" into theSQL try put revDataFromQuery(,,tConnectionID,theSQL) into myResult catch theError answer theError exit to top end try -- myResult now equals 1 Call something like this right after yo

Re: Launcher stacks on iOS etc.

2011-12-27 Thread Todd Geist
Hi Mark, I wasn't thinking of using a launcher to load additional code from the internet on iOS. that would be cool, but I would guess you are right, that it wouldn't be allowed. But I was thinking more along the lines of having a place to load stuff and setup the environment before launching th

Re: Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Bob Sneidar
Where are the behavior buttons located? They have to be in the open stack or *AN* open stack. I may be mistaken about this, but I think I am not. I have a behavior button on the first card of an app stack, and all my behaviors work fine there. They should also work if they are on the first card

Re: Launcher stacks on iOS etc.

2011-12-27 Thread Mark Schonewille
Hi Todd, For testing, it is a good idea. You could save your work in your personal web folder (on mac) and run your stack on an iOS device right-away. For the iTunes store, I wouldn't recommend it because apple may not allow you to for load additional code. -- Kind regards, Mark Schonewille

Re: revOpenDatabase Problem

2011-12-27 Thread Pete
All good stuff but none of it tells me if I've opened an sqlite database :-) You may have missed the post about opening the file as a regular file and checking the first 16 bytes - that's the solution I used, seems to work just great. On Tue, Dec 27, 2011 at 9:35 AM, Bob Sneidar wrote: > After

Re: Point at which speaking is stopped? and ANN: "Text to Speech"

2011-12-27 Thread Roger Eller
It is a .livecode file: go url "http://www.jamesphurley.com/TextToSpeech.livecode"; On Tue, Dec 27, 2011 at 12:37 PM, Bob Sneidar wrote: > I get "No such card" > > Bob > > > On Dec 26, 2011, at 3:41 PM, Jim Hurley wrote: > > > Roger, > > > > It is even better for proofreading. > > > > I have p

Re: Strange Datagrid Behavior

2011-12-27 Thread Bob Sneidar
Delete the first datagrid and when it throws an error that is where whatever code is referencing the first datagrid literally. It sounds at first blush like you set the behavior to something other than the datagrid library, and then did some custom work with that behavior, referring to the fir

Launcher stacks on iOS etc.

2011-12-27 Thread Todd Geist
Hello, Clearly on the desktop, using a launcher file to start up the solution makes a lot of sense. It seems very helpful in terms of managing updates, setting up the environmment etc. But I am curious is it still a good idea for things like iOS etc? I am curious to hear from folks who have stuf

Case Study: Behaviors Failing - Can't set break points

2011-12-27 Thread Todd Geist
Hello, I just ran into this issue and I thought I would share it. I thought I was loading my Behavior's into memory before using them but I wasn't. Here is what it looked like when it was failing. I have some buttons that have behaviors set on them. When you control-click on them and look at Se

Re: Point at which speaking is stopped? and ANN: "Text to Speech"

2011-12-27 Thread Bob Sneidar
I get "No such card" Bob On Dec 26, 2011, at 3:41 PM, Jim Hurley wrote: > Roger, > > It is even better for proofreading. > > I have put my Text to Speech up on the web. Run this in the message box. > > go url "http://www.jamesphurley.com/TextToSpeech.rev"; > > Jim Hurley > >> >> Roger Ell

Re: revOpenDatabase Problem

2011-12-27 Thread Bob Sneidar
After opening it, and inside a try/catch statement just use select TRUE as connected and get the query as a string. If it throws an error you know something is wrong. One thing I like to do in database driven apps is create handlers called dbopen, dbclose, dbIdle isConnected. In those handlers

Re: How do you do it??

2011-12-27 Thread Bob Sneidar
Oh sorry ignore my last post. Bob On Dec 23, 2011, at 6:50 PM, dunb...@aol.com wrote: > Of course. > > > I have overdone the "do" construction by not including the whole statement in > quotes. I am so used to having to break out literals from variables, > reassembling them meticulously int

Re: How do you do it??

2011-12-27 Thread Bob Sneidar
Please go back and read the emails set to explain why it will not work. You may have passed over them in frustration. In the below example (which is not like the first example you provided) you still have the same problem. You are concatenating a DO statement with a multiple line value. So if fl

[OT] Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-27 Thread Richmond
On 12/27/2011 01:45 PM, Bernard Devlin wrote: I was so appalled by the latest Ubuntu, I switched to Mint. Ubuntu had become as slow as using Windows Vista. No wonder Mint has taken off. Whilst the main charts in the link below are based on DistroWatch (arguably a sign of what cutting-edge linu

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-27 Thread Bernard Devlin
I was so appalled by the latest Ubuntu, I switched to Mint. Ubuntu had become as slow as using Windows Vista. No wonder Mint has taken off. Whilst the main charts in the link below are based on DistroWatch (arguably a sign of what cutting-edge linux users are up to), the chart further down the p