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

Re: comparing content of two fields

2011-04-28 Thread Michael Kann
Ronald, Peter got in before I did with a great answer: I'll follow it up with mine anyway just for a different perspective. My idea was to separate the search function from the line coloring to speed things up a little. Perhaps by now textColor can apply to variables also. I've fallen behind.

Re: How to generate user passwords

2011-04-28 Thread Bob Sneidar
Dunno about you, I can curse without 'em. Bob On Apr 27, 2011, at 5:27 PM, Scott Morrow wrote: With those characters (@#$%*) I would think you could just curse. -Scott On Apr 27, 2011, at 4:56 PM, Bill Vlahos wrote: Mark, Of course they become less speakable if you have to

Re: comparing content of two fields

2011-04-28 Thread Bob Sneidar
Be careful with repeat for each. You cannot change the content of the object or block you are repeating through. Unexpected results is an understatement. You need to work with a copy, making sure you don't add or remove the each element (each word, each line etc.) else you get out of sync.

Re: How to generate user passwords

2011-04-28 Thread FlexibleLearning
Your function generates very random strings which might be too random for a user to remember on their own. Just a playful idea... on mouseUp put passwordPhrase() end mouseUp function passwordPhrase return w1() w2() w3() w4() w5() end passwordPhrase function w1 return item random(4)

RE: comparing content of two fields

2011-04-28 Thread John Dixon
Be careful with repeat for each. You cannot change the content of the object or block you are repeating through. Unexpected results is an understatement. You need to work with a copy, making sure you don't add or remove the each element (each word, each line etc.) else you get out of

Re: comparing content of two fields

2011-04-28 Thread Bob Sneidar
It is absolutely faster. It was explained to me some time ago why. I think it still applies, although I have not tried to test it. It is because the engine works directly on the memory used for the object (or something like that). The problem is, the engine parses the memory and creates a

Re: comparing content of two fields

2011-04-28 Thread Scott Morrow
Hello Bob, --Earlier Scott posted: on mouseUp set the itemDelimiter to tab put field All into tBigData -- use this to compare with field Rural data put tBigData into tBigData2 -- we will change this data as matches are found put field Rural into tSmallData --snip This is why I put

Re: How to generate user passwords

2011-04-28 Thread Scott Morrow
Fun! On Apr 28, 2011, at 10:02 AM, FlexibleLearning wrote: Your function generates very random strings which might be too random for a user to remember on their own. Just a playful idea... on mouseUp put passwordPhrase() end mouseUp function passwordPhrase return w1() w2() w3()

Re: How to generate user passwords

2011-04-28 Thread Bob Sneidar
I was poking around in google for Random Word Generators. I bet you could talk someone into providing access to their web site, and have it return the results in a form variable. Bob On Apr 28, 2011, at 11:23 AM, Scott Morrow wrote: Fun! On Apr 28, 2011, at 10:02 AM, FlexibleLearning

Re: comparing content of two fields

2011-04-28 Thread Pete
In the past, I've dealt with this situation by writing the changed data out to another variable within the repeat loop, so: repeat for each line myLine in theLines if dataNeedsChanging then change myLine end if write myLine after theNewVariable end repeat put theNewVariable into

Re: Blurred vision of Rev newsletter, Apr 21

2011-04-28 Thread Alejandro Tejada
Hi Wilhelm, on Tue, 26 Apr 2011 Wilhelm Sanke wrote: Hanson presents a series of scripts that are related to each other to achieve a blur filter effect using sort of a 3x3-convolve matrix. I want to add some information and discuss the issue in a somewhat broader context. As Hanson did not

Live LiveCode Event #21

2011-04-28 Thread Mark Schonewille
Hi everybody, We still have no presenters for this Saturday. If you are a regular participant of the LLCCE, please consider doing a presentation yourself this time and contact me by e-mail or through this web form http://qery.us/du . More information can be found at http://livecode.tv . --

Re: Urban Airship in LC

2011-04-28 Thread John Allijn
Hi Tom, I'm building an application for students and teachers that will enable them to send urgent messages like Teacher x is ill, No lessons tomorrow or the grades are available on the website. I would like to add push-notifications to this service. Urban Airship looks very promising but

send to program problem

2011-04-28 Thread dunbarx
I still have a dozen OS9 macs running HC, working together all day with send to program chitChat. 20 years... From any HC machine, if I say: send beep 3 to program *:hcServer:hypercard, that machine beeps three times. If I try this from LC, (OSX 10.4) I get error -1701, likely some failed

copy stack image to external files

2011-04-28 Thread edward cawley
I have a hypercard stack which I have converted to a livecode stack. It has a number of cards with a number of images which I would like to transfer to external files for use in movies in the livecode stack. I could do it on an individual basis but I would like to set up bulk transfer. I can do

Re: copy stack image to external files

2011-04-28 Thread Mark Schonewille
Hi, Why do you need to use the clipboard for this? export images: put the text of img x into url (binfile:~/desktop/img x) export card: export snapshot from this card to x as PNG; put x into url (binfile:~/desktop/x.png) Read the docs for more info about the export snapshot command.

Re: send to program problem

2011-04-28 Thread Mark Schonewille
Hi Craig, I think most people use sockets to allow for inter-application communications. I think that the send command relied on Mac OS 9 (and earlier) specific features. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com

RunRev Live video archives

2011-04-28 Thread Sarah Reichelt
Hi All, I have a subscription to the RunRev Live simulcast, but as the presentations mostly take place when I am asleep, I was hoping to watch the archived videos. I did watch Kevin's keynote and I see the other day 0 sessions are available, but are the later sessions going to be archived too.