Re: ANN: Harmonic Oscillators

2011-11-07 Thread AndyP
Hi Roger, Thanks for sharing this and the great other scripts/apps on your page. I'm learning a lot from these...many thanks. - Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder. ht

Re: Formatting ChordPro music charts

2011-11-07 Thread Colin Holgate
Jan, does your routine require that it be a monospaced font? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/u

Re: Formatting ChordPro music charts

2011-11-07 Thread Jan Schenkel
Ooh, another breakfast cereal challenge - what better way to start the day? :-) Here's my take on it; only lightly tested but looked alright in my variations: ## on mouseUp    putChordProPrintText(field"ChordProText") intofield"PrintText" end mouseUp private function ChordProPrintText pChordProTe

Formatting ChordPro music charts

2011-11-07 Thread Mark Stuart
Hi all, Anyone familiar with the ChordPro music chart format? I want to build a desktop app that would allow the user to edit the song chart, and then print it, all using the ChordPro format. Editing the chart looks like this: [A]This is my [D]song [A]It's not very [D]long [A]Hey. When printed i

Re: Use of dgIndex

2011-11-07 Thread Pete
I was wondering the same thing. It probably is the italics, but I'm using gmail too so I would have thought it would have recognised that. No big deal. Pete Molly's Revenge On Mon, Nov 7, 2011 at 4:56 PM, Mike Bonner wrote: > ah, I betcha I know what it is. I

Re: Use of dgIndex

2011-11-07 Thread Mike Bonner
Oh yep, I didn't catch the dgindex check for the first one. ## yep, dgline is the way to go. I am not sure that you can assume that dgIndex of me = 1 is equivalent to dgLine of me = 1. So I think the line: If the dgindex of me = 1 then needs to be: If myPosition of me = 1 then or if the

Re: Use of dgIndex

2011-11-07 Thread Michael Doub
I think both methods will work. I was having problems with dgLine as well so I found that dgIndexes returns the indexes in the order that they were displayed. So itemOffset is essentially returning dgLine. I am not sure that you can assume that dgIndex of me = 1 is equivalent to dgLine of

Re: Use of dgIndex

2011-11-07 Thread Mike Bonner
ah, I betcha I know what it is. I italicised the script portion and bet whatever client you use doesn't recognize it. Either way, heres the script again no italics. on FillInData pDataArray put empty into fld "DLabel" of me if pDataArray["FirstName"] is not empty then put pDataArray["F

Re: Use of dgIndex

2011-11-07 Thread Mike Bonner
Hmm. its just gmail and they weren't and aren't there when I paste. As far as I know gmail doesn't do this so i'm not sure where they came from. On Mon, Nov 7, 2011 at 5:49 PM, Peter M. Brigham, MD wrote: > On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: > > > ... > > > > *on FillInData pDataArray

Re: Use of dgIndex

2011-11-07 Thread Peter M. Brigham, MD
On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: > ... > > *on FillInData pDataArray* > * put empty into fld "DLabel" of me* > * if pDataArray["FirstName"] is not empty then * > * put pDataArray["FirstName"] & space after fld "DLabel" of me* > * end if* > * if pDataArray["MiddleName"]

Re: Use of dgIndex

2011-11-07 Thread Mike Bonner
Theres a couple other things you'll have to track down to make this work. You are using dgdataofindex as your comparison, but if I understand how the datagrid works in this respect that will use the internal index which doesn't necessarily represent the visual (sorted) order of the data, so the co

Re: Use of dgIndex

2011-11-07 Thread Michael Doub
That that did the trick. I still get confused on these references. Thanks Mike On 2011-11-07, at 6:26 PM, zryip theSlug wrote: > On Tue, Nov 8, 2011 at 12:12 AM, Michael Doub wrote: >> Can someone explain to me where you are able to use the dgLine and dgIndex >> properties? In the script

Re: Use of dgIndex

2011-11-07 Thread Pete
dgIndex is a property of a line in the datagrid, not of the datagrid itself. So: put the dgIndex of me into tindex should take care of it. Pete Molly's Revenge On Mon, Nov 7, 2011 at 3:12 PM, Michael Doub wrote: > Can someone explain to me where you are able

Re: I Killed The Site

2011-11-07 Thread Mark Smith
Mike Kerner wrote: > > I just want to apologize for killing runrev.com. I was just trying to buy > something in the store when kaboom, the whole site went #epicfail. So > since it must be MY fault, sorries! > Too funny!! -- View this message in context: http://runtime-revolution.278305.n4.n

Re: Use of dgIndex

2011-11-07 Thread zryip theSlug
On Tue, Nov 8, 2011 at 12:12 AM, Michael Doub wrote: > Can someone explain to me where you are able to use the dgLine and dgIndex > properties?   In the script below I am falling into the condition where no > value is being returned for dgIndex.   Do I have a syntax problem? Mike, me not repre

Use of dgIndex

2011-11-07 Thread Michael Doub
Can someone explain to me where you are able to use the dgLine and dgIndex properties? In the script below I am falling into the condition where no value is being returned for dgIndex. Do I have a syntax problem? Thanks Mike on FillInData pDataArray put the dgControl of me into t

Re: iPad crashes with visual effects

2011-11-07 Thread ddas
Hi Mark, It might be a good idea to: Lock screen for visual effect hide grp 1 unlock screen with visual effect wipe left Cheers, Debdoot On Nov 7, 2011, at 4:48 PM, Mark Schonewille wrote: > Hi, > > Is anyone else experiencing crashes whenever you try to use a visual effect > on iPad? E.g.

Re: iPad crashes with visual effects

2011-11-07 Thread Scott Rossi
Are you using LC 5? If yes, maybe you have to use the new visual effects syntax? Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 7, 2011, at 1:48 PM, Mark Schonewille wrote: > Hi, > > Is anyone else experiencing crashes whenever you try to use a visual effect > on

iPad crashes with visual effects

2011-11-07 Thread Mark Schonewille
Hi, Is anyone else experiencing crashes whenever you try to use a visual effect on iPad? E.g. lock screen hide grp 1 unlock screen with visual effect wipe left freezes my app. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk

Re: Passing Parameters

2011-11-07 Thread Phil Davis
On 11/7/11 8:42 AM, Pete wrote: I've never tried the open.read from/write process commands - would those be another way to do this? Yes. See 'open process for neither' in the docs - it accomplishes the same thing as 'launch'. Back in the days when I worked on HP3000 computers, they had som

Re: Passing Parameters

2011-11-07 Thread Phil Davis
Yes! My example was mostly built on a 'lab experiment' model. Phil On 11/7/11 7:52 AM, Richard Gaskin wrote: Phil Davis wrote: On Mac OS X, you can do it from the command line. 1) create a standalone app (named "Untitled1" in this example) that has this stack script: on startup

Re: ANN: Harmonic Oscillators

2011-11-07 Thread Roger Guay
You're welcome John and thanks to you and others for your kind words. Everything on my download page is also available at RevOnline except Harmonic Oscillators. I prefer to use RevOnline because one does not need to remember another URL. But alas, it appears to be broken with not much interest

Re: I Killed The Site

2011-11-07 Thread Andre Garzia
Once I almost killed an on-rev server but THANK GOD AND THE GODS, I was also logged on thru SSH and managed to fix my mess in about 10 minutes. Tip Of The Day: Be aware of trying to daemonize recursive processes that end up spawning copies of themselves... Bonus: pkill and killall are your friend

Re: I Killed The Site

2011-11-07 Thread Mike Kerner
That would be "; DROP TABLE * ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: I Killed The Site

2011-11-07 Thread Keith Clarke
...wow, what discount code were you trying to apply? ;-) On 7 Nov 2011, at 17:09, Mike Kerner wrote: > I just want to apologize for killing runrev.com. I was just trying to buy > something in the store when kaboom, the whole site went #epicfail. So > since it must be MY fault, sorries! > __

Re: I Killed The Site

2011-11-07 Thread Mike Kerner
Oh yay, they fixed it. No more guilty feeling thinking that I have forever damaged the universe, other than the 15 minutes it was down... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

I Killed The Site

2011-11-07 Thread Mike Kerner
I just want to apologize for killing runrev.com. I was just trying to buy something in the store when kaboom, the whole site went #epicfail. So since it must be MY fault, sorries! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Passing Parameters

2011-11-07 Thread Pete
I've never tried the open.read from/write process commands - would those be another way to do this? Back in the days when I worked on HP3000 computers, they had something called message files. They were basically files that any number of processes could write to and one process could read from an

Re: Passing Parameters

2011-11-07 Thread Richard Gaskin
Phil Davis wrote: On Mac OS X, you can do it from the command line. 1) create a standalone app (named "Untitled1" in this example) that has this stack script: on startup dispatch $1 to me quit end startup As an example of how to use environment variables that's an e

Re: ANN: Harmonic Oscillators

2011-11-07 Thread John Brozycki
Roger, Cool stuff! Thanks. Your download page has more neat stuff, so I'm glad you ended up posting its link! John On Nov 6, 2011, at 6:05 PM, Roger Guay wrote: > > Not so much an exhaustive physics/math tutorial as a demonstration of some > techniques for doing these types of simulations

Re: Passing Parameters

2011-11-07 Thread Mark Schonewille
Hi Cal, You can start up a standalone from the commandline with C:/path/to/standalone.exe param1 param2,... ~/applications/standalone.app param1 param2... In your standalone you can retrieve the values in $1, $2,... anywhere in your scripts: put $1 into fld 1 get item 2 of $2 If your standalo

Re: Passing Parameters

2011-11-07 Thread Phil Davis
If you need to send a message from app1 to app2, and app2 is already running, you could use socket communication between them. Don't have time to pencil it out, but maybe someone else will. If not, I'll do it tomorrow. Phil On 11/7/11 12:28 AM, Phil Davis wrote: On Mac OS X, you can do it fr

Re: Passing Parameters

2011-11-07 Thread Phil Davis
On Mac OS X, you can do it from the command line. 1) create a standalone app (named "Untitled1" in this example) that has this stack script: on startup dispatch $1 to me quit end startup on incoming beep end incoming 2) create a different stack with this