Re: Hypercard: the missing link to the web

2012-06-01 Thread Peter M. Brigham, MD
On Jun 1, 2012, at 1:47 AM, stephen barncard wrote: > yeah, like me, I was devoted to read the Evangelist and Hypercard forums > every day. I piped the forums into the studio First Class systems. First Class! Now that brings back memories! Is there a museum somewhere for dead software? -- Peter

Re: hello

2012-05-31 Thread Peter M. Brigham, MD
Two of my other contacts have "sent" me spam from their Yahoo accounts in the past week. I suspect that someone has recently succeeded in a large scale Yahoo attack. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 31, 2012, at 6:32 PM, Bob Sneidar wrote: > So

Re: Hypercard: the missing link to the web

2012-05-31 Thread Peter M. Brigham, MD
On May 31, 2012, at 8:44 AM, René Micout wrote: > under name "pmbrig " ? Yes, I just posted something on this forum mentioning LC. So did Lynn Fredericks. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig > Le 31 mai 2012 à 13:15, Bernard Devlin a écrit : > >> http:

Re: Training Live in Atlantic City Book

2012-05-30 Thread Peter M. Brigham, MD
On May 30, 2012, at 12:51 PM, Richmond wrote: > It is odd that the e-mail didn't say who wrote the "Training Live in Atlantic > City" book. That's OK, I didn't get the email. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig _

Re: Tracking And Deleting Objects Via Custom Properties?

2012-05-29 Thread Peter M. Brigham, MD
You could use this, something I saved along the way. I *think* it's from the stdLib by Ken Ray and Richard Gaskin, but I've lost track. on deleteCustomProperty tObjRef,tPropSet,tProp -- not sure where this comes from, it's not mine -- thanks to ! put the custompropertyset of tObjRef int

Re: Peter M. Brigham´s textlib.rev

2012-05-29 Thread Peter M. Brigham, MD
On May 25, 2012, at 5:40 PM, Matthias Rebbe wrote: > Hi, > > Bob Sneidar already helped me out. > > Regards, > > Matthias > Am 25.05.2012 um 23:26 schrieb Matthias Rebbe: > >> Hi, >> >> last year in summer Peter M. Brigham posted a download link to his library >> textlib.rev. The download

Re: Peter M. Brigham´s textlib.rev

2012-05-25 Thread Peter M. Brigham, MD
On May 25, 2012, at 5:40 PM, Matthias Rebbe wrote: > Hi, > > Bob Sneidar already helped me out. > > Regards, > > Matthias > Am 25.05.2012 um 23:26 schrieb Matthias Rebbe: > >> Hi, >> >> last year in summer Peter M. Brigham posted a download link to his library >> textlib.rev. The download

Re: lcTaskList Performance

2012-05-25 Thread Peter M. Brigham, MD
on the bet it would pay off. I'll probably content myself with making standalone utilities to help supplement the software I'm about to have to use. I'm already working on something that will display drug interactions for a list of meds. > On May 24, 2012, at 8:16 PM, Peter

Re: lcTaskList Performance

2012-05-25 Thread Peter M. Brigham, MD
On May 25, 2012, at 12:14 AM, Bill Vlahos wrote: > Peter, > > So you have over 140,000 objects to search through and it does that in 20 > seconds? How long does it take the LiveCode Find and Replace function to > search all of that? Searching through all those objects in 20 seconds might > not

Re: lcTaskList Performance

2012-05-24 Thread Peter M. Brigham, MD
On May 24, 2012, at 6:36 PM, Paul Looney wrote: > Bill, > > I've been following the RunRev list comments about lcTaskList speed. > > For what it is worth > 1. I have 46 large stacks open on my desktop (just for testing, I don't work > this way) > 2. Some of these are substacks, most are main st

Re: [OT] Saved by Dropbox Packrat

2012-05-23 Thread Peter M. Brigham, MD
On May 23, 2012, at 8:11 PM, Andre Garzia wrote: > On Wed, May 23, 2012 at 9:02 PM, Tim Jones wrote: > >> On May 23, 2012, at 4:43 PM, Andre Garzia wrote: >> >>> If you're not a Packrat user, your history is retained only for 30 days >> if I remember correctly. This is enough to save your life

Re: [PREVIEW] Task LIst Plugin (lcTaskList) for LiveCode

2012-05-23 Thread Peter M. Brigham, MD
On May 23, 2012, at 9:50 AM, Bill Vlahos wrote: > I have not seen anything like that delay as I do a wait for 0 seconds but not > with messages. > > How many stacks do you have open? How big are they? mainstack + 45 substacks (not all open, but showing in the application browser), 34,000+ line

Re: [PREVIEW] Task LIst Plugin (lcTaskList) for LiveCode

2012-05-23 Thread Peter M. Brigham, MD
On May 23, 2012, at 12:24 AM, Bill Vlahos wrote: > Have you ever forgotten where you last left off in your scripts? Need a > better way to manage the code you need to write or fix, or make a quick note > of a future feature? > > The lcTaskList plugin for LiveCode helps you bookmark and priorit

Re: Age & Anniversary Calculations

2012-05-21 Thread Peter M. Brigham, MD
ter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 21, 2012, at 3:02 PM, Bob Sneidar wrote: > Wasn't there a recent post that indicated this would not work? Anything > before a certain date (I forget what it was) would be a day off? > > Bob > > > On May 21,

Re: Age & Anniversary Calculations

2012-05-21 Thread Peter M. Brigham, MD
Here's what I use for #1: function doAge tDate,asOf -- return the age given birthdate = -- as of the date (if empty, assumes today) convert tDate to dateItems if asOf = empty then put the date into asOf end if convert asOf to dateitems put item 1 of asOf - item 1 of tD

Re: LiveCode-HyperCard XCMD's

2012-05-18 Thread Peter M. Brigham, MD
On May 18, 2012, at 1:16 AM, Richmond wrote: > On 18/05/12 02:53, -=>JB<=- wrote: >> I thought there was an option to save it that way. In the >> past they could. > > "The past is another country, and they do things differently there." J. P. > Hartley. That's a coincidence -- I come from that

Re: I want to be a flasher.

2012-05-17 Thread Peter M. Brigham, MD
On May 16, 2012, at 6:46 PM, Mark Wieder wrote: > It's better than the typo I usually make, where it comes out LiceCode. Ooooh, now *that's* buggy code... -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode ma

Re: [OT] Was: Windows Metro

2012-05-17 Thread Peter M. Brigham, MD
On May 15, 2012, at 10:06 PM, J. Landman Gay wrote: > On 5/15/12 6:21 PM, Igor de Oliveira Couto wrote: >> On 16/05/2012, at 8:40 AM, Peter Haworth wrote: >> >>> Ah, another conspiracy theorist I see! >> >> All conspiracy theories aside, there *is* something to be said about giving >> Google, F

Re: Windows Metro

2012-05-16 Thread Peter M. Brigham, MD
On May 15, 2012, at 1:33 PM, Richmond wrote: > On 05/15/2012 03:56 PM, Peter M. Brigham, MD wrote: >> I'm still running Office 2004 (Mac) -- never saw a reason to move on. Doing >> the regular updates allows forward compatibility, so I can open newer Word >> document

Re: Getting a single column of a datagrid

2012-05-16 Thread Peter M. Brigham, MD
ave an array with 3 keys, test1,test2,test3. You only want the values > from test3. > > put printkeys(myArray) into theArrayText > filter theArrayText with "*test3: *" > > Voila! Now you only have values from the test3 key. > > Bob > > > On May

Re: Windows Metro

2012-05-15 Thread Peter M. Brigham, MD
I'm still running Office 2004 (Mac) -- never saw a reason to move on. Doing the regular updates allows forward compatibility, so I can open newer Word documents fine. Of course, I'm not doing any heavy lifting in Word, so I don't need a lot of features. I'll have to buy the new version when I sw

Re: Getting a single column of a datagrid

2012-05-15 Thread Peter M. Brigham, MD
the filtering is done so I can effectively filter an array. > Pretty handy at times. > > Let me know if you want those functions as well. > > Bob > > > On May 12, 2012, at 7:27 AM, Peter M. Brigham, MD wrote: > >> Thanks, Bob. >> >> B

Re: ANN: Tiny Loupe 1.0 (well, sorta)

2012-05-13 Thread Peter M. Brigham, MD
http://home.comcast.net/~pmbrig On May 12, 2012, at 10:26 PM, Dar Scott wrote: > Nice. May I mention that as an alternative on my website or should this be > considered an ephemeral link? > > Dar > > On May 12, 2012, at 11:07 AM, Peter M. Brigham, MD wrote: > >> Cool! I

Re: ANN: Tiny Loupe 1.0 (well, sorta)

2012-05-12 Thread Peter M. Brigham, MD
Cool! I took the liberty, Dar, of adding crosshairs to the image display, so the cursor hotspot is easy to see. The modified stack is at: http://dl.dropbox.com/u/3504108/Tiny%20Loupe.rev.zip -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 11, 2012, at 1:08 AM,

Re: Sort of a problem

2012-05-12 Thread Peter M. Brigham, MD
If you have streets like "SW 34th St" you'll have a problem -- you should probably adjust your pickStreet function: function pickStreet pName if word 1 of pName is among the words of "N S E W NE NW SE SW" then return word 2 to -1 of pName end if return pName end pickStreet -- Pete

Re: array mystery

2012-05-12 Thread Peter M. Brigham, MD
On May 10, 2012, at 5:49 PM, Bob Sneidar wrote: > I just forwarded an email Trevor sent to the list some time ago with the code > in it. > > Bob > > > On May 10, 2012, at 2:34 PM, Peter M. Brigham, MD wrote: > >> It was apparently part of Trevor's sqlYog

Re: Getting a single column of a datagrid

2012-05-12 Thread Peter M. Brigham, MD
Thanks, Bob. BTW, don't know why but as you can see your LC scripts tend to have asterisks bracketing keywords, not to mention extra blank lines. Are you pasting formatted text that's getting mis-translated? I can clean this up and try it out, thanks again. -- Peter Peter M. Brigham pmb...@g

Re: array mystery

2012-05-10 Thread Peter M. Brigham, MD
d library. Add a datagrid to your project > and see if it works. > > Bob > > > On May 10, 2012, at 11:12 AM, Peter M. Brigham, MD wrote: > >> Sorry, I know you've written about printkeys() but I don't have it. Is it a >> function handler? If so ca

Re: array mystery

2012-05-10 Thread Peter M. Brigham, MD
ntains after the script finishes > executing as well. > > Bob > > > On May 10, 2012, at 6:27 AM, Peter M. Brigham, MD wrote: > >> Well, I've given up for the moment. Weeding out null characters made no >> difference, and arrayEncoding/decoding made no difference

Re: array mystery

2012-05-10 Thread Peter M. Brigham, MD
d it a few > times and it's worked very nicely. Probably too late for you now since > you've written LC handlers to do it. > > Pete > lcSQL Software <http://www.lcsql.com> > > > > On Thu, May 3, 2012 at 10:47 AM, Peter M. Brigham, MD wrote: > >>

Re: Is there a way to shorten this script? (100 graphics and 200 lines of text)

2012-05-10 Thread Peter M. Brigham, MD
On May 8, 2012, at 2:57 PM, William de Smet wrote: > Now searching the forum for a way to use AirPrint (but that one seems > sort of impossible at the moment). I have a set of handlers that sends a print job from within LC to whatever the currently available printer is, whether a USB-connected p

Re: PayPal IPN & LC - Scripts are posted

2012-05-08 Thread Peter M. Brigham, MD
On May 7, 2012, at 12:18 PM, Bob Sneidar wrote: > If a developer doesn't descends into a crazed sputtering rage from time to > time, they probably should not be developing software. ;-) PROGRAM, tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportuniti

Re: Disabling a menu item

2012-05-05 Thread Peter M. Brigham, MD
On May 5, 2012, at 5:50 PM, Dar Scott wrote: > In Primer Primer, menu item disabling no longer works. The "(" at the end of > the menu items line shows up and the item is not disabled. Doesn't the "(" have to come at the start of the line? -- Peter Peter M. Brigham pmb...@gmail.com http://hom

Re: PayPal IPN & LC - and Beef Stew

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 6:28 PM, Peter Haworth wrote: > - split tVar by whateverworks > > - if tvar IsSomethingCloseTo "abc" then > > - send mouseUp to button "xyz" AtSomePointInTime > > - get SomeSortOfOffset(tvar,tText) > > - put Optionally "xyz" into tVar "2 + 2 = 5, for sufficiently large

Re: array mystery

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 5:34 PM, dunb...@aol.com wrote: > Peter. > > There was a very recent thread about permissible chars for an array, and it > seems that all chars except null work fine. is it possible that your > recalcitrant empty lines might contain (or simply be) a null? Would putting the s

Re: array mystery

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 3:10 PM, Ken Ray wrote: > > On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote: > >> I have a customprop, CYPdata, that is an array, each element of which is an >> array itself. I am scraping the data to build CYPdata from an HTML page on >>

Re: array mystery

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 3:10 PM, Ken Ray wrote: > > On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote: > >> I have a customprop, CYPdata, that is an array, each element of which is an >> array itself. I am scraping the data to build CYPdata from an HTML page on >>

array mystery

2012-05-03 Thread Peter M. Brigham, MD
I have a customprop, CYPdata, that is an array, each element of which is an array itself. I am scraping the data to build CYPdata from an HTML page on the web, and filling it via script by parsing the HTML. There is an odd bug that I'm trying to get to the bottom of, and something strange is hap

Re: Problem with pasting from a Rev App to Pages..

2012-05-03 Thread Peter M. Brigham, MD
There used to be a clipboard utility for the Mac (somewhere back in the 10.5 days or thereabouts) that would allow you to manipulate the contents of the clip after copying, with a huge variety of options: text functions like changing case, font, size, unwrapping "hard" lines, etc., and IIRC also

Re: LinkedIn's App Is...

2012-05-03 Thread Peter M. Brigham, MD
On May 2, 2012, at 2:26 PM, Scott Rossi wrote: > Recently, Mike Kerner wrote: > >> Interesting article from VentureBeat on LinkedIn's mobile app. It was >> built in >> http://venturebeat.com/2012/05/02/linkedin-ipad-app-engineering/ > > An interesting (and important, IMO) comment at the

Re: Tab Enabling/Disabling commands

2012-05-02 Thread Peter M. Brigham, MD
On May 1, 2012, at 1:25 PM, Bob Sneidar wrote: > This is getting embarrassing. Seems that setting wholeMatches to true > prevented finding a tab item that was preceded by a "(" which is the > disabling character for a menu item. If I can't find it, I can't re-enable > it! This should resolve th

Re: Installing new software

2012-04-29 Thread Peter M. Brigham, MD
On Apr 29, 2012, at 3:49 PM, Peter Haworth wrote: On Sun, Apr 29, 2012 at 12:07 PM, Alex Tweedly wrote: >> H ... I could be wrong (Haven't done it myself), but I thought the >> usual way to do this was to have a "splash screen" approach >> >> - the splash screen stack starts up and quickly

Re: LC for Android: Retrieve center lat n lng from LC browser using google maps?

2012-04-24 Thread Peter M. Brigham, MD
On Apr 23, 2012, at 11:53 PM, Barry G. Sumpter wrote: > Hi all, > > I'm using the LC for Android browser. > I've got a web page .html that will allow me to pin point a specific > location on a Google map. > The HTML will display the lat n lng of that address and the closest matching > address. >

Re: Help using Shell to open a file in Excel

2012-04-21 Thread Peter M. Brigham, MD
On Apr 21, 2012, at 5:19 AM, Ian McKnight wrote: > Hi > > I have a stack which produces a set of tables which I want to export to > excel. > > What I would like: > User clicks a button in LC and excel opens with the tables in place. > > What I have: > User clicks a button, saves the file to dis

Re: Position of a tab in a tab control.

2012-04-20 Thread Peter M. Brigham, MD
If using Mark's custom tab control doesn't work for you, here's a kludgy work-around. It requires a hidden field "hiddenTestFld" with margins set to 6. on positionControl btnName, tabNbr -- btnName is the name of your tab button put the formattedwidth of btn btnName into bWidth put the f

Re: openStack called from subStack - why ?

2012-04-20 Thread Peter M. Brigham, MD
More specifically: close a stack, and the "closeStack" message is sent first to the current card of the closing stack. When you close a substack, if there is no closestack handler in the card script then the message is passed up the message path, and the next station on the path is the substack

Re: how to do this type of search

2012-04-09 Thread Peter M. Brigham, MD
On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote: > > > If only it truly were that simple... > > In my example, lineOffset would return "3" for "is". But "5" is what I'm > after. Sorry, setting the wholematches to true then doing lineoffset will get you whole matches for lines. Instead: set

Re: how to do this type of search

2012-04-09 Thread Peter M. Brigham, MD
Set the wholematches to true before your search, then it will only locate the string when it is a whole word. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote: >> The 'lineOffset' function will be your friend here... >

Re: A problem with Font Menu in LC Resource Center

2012-04-07 Thread Peter M. Brigham, MD
On Apr 7, 2012, at 1:38 PM, Charles Szasz wrote: > Peter, > > Thanks! But that is how the script is presented in the Resource Center with > no breaks before the end of the switch. I did insert a break after the last > case statement but the script still does not work. Any other suggestions? Ju

Re: A problem with Font Menu in LC Resource Center

2012-04-07 Thread Peter M. Brigham, MD
On Apr 6, 2012, at 10:44 PM, Charles Szasz wrote: > on menuPick theMenuItem > set the itemDelimiter to "|" > switch item 1 of theMenuItem ---the submenu name > case "Font" > set the textFont of field "Example Text"\ >to item 2 of theMenuItem > break >

Re: Good article!

2012-04-06 Thread Peter M. Brigham, MD
What article are you talking about? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Apr 6, 2012, at 12:03 PM, Bob Sneidar wrote: > Kudos to Mark Smith for a good article. It demonstrates how technique > transcends the environment. > > Bob > _

Re: P

2012-04-01 Thread Peter M. Brigham, MD
On Apr 1, 2012, at 9:20 AM, mark.rauter...@gmail.com wrote: > > Sent from my BlackBerry® Q? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

Re: [OT] inter-Face

2012-04-01 Thread Peter M. Brigham, MD
On Apr 1, 2012, at 8:36 AM, Klaus on-rev wrote: > Hi all, > > Am 01.04.2012 um 14:31 schrieb Gene Lambert: > >> Wow! I want one, or two. The lawyers are going to love this. If talking on >> a cell phone while driving was an intense national issue, just wait until >> they get wind of people wan

Re: field focused but why ?

2012-03-31 Thread Peter M. Brigham, MD
If you put the field into a group and set the group's traversalon to false, it will prevent the field from getting the focus on opencard, at least in desktop stacks. Don't know if this works in iOS too. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 31, 2012,

Re: Progress Bar

2012-03-30 Thread Peter M. Brigham, MD
On Mar 30, 2012, at 12:29 PM, Pete wrote: > Those quantum guys are such pranksters! or not! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Progress Bar

2012-03-29 Thread Peter M. Brigham, MD
On Mar 29, 2012, at 6:56 PM, Mike Bonner wrote: > Its a particle.. Its a wave! its a particle. Its a wave! Its a cat in a > box! Coincidence -- someone just sent me today a cartoon: a fake poster: Reward! $1,000,000,000 Schroedinger's Cat Wanted Dead and Alive -- Peter Peter M. Brigham pmb...

Re: Regular expression escape characters

2012-03-29 Thread Peter M. Brigham, MD
On Mar 28, 2012, at 9:39 AM, I wrote: > I have a bias (often warranted) towards using LC's text and chunking > capabilities rather than LC. If you know that the runs of question marks and > exclamation points will alway be length = 3 then you could avoid Regex: ... Sorry, meant to say "I have a

Re: Regular expression escape characters

2012-03-29 Thread Peter M. Brigham, MD
On Mar 28, 2012, at 11:19 PM, Bill Vlahos wrote: > I am building a regular expression to find a set of question marks and > exclamation points. For example ??? or !!!. > > These are special characters so they mean something to a regular expression. > > How do I find them in the text? > > If I

Re: CalendarWidget

2012-03-28 Thread Peter M. Brigham, MD
For instance, in your stack, or in your field script: start using stack "calendarWidget100" -- d = date, in dateitems format put altAnswerDate(item 1 of d,item 2 of d,item 3 of d) into theDate stop using stack "calendarWidget100" if theDate = "" then exit to top put item 2 of theDate & "/" & item

max length of array key

2012-03-23 Thread Peter M. Brigham, MD
What is the maximum size of a string used as a key of an array? I can't find it in the documentation. 256 sticks in my mind. ??? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@li

Re: Need an example of how to use "try" and "catch"

2012-03-23 Thread Peter M. Brigham, MD
The syntax is there at the top but it's not formatted -- tabs or space-runs between the lines instead of cr's. Looks like a problem in the dictionary stack with displaying the text from the customprop. If it were displayed properly you could see the structure, and then the commentary would expla

Re: accessing colorized script

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 5:21 PM, Mark Wieder wrote: > Peter M. Brigham, MD writes: > >>>> Yes. When I use "-1" instead of the lengthier form, it won't compile, and > the long form compiles but doesn't >> do anything when I execute it. No error, no

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 1:32 PM, J. Landman Gay wrote: > On 3/22/12 12:21 PM, Jim Hurley wrote: >> Thanks Peter. >> >> The problem now is what do these bloody error numbers translate into. >> Is the a list somewhere? > > The list is explained in the "errordialog" entry in the dictionary. You can >

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > Thanks Peter. > > The problem now is what do these bloody error numbers translate into. > Is the a list somewhere? Jacque posted this two days ago: On 3/20/12 12:37 PM, Ralph DiMola wrote: > OK, I give up. How do you translate error num

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 1:11 PM, Jim Hurley wrote: > It does give an error here. I get the error message: > > button "Button": execution error at line n/a (Object: object does not have > this property) Sounds as if you're trying to get a built-in property that doesn't apply to that type of objec

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 12:22 PM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 The syntax for the try construction is try catch tError end try and the error

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote: > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] of button "soAndso" into tProp > > Where the built in property may not exist.How would one catch the error and > perhaps proce

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote: > The dictionary needs an example of how the "try" command is used to catch an > error. > > Anyone have an illustration? > > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] o

Re: accessing colorized script

2012-03-21 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 4:51 PM, Mark Wieder wrote: > Jacque- > > Tuesday, March 20, 2012, 1:44:08 PM, you wrote: > >> On 3/20/12 3:30 PM, Mark Wieder wrote: >>> Jacque- >>> >>> Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >>> > _internal script colorize line 1 to (the number of lines of fi

Re: Failing to understand the oddities of the "line" chunk

2012-03-21 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 11:52 AM, Bob Sneidar wrote: > So let it be done! But let's go with consistency in ALL things. Tough to do, as long as we're using English -- though you might have thought through this already (cough, cough):-) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comc

Re: accessing colorized script

2012-03-21 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 11:46 AM, J. Landman Gay wrote: > On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: >> Anyone know how I can get the colorized htmltext of a script from the >> script editor without opening the editor and copying the text? > > I don't think you can any

Re: Failing to understand the oddities of the "line" chunk

2012-03-20 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 10:00 AM, Klaus on-rev wrote: > Hi Peter, > > Am 20.03.2012 um 14:40 schrieb Peter M. Brigham, MD: > >> On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote: >> >>> On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay >>> wrote: >>

accessing colorized script

2012-03-20 Thread Peter M. Brigham, MD
Anyone know how I can get the colorized htmltext of a script from the script editor without opening the editor and copying the text? I have a handler that puts a section of a stack script into a field -- pretty straightforward to just extract the relevant plain text from the script. But it would

Re: Failing to understand the oddities of the "line" chunk

2012-03-20 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote: > On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay > wrote: > >> I think it should behave the same way character selections do. A negative >> range has been a valid construct since HyperCard and is, actually, the only >> way to set the insertion po

Re: MySQL joined select

2012-03-19 Thread Peter M. Brigham, MD
repeat with n = 1 to length(tInput) if char n of tInput is a number then put "+" into char n of tInput else put "-" into char n of tInput end repeat Or am I missing something? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 19, 2012, at 5:15 PM, Pete w

Re: IphoneDeviceScale

2012-03-19 Thread Peter M. Brigham, MD
Now, I know for sure you can scale a fish. Never done it using LC, though. Is there an external for that? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 19, 2012, at 1:24 PM, François Chaplais wrote: > Try using a fish. > Fish! Fish! my favorite dish! > Fran

Re: Detection of Keyboard Closing

2012-03-14 Thread Peter M. Brigham, MD
The other way, which I have used for some time, is to group the field (either in a group by itself, or including all the fields you don't want to automatically get focused) then set the group's traversalOn to false. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On

Re: a little help with "find" script

2012-03-09 Thread Peter M. Brigham, MD
Another approach, may not be exactly what you're looking for but can easily be adapted, is a utility handler I've used for years: function offsets str,@cntr -- returns a comma-delimited list of all the offsets of str in cntr -- cntr is passed by reference to avoid unnecessary duplication

Re: How to set initial appearance of all buttons on UI using behaviors

2012-03-05 Thread Peter M. Brigham, MD
Mar 5, 2012, at 6:51 PM, J. Landman Gay wrote: > On 3/5/12 4:46 PM, Sivakatirswami wrote: > >> I have studied out behaviors a bit, but can we use a behavior button as >> a kind of template for all the static props of other objects? >> >> e.g. you have twenty buttons on a GUI and you want to cha

Re: Data Grid Templates 1330583110740

2012-03-04 Thread Peter M. Brigham, MD
Impossible to understand this out of context. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 4, 2012, at 2:04 PM, Cal Horner wrote: > Hi Bob > > No, nothing as sophisticated as that. > > Check the second paragraph of my first posting. It was vanilla LC 5.0.2

Re: FYI: Mac trojan horse

2012-02-27 Thread Peter M. Brigham, MD
> Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za > > On 27 feb 2012, at 23:20, Peter M. Brigham, MD wrote: > >> Just got this from Mac

Re: Stray Puts

2012-02-25 Thread Peter M. Brigham, MD
I see I'm behind the curve again, should have read the rest of the thread before posting... -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On 2/25/11, Peter Brigham wrote: > On Feb 24, 2012, at 3:58 PM, J. Landman Gay wrote: > >> On 2/24/12 1:55 PM, Dar Scott wrot

Re: Stray Puts

2012-02-25 Thread Peter M. Brigham, MD
On Feb 24, 2012, at 3:58 PM, J. Landman Gay wrote: > On 2/24/12 1:55 PM, Dar Scott wrote: > >> I suspect we are all doing this the wrong way. Maybe there are >> debugging features or compiler optimizations that allow for better >> ways to do this. > > I've started doing it the way someone else

Re: Get number of occurrences of one string in another

2012-02-23 Thread Peter M. Brigham, MD
Here's what I've been using for years, same idea, but more general: function howmany tg,ctr if ctr = empty then return 0 repeat for each item i in "8,7,6,5,4" put numtochar(i) into divChar if divChar is not in ctr then exit repeat if i = 4 then return "error in howmany()"

Re: Give some feedback that a field line has been clicked

2012-02-22 Thread Peter M. Brigham, MD
Probably something like this will do: on mouseup put word 2 of the clickline into lineNbr select line lineNbr of me -- assumes autohilite = true wait 8 ticks select empty end mouseup -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 22, 2012, at 10:05 AM,

Re: Visual effect problems in iOS

2012-02-21 Thread Peter M. Brigham, MD
Ah, another grammarhead! I love it! I've always found it interesting that the obsessive focus on syntax and grammar needed by programmers/coders to use the coding language well is rarely associated with equal attention to grammatical English. -- Peter Peter M. Brigham pmb...@gmail.com http://h

Re: Math problem

2012-02-18 Thread Peter M. Brigham, MD
I picked this trick up from someone along the way, on this list I believe, I've lost track of where it came from, so credit goes to someone else. You're right, Joe, commenting something as opaque as this (at least at first glance) is advisable, especially when you're sharing code. I can only ple

Re: Using DropBox for Faster Mobile Development

2012-02-18 Thread Peter M. Brigham, MD
On Feb 18, 2012, at 10:57 AM, Michael Doub wrote: > ... > > on mouseUp > put URL "http://dl.dropbox.com/u/43797494/LiveCode/LoadLinks"; into list > repeat for each line x in list > delete the last char of x > put x into StacktoLoad > exit repeat > end repeat > go URL Stackt

Re: Math problem

2012-02-17 Thread Peter M. Brigham, MD
Well, there's something wrong with the K solution and the Paul solution. Stepping through the script with the debugger, for the first line of tStore, the difference between tEndTime and tStartTime = 7974 (I inserted a temp variable tTemp = tEndTime - tStartTime so I could see what was going on).

Re: Math problem

2012-02-17 Thread Peter M. Brigham, MD
od i > 0),"true,false") of (i,0) > end roundUp > > On Fri, Feb 17, 2012 at 1:49 PM, Peter M. Brigham, MD wrote: > >> function roundUp x >> return trunc(x) + char itemoffset((x mod 1 > 0),"true,false") of "10" >> end roundUp Sw

Re: Math problem

2012-02-17 Thread Peter M. Brigham, MD
On Feb 17, 2012, at 12:20 PM, Geoff Canyon Rev wrote: > function roundUp x,i -- rounds x up to the next i > return ((x - .1) div i + 1) * i > end roundUp Works except for values like 4.1. Try this instead. It's a sort of a trick to avoid using a conditional construction, though th

Re: Question about operators

2012-02-16 Thread Peter M. Brigham, MD
On Feb 16, 2012, at 10:49 AM, Timothy Bleiler wrote: > Hi, > If I type Put 1<=1 AND 1<=8 into the message box I get true, but if > If I type Put 1<=1<=8 into the message box I get false. > > Am I missing something or is the second form not allowed? The second form is not a kosher LC statement.

Re: AW: Mac OS X 10.8!

2012-02-16 Thread Peter M. Brigham, MD
Second prize is *two* trips to Philadelphia -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 16, 2012, at 10:09 AM, Tiemo Hollmann TB wrote: > Oh no, not again this soon :( > > >> Betreff: Mac OS X 10.8! >> >> Hi friends, >> >> just in case you did not k

Re: Lion

2012-02-15 Thread Peter M. Brigham, MD
On Feb 15, 2012, at 11:30 AM, Joe Lewis Wilkins wrote: > Hopefully, RR is monitoring these threads and will also learn more things > they need to improve. The live code team will generally only respond to bug/enhancement postings to the Quality Control Center. They have to prioritize their effo

Re: Revzilla?

2012-02-13 Thread Peter M. Brigham, MD
On Feb 11, 2012, at 11:31 PM, J. Landman Gay wrote: > On 2/11/12 10:02 PM, Peter M. Brigham, MD wrote: > >> Ken, I don't see v. 2.3 there, actually the 2 download links are for >> 2.1.1, ostensibly. (I don't know how I got 2.2) > > Try a page refresh, may

Re: HyperCard and the Interactive Web

2012-02-13 Thread Peter M. Brigham, MD
On Feb 12, 2012, at 6:10 AM, Francis Nugent Dixon wrote: > "Windows is just a series of panes" A "pane in the OS"? (Sorry, I don't want to start a platform flame war, but I just couldn't help myself...) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig __

Re: Revzilla?

2012-02-11 Thread Peter M. Brigham, MD
On Feb 11, 2012, at 3:09 PM, Ken Ray wrote: > Mark, I just realized that I hadn't uploaded 2.3 to the STS web site, so > Peter couldn't download it. I have jus remedied the situation - anyone who is > having trouble with RevZilla, feel free to download 2.3 from: > > http://www.sonsothunder.com/

Re: Revzilla?

2012-02-11 Thread Peter M. Brigham, MD
On Feb 11, 2012, at 3:09 PM, Ken Ray wrote: > > On Feb 11, 2012, at 11:35 AM, Mark Wieder wrote: > >> Peter- >> >> Saturday, February 11, 2012, 7:01:10 AM, you wrote: >> >>> I have been using Ken Ray's Revzilla plugin for years but in the >>> past year or so it has been broken for me. It looks

Re: Revzilla?

2012-02-11 Thread Peter M. Brigham, MD
On Feb 11, 2012, at 12:35 PM, Mark Wieder wrote: > Peter- > > Saturday, February 11, 2012, 7:01:10 AM, you wrote: > >> I have been using Ken Ray's Revzilla plugin for years but in the >> past year or so it has been broken for me. It looks from the >> SonsOfThunder website that it hasn't been upd

Re: Recursion

2012-02-11 Thread Peter M. Brigham, MD
On Feb 10, 2012, at 4:35 PM, Mark Wieder wrote: > haha... > > ever tried a Google search for recursion? Circular definition: see Definition, circular. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode maili

  1   2   3   >