Re: Live LiveCode Code Event #21

2011-04-28 Thread Mark Schonewille
Hi, I hope my mistake was obvious, but the link to livecode.us should have been http://livecode.tv . I've corrected it in the quoted message below. > Dear people, > > While the RunRevLive conference is on it's second day, we are organising the > Live LiveCode Code Event for this Saturday alre

Re: How to generate user passwords

2011-04-28 Thread Mark Schonewille
Hi Bill, That's true, but my function doesn't do that. I guess it is usless to you if you need to include special characters. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK

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 > > se

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

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. B

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 ra

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

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 list

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 > -- This is why

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()

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 end if write myLine after theNewVariable end repeat put theNewVariable into theLines I'm guessi

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

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 . -- Bes

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 b

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 som

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. Natura

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 T

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. Th

the urlresponse ?

2011-04-28 Thread Todd Geist
Hello, I am working with web apis using the put URL tURL form. While looking through Trover's examples I found that he uses this property urlresponse to get the data from the response. This doesn't seem to be a Custom property. This seems to be a property like htttpHeaders, but I can not find an

Re: RunRev Live video archives

2011-04-28 Thread Thomas McGrath III
Sarah, They said they will be working on getting them all up and organized with example links. Still getting to ask questions and discuss with peers is a lot better. Andre was great but they cut him short. I could have listened to his presentation for another hour at least. -- Tom McGrath III

Feedback: comparing content of two fields

2011-04-28 Thread Ronald Zellner
OK, slight modification of Peter's script: on mouseUp local allEntries, ruralEntries, theStart put the seconds into theStart -- used to check the timing put fld "All" into allEntries put fld "Rural" into ruralEntries set the itemDelimiter to tab repeat with x = 1 to the nu

iOS App Accepted

2011-04-28 Thread Dan Friedman
My first iOS app (created in LiveCode) was accepted to the App Store! I feel like I just gave birth! "Deal Master", an app for poker dealers to practice dealing, was accepted to the App Store Wednesday morning. It's already sold a few copies. See for yourself... http://itunes.apple.com/us/

Re: iOS App Accepted

2011-04-28 Thread Colin Holgate
On Apr 28, 2011, at 8:09 PM, Dan Friedman wrote: > April 27, 2011 09:52 -- Ready for Sale > April 27, 2011 09:40 -- Processing for App Store > April 26, 2011 09:50 -- In Review Can you say what release date you set? I believe that these days they tend not to review apps until the day they are

Re: iOS App Accepted

2011-04-28 Thread Scott Morrow
Congratulations Dan! -Scott Morrow On Apr 28, 2011, at 8:09 PM, Dan Friedman wrote: > My first iOS app (created in LiveCode) was accepted to the App Store! I feel > like I just gave birth! "Deal Master", an app for poker dealers to practice > dealing, was accepted to the App Store Wednesday