Re: [OT] Flash is NOT Dead

2011-08-02 Thread Peter Brigham MD
On Aug 2, 2011, at 12:12 PM, Lynn Fredricks wrote: It would appear Flash is dead or certainly critically ill. Happened much quicker than even I expected. http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914id=e 9381817-0593-417a-8639-c4c53e2a2a10 And all those people who thought

Re: How do I remove part of a path?

2011-08-01 Thread Peter Brigham MD
When you replace item 4 of tStr with empty, you don't delete the item itself, you just make the item empty: put a/b/c/d/e/f into k set itemdel to / put into item 4 of k put k - a/b/c//e/f What you need to do is delete the item itself: put a/b/c/d/e/f into k set itemdel to / delete item 4

Re: User Interface Question

2011-07-31 Thread Peter Brigham MD
And it's much better not to lock the cursor and then change it. Locked cursors have a way of sticking if the handler to unlock the cursor somehow misses. instead, don't lock anything, just set the defaultcursor to hand, then set it to empty when done. I usually have this in my stack script: on

Re: Getting someone's age from dob and current year

2011-07-31 Thread Peter Brigham MD
On Jul 31, 2011, at 12:03 AM, Warren Samples wrote: On Saturday, July 30, 2011 07:16:44 PM Roger Eller wrote: convert tToday to seconds convert tBorn to seconds It's been talked about before, but this calls for a reminder: attempting to convert a date prior to Jan 1, 1970 to seconds

Re: Where does survive the inventive user ?

2011-07-30 Thread Peter Brigham MD
On Jul 30, 2011, at 10:42 AM, Richard Gaskin wrote: Kay C Lan wrote: I look in my wallet an there are a couple of notes and a couple of plastic cards. The notes represent about 0.01% of iMoney I have in my account. I can use those plastic cards to access the BankCloud and if the strangers

Re: Where does survive the inventive user ?

2011-07-27 Thread Peter Brigham MD
Just to let you know that you're not alone -- I'm a similar LC user, started with HC (actually bought and read through Danny Goodman's book even before I bought my first Mac), developed a set of stacks to manage my clinical notes, incorporated more and more features, moved it over to LC a

Re: Setting a dirty flag for a file

2011-07-21 Thread Peter Brigham MD
On Jul 21, 2011, at 4:02 PM, Mark Schonewille wrote: Hi Charles, I read your e-mail again. I understand that you want to know whether one or more fields have changed, not whether a file is open. Usually, I generate an md5Digest and save that: on closeField makeDigest end

Re: AW: security code number generation

2011-07-18 Thread Peter Brigham MD
Brigham MD pmb...@gmail.com wrote: For anyone who might have the need, I have a handler I use to generate a security code, in my case for printed prescriptions. It takes the name of the patient, the date of the prescription, the medication and med strength and hashes all that to produce a ten

Re: Mac OS X missing controls in the LiveCode IDE

2011-07-12 Thread Peter Brigham MD
At the risk of embarrassing Stephen, here is a link to his older life in music: http://www.allmusic.com/artist/stephen-barncard-p54338/credits -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 12, 2011, at 1:07 PM, stephen barncard wrote: it's true. I'm

Re: defining and using globals in an application

2011-07-12 Thread Peter Brigham MD
I've been telling my bosses I could use arrays -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 12, 2011, at 1:30 PM, Bob Sneidar wrote: Hey now! Those aren't arrays!! Bob On Jul 9, 2011, at 3:05 AM, Francis Nugent Dixon wrote: Of course, I

Re: text formatting

2011-07-10 Thread Peter Brigham MD
You can create the htmltext by hand as suggested, or you can do something like the following (not tested): -- script snippet local dvdr = -- or whatever -- tEntry contains the template for an entry replace timestamp with tTime in tEntry replace firstName with

Re: Using linkText

2011-07-08 Thread Peter Brigham MD
On Jul 7, 2011, at 6:17 PM, Ken Ray wrote: On Jul 7, 2011, at 4:14 PM, Pete wrote: Thanks, hadn't noticed that. But it just seems to make the text a link or not, no way to specify what the link should be. Maybe I'm misunderstanding the purpose of linkText. What I want to do is have

Re: select after the selectedText

2011-07-06 Thread Peter Brigham MD
On Jul 6, 2011, at 3:47 AM, Richmond Mathewson wrote: On 07/06/2011 10:38 AM, Mark Wieder wrote: Richmond- Wednesday, July 6, 2011, 12:19:41 AM, you wrote: I have just tried this: on mouseUp set the useUnicode to true set the unicodeText of the selectedText to numToChar(2340)

Re: autoHilite and focus (following Jacque's solution)

2011-07-06 Thread Peter Brigham MD
On Jul 6, 2011, at 12:52 PM, J. Landman Gay wrote: On 7/6/11 2:06 AM, Slava Paperno wrote: But then I added other buttons to the same card, and found that if any of them has AutoHilite set to true, my focus command is undone, and the focus moves to the card itself as soon as the mouseUp

Re: System Date/Time Format Problems

2011-07-02 Thread Peter Brigham MD
There may be a better way, but you might have to use a shell call. Execute the following in the message box: put shell(man date | col -b) and look at the options. You can get any format you want, and this way you would have full control over date display format in LC. -- Peter Peter M.

Re: [OT] what RGB is blue?

2011-07-02 Thread Peter Brigham MD
I posted a stack to RevOnline demonstrating one of the illusions from the boingboing page. See optical illusion -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 1, 2011, at 4:24 PM, Bob Sneidar wrote: Well that is the point I was making, but when I see how

Re: [OT] Amiga OS in 2011

2011-06-29 Thread Peter Brigham MD
I have a sundial in my back yard. Sure, it's not quite as convenient as a watch, but it don't need no stinkin' batteries -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 29, 2011, at 1:03 AM, Nonsanity wrote: Oh yeah? Well... well... MY wristwatch is a

Re: [OT] Text analysis and author, anyone done it?

2011-06-25 Thread Peter Brigham MD
On Jun 25, 2011, at 3:48 AM, Peter Alcibiades wrote: Well just in case anyone ever does need to do it, here are two places to get started. One is NLTK - the free Natural Language Toolkit and its associated free online book Natural Language Processing with Python. Which appears to double as

Re: [OT] Text analysis and author, anyone done it?

2011-06-25 Thread Peter Brigham MD
On Jun 24, 2011, at 11:46 PM, Peter Alcibiades wrote: It can be done statistically. Various methods have been proposed and used. One general kind of measure is the probability of another word coming, as a function of the past n words. Another is to measure the length of gap between

Re: horizontal and vertical scrolling

2011-06-16 Thread Peter Brigham MD
But when we finally make contact with another intelligent species, will we discover that all their cards are right-handed? (It goes with out saying that such a species will necessarily be using LiveCode.) If so, then importing any of their cards might result in the stack disappearing in a flash

Re: horizontal and vertical scrolling

2011-06-16 Thread Peter Brigham MD
have yet to become a Professional Software Developer . . . . . . . :\ Bob On Jun 16, 2011, at 11:13 AM, Keith Clarke wrote: ...sure they'd use LiveCode but it's ridiculous to just blindly assume that they'd have hands! ;-) Best, Keith.. On 16 Jun 2011, at 19:03, Peter Brigham MD

Re: How to structure HTML text (tags and attributes) for processing in LiveCode?

2011-06-12 Thread Peter Brigham MD
On Jun 12, 2011, at 5:24 PM, Jim Ault wrote: On Jun 12, 2011, at 1:15 PM, Keith Clarke wrote: I am a LiveCode novice (1 year, so still a Rookie!). So, part of the challenge with LiveCode (and indeed, software development in general for me) is understanding the art of the possible. If

Re: [OT] Apple at it again

2011-06-09 Thread Peter Brigham MD
On Jun 9, 2011, at 1:34 PM, Bob Sneidar wrote: I never listen to what people say. I only listen to what they mean. ;-) Bob Now, what exactly do you mean by that? (I speak as a psychiatrist...) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig

Re: [OT] Apple at it again

2011-06-09 Thread Peter Brigham MD
On Jun 9, 2011, at 2:44 PM, Richmond Mathewson wrote: Hey; and if I land the role, I promise NOT to wear my leopard-skin posing briefs . . . . . . whoops, wait a minute . . . Leopard is out . . . I meant to say lion-skin posing briefs . . . :) Better not... as we have been hearing,

Re: [OT] Apple at it again

2011-06-09 Thread Peter Brigham MD
, Peter Brigham MD wrote: On Jun 9, 2011, at 1:34 PM, Bob Sneidar wrote: I never listen to what people say. I only listen to what they mean. ;-) Bob Now, what exactly do you mean by that? (I speak as a psychiatrist...) -- Peter Peter M. Brigham pmb...@gmail.com http

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Peter Brigham MD
Sure -- what you get instead of true or false is damn right there ain't no damn folder! or of course the damn folder exists, stupid! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 7, 2011, at 12:06 PM, Bob Sneidar wrote: will it support double negative

Re: How do you build the tabs like in the script editor

2011-06-06 Thread Peter Brigham MD
On Jun 6, 2011, at 6:49 PM, Jim Ault wrote: It is like clicking the same radio button in a group. If the user makes the same choice in a menu, since there is no change, should the menupick report it? If a tree falls in the forest and nobody is there to hear it, does it make a sound? Or, If

Re: Happy International Geek Pride Day!!!

2011-05-25 Thread Peter Brigham MD
You know you're a geek when you see a movie trailer and you think, 'I have that typeface.' -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 25, 2011, at 11:52 AM, Jonathan Lynch wrote: Hi everyone, I just wanted to wish any of the folks on this list who

Re: [OT] MacDefender

2011-05-21 Thread Peter Brigham MD
On May 21, 2011, at 4:13 AM, Martin Baxter wrote: On 19/05/2011 19:50, Richmond Mathewson wrote: My father (78-9) touched the 'update' thing on Ubuntu and fairly effectively hosed his laptop; now into week 4 of a trans-Europe (England-Bulgaria) e-mail attempt to unhose things . . .

Re: Staying on a field

2011-05-06 Thread Peter Brigham MD
On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on

Re: CustomProperties

2011-05-06 Thread Peter Brigham MD
On May 5, 2011, at 8:37 PM, dunb...@aol.com wrote: You can. You can even set a custom property to an entire stack. I use these all the time, they are incredibly powerful and convenient. But I do not understand what it means to set a property to an object, as opposed to a chunk of

Re: Find restricted to the current card?

2011-05-01 Thread Peter Brigham MD
On May 1, 2011, at 11:50 AM, James Hurley wrote: I have a field with the script: on mouseUP put the value of the clickline into tText set itemdel to tab put item 1 of tText into tText find string tText in field thetext end mouseUP When I click on a line in the field RR

Re: FORMalizer -- form printing utility

2011-04-30 Thread Peter Brigham MD
On Apr 30, 2011, at 9:37 AM, william humphrey wrote: Formalizer is very nice. I too have to do that all the time and your layout is an improvement. The only steps still remaining are the conversion of the PDF to a jpg or png. That is a time-consuming process in Photoshop. All the forms tend

Re: comparing content of two fields

2011-04-28 Thread Peter Brigham MD
On Apr 27, 2011, at 11:55 PM, Ronald Zellner wrote: I have two data fields that have multiple tabbed columns, I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). Using this code to compare line by line: on mouseUp set the

FORMalizer -- form printing utility

2011-04-26 Thread Peter Brigham MD
As I just used this utility stack of mine again recently and was reminded of how much it streamlines a particular task, I thought I'd make it available to anyone who would like to use it. In this age of electronic everything, there are still situations when you have to fill out a paper form

Re: Popup menu menuhistory

2011-04-22 Thread Peter Brigham MD
On Apr 22, 2011, at 12:44 PM, Marty Knapp wrote: Thanks for the suggestion Craig. I did tinker with this some more: So in my test field I have this script: on mousedown whichButton if whichButton is not 3 then exit mousedown put the mouseLoc into ML get lineOffset(the text of

Re: Data-Entry in a LiveCode form using the tab key

2011-04-19 Thread Peter Brigham MD
Solved one part of the problem -- there has to be a wait with messages after the mouseclick. Without this the mousecontrol always returns empty. I have no idea why. I haven't yet figured out how to change the cursor to ensure the user knows s/he is still in the doFieldOrder mode -- it doesn't

Re: Rev/Livecode project and GPL Licenses

2011-04-18 Thread Peter Brigham MD
On Apr 17, 2011, at 7:15 PM, Richard Gaskin wrote: Peter Brigham wrote: On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: Scott McDonald wrote: Where I was getting it mixed up, was that I was equating selling commercially with not making the source code available. But of course,

Re: Data-Entry in a LiveCode form using the tab key

2011-04-18 Thread Peter Brigham MD
On Apr 18, 2011, at 12:43 PM, Bob Sneidar wrote: Or you can get a list of fields whose focusable is true and locktext is false (because you don't want to tab to labels now do you) and then present the developer with an interface where they can click sequentially on the fields in the order

Re: Palette question

2011-04-18 Thread Peter Brigham MD
On Apr 18, 2011, at 12:58 PM, Scott Rossi wrote: Even better: quit LiveCode and your stack will be COMPLETELY not resizable Quit LiveCode??? You can do that -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___

Re: Rev/Livecode project and GPL Licenses

2011-04-17 Thread Peter Brigham MD
On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: Scott McDonald wrote: Thanks Mark for clarifying that. Where I was getting it mixed up, was that I was equating selling commercially with not making the source code available. But of course, they are not the same thing. Not exactly

Re: Currently playing song on iPod Touch

2011-04-01 Thread Peter Brigham MD
Tom McGrath put together an iTunesLibrary in LC. I can't seem to find it in my LC files, but I'm sure he would make it available to you. I used his library to make a little thing called iTunesWidget. Pop it into your plugins folder, and any time you're running in the IDE, you can open it

Re: Currently playing song on iPod Touch

2011-04-01 Thread Peter Brigham MD
, 2011, at 10:23 AM, Peter Brigham MD wrote: http://home.comcast.net/~pmbrig/iTunesWidget.rev.zip I haven't tried to pass this around much, because for reasons I can't track down, clicks sometimes disappear into emptiness with no response, sometimes mousemove doesn't trigger the tooltip

Re: novice question re marked and customkeys

2011-04-01 Thread Peter Brigham MD
On Apr 1, 2011, at 2:37 PM, Bob Sneidar wrote: Okay sorry dislexia has set it. I saw 1022 and it looked like 1002. I looked at it 20 times and saw them as identical. I am so embarrassed. Bob I make stupid mistakes all the time, especially when I've just hit the send button. :-) As I

mileage -- re tax time

2011-03-31 Thread Peter Brigham MD
A little utility I put together that I use for totaling deductible milage for tax purposes. Enter a from address and a to address, click a button to fetch the mileage for that trip (uses Google Maps and parses the HTML), click another button and add the trip to a cumulative list of trips,

Re: mileage -- re tax time

2011-03-31 Thread Peter Brigham MD
On Mar 31, 2011, at 8:47 AM, dunb...@aol.com wrote: Hi. Couldn't access the page. I am not authorized. You probably caught a 45 second window when I was uploading a minor change to the file. Try again. Craig Newman A little utility I put together that I use for totaling deductible

Re: mileage -- re tax time

2011-03-31 Thread Peter Brigham MD
On Mar 31, 2011, at 8:52 AM, Klaus on-rev wrote: Hi Peter, A little utility I put together that I use for totaling deductible milage for tax purposes. Enter a from address and a to address, click a button to fetch the mileage for that trip (uses Google Maps and parses the HTML), click

Re: mileage -- re tax time

2011-03-31 Thread Peter Brigham MD
this and run with it on mobile, please contact me off list. On Mar 31, 2011, at 5:25 AM, Peter Brigham MD wrote: A little utility I put together that I use for totaling deductible milage for tax purposes. Enter a from address and a to address, click a button to fetch the mileage

Re: novice question re marked and customkeys

2011-03-31 Thread Peter Brigham MD
I suspect that using a customproperty of the card would be faster for large numbers of cards. Accessing the contents of a field is slow, relative to pulling customprops. But it probably doesn't matter unless you have 1000 cards. -- Peter Peter M. Brigham pmb...@gmail.com

Re: novice question re marked and customkeys

2011-03-31 Thread Peter Brigham MD
number of cards. Pete On Thu, Mar 31, 2011 at 1:33 PM, Timothy Miller gand...@doctortimothymiller.com wrote: A big thankya goes out to Peter, Mike, Bob and Peter. Good ideas all. Tim On Mar 31, 2011, at 10:49 AM, Peter Brigham MD wrote: I suspect that using a customproperty of the card would

Re: newbie script question re Find command

2011-03-22 Thread Peter Brigham MD
On Mar 22, 2011, at 5:31 PM, Timothy Miller wrote: Hiya, I guess I never tried to write a script like this before. Thought it would be simple... Well, it is simple, probably, just not simple in a way that I actually understand. How do I find multiple instances of a string in a given

Re: Weird script behaviour (was libUrlDownloadToFile urlProgress)

2011-03-22 Thread Peter Brigham MD
You don't have a do statement in there somewhere, do you? The only way I could imagine that kind of behavior happening would be with something like do script of this card. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 22, 2011, at 9:38 PM, Gerry Orkin

new trick, for me

2011-03-04 Thread Peter Brigham MD
Just discovered a trick I didn't know about. This is in the IDE, BTW. I needed to have the first card of one of my stacks as the current card, while I do something from another stack (a utility stack). If I go card 1 of stack stackName then the stack stackName comes to the front, but I

Re: new trick, for me

2011-03-04 Thread Peter Brigham MD
/~pmbrig On Mar 4, 2011, at 1:48 PM, J. Landman Gay wrote: On 3/4/11 12:38 PM, Bob Sneidar wrote: I wonder if that triggers an openCard event? No. I don't think it triggers any messages. Bob On Mar 4, 2011, at 10:05 AM, Peter Brigham MD wrote: Just discovered a trick I didn't know about

Re: new trick, for me

2011-03-04 Thread Peter Brigham MD
, 2011, at 11:04 AM, Peter Brigham MD wrote: It appears not to trigger openCard. FYI, the reason that I needed to do this is that I am trying to do something with long id's and found what seems to be a bug in how the engine handles this. If I do this while on the first card of the stack

Re: A curious case

2011-03-02 Thread Peter Brigham MD
On Mar 2, 2011, at 11:26 AM, Richard Gaskin wrote: Andre Garzia wrote: I tend to work on the same way. longer forms makes shorter understanding time. I'd rather write more and understand more than write faster and then one week from now, be completely lost in nested mazes Well said.

Re: Custom cursors

2011-02-18 Thread Peter Brigham MD
On Feb 18, 2011, at 1:46 PM, David C. wrote: Hi Richmond, How about: on mouseEnter set the lockCursor to true set the cursor to 1005 -- your image id end mouseEnter on mouseLeave set the lockCursor to false set the cursor to arrow end mouseLeave Best regards, David C. Best to not

Re: Sample code for reading a CSV file

2011-02-17 Thread Peter Brigham MD
On Feb 17, 2011, at 3:01 PM, Paul Dupuis wrote: First, thanks to everyone who replied, but especially to Nosanity. Your code reminded me that you can effectively tell when you are inside an encapsulated bit of data by an odd/even count of the encapsulation character. So, for anyone who

Re: selecting the selected

2011-02-16 Thread Peter Brigham MD
On Feb 16, 2011, at 10:10 AM, Richmond wrote: Umm . .. so I have a field [called fld TEKST]full of text and I select some of it with my mouse I then click on a button that contains the following script: on mouseUp copy the selected of fld TEKST end mouseUp nix! now, I've tried the

Re: Stackfiles followup

2011-02-15 Thread Peter Brigham MD
On Feb 14, 2011, at 3:01 PM, Peter Haworth wrote: The behaviors are specified in the form button id 1234 of stack xyzSub. I tried adding of stack xyz after the behavior specifications but the IDE simply removes that text. Behavior references have to be in the form of a long id: set

Re: Problem transferring focus to another object

2011-02-15 Thread Peter Brigham MD
On Feb 14, 2011, at 8:24 PM, Terry Judd wrote: Hi there - I’m trying to build a ‘fake’ optionmenu control where the menu is a list field object that is popped up over the control. I have a mouseMove handler in the field to set the hilitedLines of the field and this all works well provided

Re: LiveCode google maps...

2011-02-15 Thread Peter Brigham MD
On Feb 15, 2011, at 8:41 AM, John Dixon wrote: Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can do. I would like to be able to choose a postcode or the name of a town or village from a list in a field

Re: LiveCode google maps...

2011-02-15 Thread Peter Brigham MD
On Feb 15, 2011, at 11:57 AM, Devin Asay wrote: On Feb 15, 2011, at 8:56 AM, Peter Brigham MD wrote: On Feb 15, 2011, at 8:41 AM, John Dixon wrote: Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can

Re: Image object not existing ?

2011-02-14 Thread Peter Brigham MD
May try adding the stack specifier to the image and btn references in your script? img imgFondSliderIntensité of stack myStackName, etc. -- it sounds as if when that script is running the defaultstack has been set to a different stack. -- Peter Peter M. Brigham pmb...@gmail.com

Re: No dial command

2011-02-02 Thread Peter Brigham MD
On Feb 1, 2011, at 5:29 PM, dunb...@aol.com wrote: HC sends DTMF tones with the dial command through the speaker jack. These can connect to a dialer gadget called a TurboDialer, which connects to a telephone handset. Nothing like that in LC at all? Never mind the hardware. It is actually

Re: Enhancement Vote

2011-02-01 Thread Peter Brigham MD
Looks as if Mark Waddingham has already started implementing this for the next build. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan 31, 2011, at 3:56 PM, Peter Haworth wrote: I submitted a request a while back to have an option to sort the substacks of

Re: LiveCode for e-book production

2011-01-30 Thread Peter Brigham MD
On Jan 29, 2011, at 10:31 AM, Javier Miranda V. wrote: Dear friends, can you please give me your opinions on using LiveCode for e-book production?. I know LiveCode, being so powerful, can handle complex projects involving lots of logic and structures, but is it suitable / practical to use

Re: Getting Contents of Multiple fields in order (Left-to-RightDown)

2011-01-30 Thread Peter Brigham MD
On Jan 29, 2011, at 9:28 PM, John Patten wrote: Thanks for looking into this with me! The way you (Jim) appear to take what I did and turn it around in a fraction of the lines is amazing! Someday I want to be able to do that :-) Jacqueline is correct. The fields make up a mixed up

Re: umask

2011-01-24 Thread Peter Brigham MD
On Jan 24, 2011, at 2:23 PM, J. Landman Gay wrote: On 1/21/11 1:00 PM, J. Landman Gay wrote: On 1/21/11 12:47 PM, Peter Brigham MD wrote: I just double-checked: created a new mainstack, put a new field in it, put some text into it, and put this in the field script: on selectionchanged

Re: umask

2011-01-21 Thread Peter Brigham MD
On Jan 20, 2011, at 2:12 PM, J. Landman Gay wrote: On 1/20/11 10:21 AM, Peter Brigham MD wrote: On Jan 17, 2011, at 9:29 AM, Björnke von Gierke wrote: For example the entry about the selectionChanged message claims that it's not triggered by arrow keys, but it is. Not on my machine

Re: Import Snapshot Broken in 4.5.3?

2011-01-16 Thread Peter Brigham MD
it seems something has broken in recent versions of the message box's script processing. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Brigham MD wrote: On Jan 12, 2011, at 9:07 PM, Scott Rossi wrote: Houston, I think we have a problem. This script works in LC

Re: Somewhat OT: Revolutionaries, Scotland and Texas

2011-01-12 Thread Peter Brigham MD
On Jan 11, 2011, at 6:50 AM, David Bovill wrote: ... penal policy, has nothing whatsoever to do with the male member. The Latin routes are quite distinct with penal deriving from from the poenalis - that is pertaining to punishment, and not penis (the male member or tail) poenalis --

Re: Layers, revNavigator, DataGrids

2011-01-12 Thread Peter Brigham MD
On Jan 12, 2011, at 2:43 PM, Tereza Snyder wrote: On Jan 12, 2011, at 1:20 PM, Paul Looney wrote: So, two questions: 1. Can you recommend something for layering objects in LC 4.5.1 and later? Chipp’s AltLayerTools does it for me! Is this still available? I can't find it on the Altuit

Re: When is a Word not a Word?

2011-01-10 Thread Peter Brigham MD
On Jan 9, 2011, at 5:48 PM, Peter Haworth wrote: Got weird things going on with the wordoffset function. The code is: put wordoffset(field Selection,myLine) into mywordoffset if field Selection contains xyz and myline contains abc def xyz, then wordoffset returns 3. if field Selection

Re: Quit

2011-01-10 Thread Peter Brigham MD
On Jan 9, 2011, at 7:40 AM, Richmond wrote: I want to disable the ability of Mac users to QUIT by pressing Command-Q; tis is to force them to use localised QUIT buttons (each with slightly different characteristics) on cards within a stack. This is in my saved tidbits stack, from a discussion

Re: RevOnline: New version of Shell Command Help

2011-01-08 Thread Peter Brigham MD
On Jan 8, 2011, at 1:42 AM, Medard wrote: Peter Brigham MD pmb...@gmail.com wrote: As you can see, the section titles and commands consist of doubled letters. I encountered this as I was trying to read the man for ls on the server machine [On-Rev]... the text file I obtained was almost

Re: RevOnline: New version of Shell Command Help

2011-01-08 Thread Peter Brigham MD
On Jan 8, 2011, at 7:58 AM, Phil Davis wrote: Try this: put ls into tCommand put shell(man tCommand | col -b) into fld 1 That is how my Shell Command Help plugin does it. Phil Davis Interesting. This trick is documented in the man page for man at the bottom, though nowhere in

Re: RevOnline: New version of Shell Command Help

2011-01-07 Thread Peter Brigham MD
On Jan 6, 2011, at 5:09 PM, Mike Bonner wrote: Closest thing I know of would be apropos. Not a complete list, but a more 'targeted' list. Could implement a search box that returns an apropos list (on mac and linux) and use that for a clickable. On Thu, Jan 6, 2011 at 3:02 PM, Peter Brigham

Re: RevOnline: New version of Shell Command Help

2011-01-07 Thread Peter Brigham MD
On Jan 7, 2011, at 2:39 AM, Phil Davis wrote: I just uploaded a new version of Shell Command Help to RevOnline. New features added just now (thanks to suggestions on this list): * You can pick your command from the scrolling list of commands! * You can adjust the width of the list as

Re: Editing locked or List fields

2011-01-03 Thread Peter Brigham MD
On Jan 3, 2011, at 4:49 AM, Sivakatirswami wrote: Aloha Peter: Now this what i call a Prime New Year gift! Sweet. And, yes, I do work a lot with list fields and to make lists editable I had to add this to your script set the listBehavior of the target to not tf but then this

Re: Editing locked or List fields

2011-01-03 Thread Peter Brigham MD
the uList of the target to true end if if the uList of target = true then set the listBehavior of the target to not tf end if On 1/2/11 3:28 AM, Peter Brigham MD wrote: I use a virtual property: on mouseup theBtn if theBtn = 1 and field is in the target

Re: Editing locked or List fields

2011-01-02 Thread Peter Brigham MD
On Jan 1, 2011, at 5:26 PM, Sivakatirswami wrote: I'm all the time editing locked or list fields or fields where the traversal is off. The onerous method is of course to switch to the select tool, double click on the fld; choose Contents from the drop down menu, resize the window if you

Re: Happy New Year

2011-01-02 Thread Peter Brigham MD
On Jan 1, 2011, at 5:29 PM, Nonsanity wrote: Happy 1293858000! ~ Chris Innanen ~ Nonsanity LOL!!! Now that's a Happy LC New Year! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list

Re: Date bug?

2011-01-02 Thread Peter Brigham MD
On Jan 1, 2011, at 11:58 PM, Chipp Walters wrote: Hey, can anyone try this or tell me why it doesn't work? If I use any other date than 11/07/2010, it generates the next date. But for some reason Nov 7 doesn't work? on mouseUp put 11/07/2010 into tDate answer nextDayDate(tDate) end

Re: Date bug?

2011-01-02 Thread Peter Brigham MD
Sorry: item 3 of the dateItems. On Jan 1, 2011, at 11:58 PM, Chipp Walters wrote: Hey, can anyone try this or tell me why it doesn't work? If I use any other date than 11/07/2010, it generates the next date. But for some reason Nov 7 doesn't work? on mouseUp put 11/07/2010 into tDate

Re: Recursion warning: what's the owner of a background?

2010-12-23 Thread Peter Brigham MD
On Dec 23, 2010, at 6:34 AM, David Bovill wrote: This one just caught me out. I have a script that checks a property of it's owner and returns the value. Specifically it checks the owner for a property of the same name to see when the local value is empty to see if it is defined higher up

Re: Dispatch and send

2010-12-22 Thread Peter Brigham MD
On Dec 22, 2010, at 12:56 PM, Richard Gaskin wrote: David Bovill wrote: Anyone got a reason for this being Appropriate behavior? dispatch beep to this cd -- no beep send beep to this cd -- a beep Interestingly, running this in the Message Box: dispatch beep to this cd; put it ...yields

Re: Refer object with the value of a variable

2010-12-20 Thread Peter Brigham MD
Whoops -- another problem, maybe the chief problem: it's the customproperty[cSet], not the customproperties[cSet], see below -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 20, 2010, at 8:29 AM, Peter Brigham MD wrote: On Dec 20, 2010, at 6:46 AM, Josep M

Re: cmd key modifier not working?

2010-12-19 Thread Peter Brigham MD
On 12/18/10 3:57 PM, Sivakatirswami wrote: OSX Livecode 4.5.2 I have this menu: Stop/1 Back Up/2 Forward/3 Resume/4 the menu appears with cmd +1 as expected and I could have sworn that it used to work, but now when I hit the keys, nothing happens. The menu is OK.. if I go to the menu and

Re: closeField and the clear command

2010-12-12 Thread Peter Brigham MD
On Dec 12, 2010, at 11:35 AM, Bill Vlahos wrote: The docs say that if you put something from a script into a field no closeField message is sent. This appears to be the same as if you delete (menuItem Clear) as well. Is this the correct behavior because the docs don't mention it? This

Re: How to select image object instead of group

2010-12-11 Thread Peter Brigham MD
On Dec 10, 2010, at 11:28 PM, Scott Pepperdine wrote: The image script is: on mouseup answer file Select your file: if it is empty exit to top set the filename of image image to it end mouseup The group script is as follows ( just to prove to me this what was happening: on mouseup

Re: Opening documents with Quick Look on iPad?

2010-12-10 Thread Peter Brigham MD
Here's what I use on the desktop. Don't know squat about how this could be massaged for iPad. - on mouseUp tBtn answer file Please choose a file to look at ... if it is empty then exit mouseUp put it into theFile put empty into allowDrag quickLook theFile end mouseUp

Re: PDF ?

2010-12-06 Thread Peter Brigham MD
If you only want to fill in the stamp and then print the result, what I do is import the pdf as an image, overlay fields wherever I need them, then fill them in by script, and print the result. If you want to export it instead of printing it, you could take a snapshot of the result and

Re: ANN: glx2 is now open source

2010-12-06 Thread Peter Brigham MD
On Dec 6, 2010, at 12:25 PM, Keith Clarke wrote: On 6 Dec 2010, at 17:16, Bob Sneidar wrote: On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: Optimist - The glass is half full. Pessimist - The glass is half empty. Engineer - The glass is twice a large as it needs to be. Mathmetician - The

Re: PDF ?

2010-12-06 Thread Peter Brigham MD
it on the fly. Sorry to mislead you -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 6, 2010, at 4:41 PM, Richmond wrote: On 12/06/2010 11:35 PM, Peter Brigham MD wrote: If you only want to fill in the stamp and then print the result, what I do is import

Re: Finding local minima and maxima of a graph

2010-12-04 Thread Peter Brigham MD
Do you have access to the data the graphs are based on? Or are you talking about trying to analyze the shape of a curve (bitmapped or otherwise)? The two problems will have quite different approaches. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 4,

Re: Ucranian spam [OT]

2010-12-02 Thread Peter Brigham MD
I once had a schizophrenic patient introduce himself to me by saying Hello, I'm a visitor from planet Earth. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 2, 2010, at 3:18 PM, Richmond wrote: On 12/02/2010 09:55 PM, Bob Sneidar wrote: If you are from