Re: threeDBox?

2012-12-28 Thread J. Landman Gay
On 12/28/12 7:46 PM, Peter Haworth wrote: The dictionary lists "threeDBox" as a valid option for the textStyle property of a line in a field but I get a runtime error that is isn;t a valid textStyle property. I don;t know if care but would be nice to know what a threeDbox looks like. Works her

Re: Switch, Case and wild-cards?

2012-12-28 Thread Mark Wieder
Pete- Friday, December 28, 2012, 9:26:29 AM, you wrote: > Seriously though, I have this feeling that matchText and matchChunk are > potentially very useful tools if only I could understand the syntax of > regular expressions. I've been to both web references mentioned in > the dictionary and hav

Re: Switch, Case and wild-cards?

2012-12-28 Thread Mark Wieder
Richmond- Friday, December 28, 2012, 2:24:28 PM, you wrote: > I have a string of characters in a language that go something like this: > ZaXbbdsfZvfghXaasn > now I have to "translate" those into a different type of representation; and > the 3 "rubs" are these: > 1. everytime I encounter a Z it

Re: threeDBox?

2012-12-28 Thread Peter Haworth
My mother used to bake Menger sponge cakes but she always sliced them vertically. Pete lcSQL Software On Fri, Dec 28, 2012 at 6:25 PM, Mark Wieder wrote: > Pete- > > Friday, December 28, 2012, 5:46:31 PM, you wrote: > > > would be nice to know what a threeDbox looks like.

Re: threeDBox?

2012-12-28 Thread Mark Wieder
Pete- Friday, December 28, 2012, 5:46:31 PM, you wrote: > would be nice to know what a threeDbox looks like. -- -Mark Wieder mwie...@ahsoftware.net

threeDBox?

2012-12-28 Thread Peter Haworth
The dictionary lists "threeDBox" as a valid option for the textStyle property of a line in a field but I get a runtime error that is isn;t a valid textStyle property. I don;t know if care but would be nice to know what a threeDbox looks like. Pete lcSQL Software ___

Re: Help with Regex (was Re: Switch, Case and wild-cards?)

2012-12-28 Thread Mike Bonner
Yeah, its RegEx builder. Feed it some text, and start typing in the regex and you get live feedback. It can be quirky but handy. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Help with Regex (was Re: Switch, Case and wild-cards?)

2012-12-28 Thread Peter Haworth
Thanks James and Mike. I am on a Mac and I think have TextWrangler installed somewhere so I can take a look at that. The plugin is RegEx Builder, right Mike? The video tutorials I mentioned are really good since they are very interactive and use lots of examples. I already know how to validate

Re: Help with Regex (was Re: Switch, Case and wild-cards?)

2012-12-28 Thread Mike Bonner
The regex builder plugin in LC is pretty handy too and can help you work things out in lc itself. You can also be pretty sure of it works in the builder, it will work in LC (though in all things, YMMV) On Fri, Dec 28, 2012 at 3:07 PM, James Hale wrote: > Pete asked: > "Does anyone have any ref

Re: Switch, Case and wild-cards?

2012-12-28 Thread Richmond
Hey, happy campers; you may think my 1420 case statements are a bit extreme; and when you refelct that variants on them are reduplicated across some 500 objects my phrase about "seeing purple bananas" may seem more reasonable :) HOWEVER, right now I have a problem that has been stumping me for a

Help with Regex (was Re: Switch, Case and wild-cards?)

2012-12-28 Thread James Hale
Pete asked: "Does anyone have any references to using regular expressions, preferable with lots of examples?" If you are using a Mac i suggest getting yourself a copy of BBedit or its free sibling "TextWrangler". I have never been much for using terminal commands and the like as I always prefer

Re: Switch, Case and wild-cards?

2012-12-28 Thread Thierry Douez
Hi Richmond, In between the End of the World and the End of the Year and in memories about you seeing stars with Georges and David in our pint of beer in a late evening at Edinburgh Here are your 1420 cases statements ready to be put in any containers I've done this for fun in 15 minutes

Re: Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Mike Bonner
Permissions can be checked/changed in the file manager, but are most likely umasked to the correct permissions by default. On Fri, Dec 28, 2012 at 12:33 PM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Thanks Shawn, though it seems that RunRev have disabled WHM and > terminal/SSH

Re: Switch, Case and wild-cards?

2012-12-28 Thread Peter M. Brigham
On Dec 28, 2012, at 2:05 PM, Peter Haworth wrote: > Im guessing that regular expressions are how > items, lines, and words are implemented deep down inside LC. I seem to remember from previous postings on this list that regex expressions are actually much slower than the LC-native offset functio

Re: Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Keith Clarke
Thanks Shawn, though it seems that RunRev have disabled WHM and terminal/SSH access on On-Rev. Best, Keith.. On 28 Dec 2012, at 19:21, Shawn Blc wrote: > Also make sure you're permissions are correct on your .htaccess file. In > most cases you shouldn't have to restart Apache. > > On Fri, Dec

Re: Learning LiveCode

2012-12-28 Thread Peter M. Brigham
>From OxfordDictionaries.com: How many words are there in the English language? There is no single sensible answer to this question. It's impossible to count the number of words in a language, because it's so hard to decide what actually counts as a word. Is dog one word, or two (a noun me

Re: Scrolling field question from Ton

2012-12-28 Thread Paul Looney
Jacque, I do not have an answer but I have seen this behavior. The field scrolls as if the pointer was inside it but the pointer is outside the field - possibly even outside the stack window. The behavior is intermittent. Have not noticed it for a long time now. Paul Looney On Dec 28, 2012, at 9

Re: Find vs. Offset

2012-12-28 Thread Peter M. Brigham
Thank you kindly. Mind you, it didn't start off clean. But that's the nice thing about LC, it's so easy to clean things up after the basic problem is solved. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 28, 2012, at 1:18 PM, Geoff Canyon wrote: > I'm a big

Re: Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Shawn Blc
Also make sure you're permissions are correct on your .htaccess file. In most cases you shouldn't have to restart Apache. On Fri, Dec 28, 2012 at 1:19 PM, Shawn Blc wrote: > You can only restart Apache and other services using the WebHost Manager > (admin panel) in Cpanel. > > > Regards, > >

Re: Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Shawn Blc
You can only restart Apache and other services using the WebHost Manager (admin panel) in Cpanel. Regards, Shawn On Fri, Dec 28, 2012 at 10:03 AM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Thanks for the response Jose - good to know that .htaccess changes should > be availa

Re: Switch, Case and wild-cards?

2012-12-28 Thread Peter Haworth
I just found a great series of regexp training videos on the web at http://www.multiurl.com/ga/regexdummies. It uses another very useful interactive training site at http://www.gskinner.com/RegExr/. I'm already seeing things in my code I could have done much more simply using regular expressions.

Re: Learning LiveCode

2012-12-28 Thread Robert Sneidar
I thought English was somewhere around the order of 38,000, not counting technicial terms? I wonder how many of the 500,000 words are actually variations or tenses of another? And then there is this: Published in 1604, Robert Cawdrey's A Table Alphabeticall contained roughly 2,500 words, each m

Re: Learning LiveCode

2012-12-28 Thread Robert Sneidar
Hi Keith. Being in IT for as long as I have, I do not think the difficulty is in enticing anyone to try Livecode. The real difficulty as I see it is threefold. First, development companies are typically standardized around the big ones, C and it's variants, and Java. If you want a job as a devel

Re: Learning LiveCode

2012-12-28 Thread Robert Sneidar
I actually think the way you do Peter, messages rising up from the bottom to the top, but for someone new referencing a flow chart (I believe someone on the list made one up one time and posted it) I felt it might be better to put it in those terms. Bob On Dec 27, 2012, at 3:18 PM, Peter M.

Re: Switch, Case and wild-cards?

2012-12-28 Thread Joe Lewis Wilkins
I did his natal chart a couple of years ago. Pretty phenomenal in my opinion! Joe Wilkins On Dec 28, 2012, at 10:31 AM, Robert Sneidar wrote: > Has anyone actually seen any of Richmond's stars? ;-) > > Bob > > > On Dec 27, 2012, at 6:15 PM, Joe Lewis Wilkins wrote: > >> Mark: >> >> Richmond

Re: Switch, Case and wild-cards?

2012-12-28 Thread Robert Sneidar
That is useful Charles thanks. Every Livecoder should read up on Regex, if for no other reason, than to remember why we code in Livecode script. OHE MAWAYEE GAWAD! Looks like you have to live in Regex in order to become proficient at it. Simple Regex is about all I will ever employ. If I need a

Re: Switch, Case and wild-cards?

2012-12-28 Thread Robert Sneidar
Has anyone actually seen any of Richmond's stars? ;-) Bob On Dec 27, 2012, at 6:15 PM, Joe Lewis Wilkins wrote: > Mark: > > Richmond's just exaggerating as he is oft want to do! He can't help himself; > it's in his stars. > > Joe Wilkins ___ use

Re: Find vs. Offset

2012-12-28 Thread Geoff Canyon
I'm a big advocate of clean functions, and I just want to point out that this is really nicely done: clear, compact, efficient, documented, and the function name itself perfectly describes what it does. Really nice! On Wed, Dec 19, 2012 at 4:33 PM, Peter M. Brigham wrote: > function offsets str

Re: Switch, Case and wild-cards?

2012-12-28 Thread Charles E Buchwald
I learned to use regex by playing with the find and replace tools in BBEdit. (Now I use TextEdit, which also works well for this.) And as I've noted in the LC Dictionary, I find this reference useful: http://www.regextester.com/pregsyntax.html - Charles On 2012-12-28, at 11:26 AM, Peter Haworth

Re: Switch, Case and wild-cards?

2012-12-28 Thread Peter Haworth
Wow! That's boatload of case statements, must be a nightmare to maintain! Interesting to think of how it might be simplified, at least in terms of organizing the code a little differently. Things like that are often a matter of personal style but a couple of ideas come to mind. It looks like th

Re: Scrolling field question from Ton

2012-12-28 Thread Mark Schonewille
Hi, Does this also happen after closing and re-opening the stack window? If not, then it is because of an unhandled drag event. Probably, he accidentally dragged something into the field. LiveCode doesn't respond well to that. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and S

Re: Mountain Lion strategy

2012-12-28 Thread stephen barncard
I had to revert to *Lion* as Pro Tools HDX will stop playback with random errors with Mountain. Big hassle, but I must say *Lion is just fine* and runs all the cloud goodies. Fortunately I saved the installer package. Mark - let me know if I can help. On Thu, Dec 27, 2012 at 7:16 PM, Pierre Sahor

Scrolling field question from Ton

2012-12-28 Thread J. Landman Gay
Ton Cardona is unable to post to the list for some reason, so I said I'd do it for him. I have never heard of or seen this problem, maybe someone else knows: "I have two scrolling fields in a stack. While the first works as it should, field 2 scrolls whenever the cursor is outside and above or

Re: Switch, Case and wild-cards?

2012-12-28 Thread Peter Haworth
Seriously though, I have this feeling that matchText and matchChunk are potentially very useful tools if only I could understand the syntax of regular expressions. I've been to both web references mentioned in the dictionary and have a really hard time understanding them. Does anyone have any ref

copying embedded pdfs

2012-12-28 Thread Jean Rioux
I am designing a desktop app for Mac and Windows. I have set up a revBrowser object which loads a pdf for viewing. I would like to allow users to select and submit a portion of the contents as an answer to prompts which are provided to them. Apparently, revBrowserGet "selected" does not work fo

Re: Switch, Case and wild-cards?

2012-12-28 Thread David C.
> Frankly, I've never bothered to count how many case statements there are > there; but, certainly > 500. > > Richmond. Couldn't help myself... I copied the contents of the PDF file and ran it through some LC magic to determine that you in fact do have "only" 1420 case statements. Thank you Richm

Re: Switch, Case and wild-cards?

2012-12-28 Thread Dr. Hawkins
On Friday, December 28, 2012, Mike Bonner wrote: > regex IS the purple thing. > And for those who havent yet, you really don't *want* to see recursive purple . . . -- Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@

Re: Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Keith Clarke
Thanks for the response Jose - good to know that .htaccess changes should be available in a CPanel environment without any server-side Apache restart. (On my Plesk-based VPS, I have full control over my instances of server-based services - and have to restart Apache for these things to work.)

Re: Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Jose Valle
Hi am ever had to restart apache to it realize changes on .htaccess under cpanel. If we are talking for a certain domain name the nature of cpanel makes no sense. Imagine have to restart apache each time an user changes anything with hundreds or thousands of accounts in a server managed by cpa

Any On-Rev users know how to restart Apache server on CPanel?

2012-12-28 Thread Keith Clarke
Hi folks, Sorry to post here as well as the On-Rev forum but I'm not sure about the traffic levels over there for this new post http://forums.on-rev.com/viewtopic.php?f=4&t=466 I'm looking to restart the Apache server on my On-Rev account, to recognise a .htaccess file I've added to enforce h

Re: Switch, Case and wild-cards?

2012-12-28 Thread Mike Bonner
regex IS the purple thing. On Thu, Dec 27, 2012 at 8:42 PM, Peter Haworth wrote: > You mean regex doesn't make you run around babbling about purple things?! > On Dec 27, 2012 6:11 PM, "Mark Wieder" wrote: > > > Richmond- > > > > Thursday, December 27, 2012, 2:26:07 PM, you wrote: > > > > > So

Re: Learning LiveCode

2012-12-28 Thread Richmond
On 12/28/2012 12:34 PM, Keith Clarke wrote: I know I'm not alone in having great difficulties in getting experienced developers to withhold their judgement on LiveCode being anything more than hobby-ware. 'hobby-ware'; well, yerrs, if all one is looking at are baby things for teaching positi

Re: Switch, Case and wild-cards?

2012-12-28 Thread Richmond
On 12/28/2012 04:15 AM, Joe Lewis Wilkins wrote: Mark: Richmond's just exaggerating as he is oft want to do! He can't help himself; it's in his stars. Joe Wilkins Scoff: http://andregarzia.on-rev.com/richmond/CASE.zip [This contains a PDF listing of the script of one object in my Devawr

Re: Learning LiveCode

2012-12-28 Thread Keith Clarke
I know I'm not alone in having great difficulties in getting experienced developers to withhold their judgement on LiveCode being anything more than hobby-ware. If RunRev want to bring developers across the great divide, there must be a bridge from where the masses reside to the brave new wor