Re: Find nearest color in an RGB list

2012-01-11 Thread Nonsanity
Yeay! One always worries about code written IN the email... :) ~ Nonsanity On Tue, Jan 10, 2012 at 3:31 PM, Michael Doub wrote: > This works like a charm! > > Thanks, > Mike > > > > On 2012-01-10, at 3:03 PM, Nonsanity wrote: > > > Both look like good su

Re: Find nearest color in an RGB list

2012-01-10 Thread Nonsanity
item 1 of c, item 2 of c, item 3 of c ) if it < ClosestDist then put it into ClosestDist put c into ClosestColor end if end repeat return ClosestColor end GetClosestColor You'd have your colors in gColorList like this: 32,32,128 255,255,255

Re: PRINTING PROBLEM

2011-09-30 Thread Nonsanity
I used to walk the aisles at a local Target every day at work as a break, so I would find all the great deals and clearances. I got several all-in-one inkjet printers at the $30 price point that way. So I was doing just what you suggest. HOWEVER, new printers don't usually come with fully-loaded i

iOS Card Scrolling with Bounce

2011-09-13 Thread Nonsanity
ong screen that they are already very used to... It's better not to even try. If that's the case, then LiveCode has failed me. Can't have that! :) I checked the revOnline example and library stacks, but didn't see anything for this. ~ Chris Innanen ~ Nonsanity ___

Re: Shell and Background Jobs

2011-08-24 Thread Nonsanity
f it doesn't knock LiveCode from the frontmost application spot, that's better than using AppleScript, and being able to generate it inside LC is a plus too. I'll go test that later. :) ~ Chris Innanen ~ Nonsanity On Wed, Aug 24, 2011 at 5:48 AM, Klaus on-rev wrote: > Hi Chris

Re: Shell and Background Jobs

2011-08-23 Thread Nonsanity
I'd like to know if other people get the same results to my shell("sleep 5 &") test at the start of this thread on Macs or Linux systems. Maybe it's just me... ~ Chris Innanen ~ Nonsanity On Tue, Aug 23, 2011 at 5:16 PM, Nonsanity wrote: > Okay, the Applescript int

Re: Shell and Background Jobs

2011-08-23 Thread Nonsanity
Okay, the Applescript intermediary sounds like it might work. I'll give that a go. ~ Chris Innanen ~ Nonsanity On Tue, Aug 23, 2011 at 5:14 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Chris, > > Don't believe everything that's written. I

Re: Shell and Background Jobs

2011-08-23 Thread Nonsanity
nanen ~ Nonsanity On Tue, Aug 23, 2011 at 4:53 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Chris, > > Surely the open process command works on Mac OS X. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software

Shell and Background Jobs

2011-08-23 Thread Nonsanity
ds before getting a new prompt. At the same time, I have a big, complex HandBrake command that DOES background correctly. I can't figure out why that one works consistently. :( Has anyone else researched this and found some pertinent facts they can share? (WHY OH WWHHYY doesn't the &qu

Re: Money Script

2011-08-10 Thread Nonsanity
cheese ~ Chris Innanen ~ Nonsanity On Wed, Aug 10, 2011 at 12:40 PM, Peter M. Brigham, MD wrote: > On Aug 10, 2011, at 10:52 AM, Bob Sneidar wrote: > > > Mark, it must have been you in an alternate timeleine. I have socks I > never bought in my draw

Re: using TAB, ENTER or RETURN to advance fields by force

2011-08-03 Thread Nonsanity
n it instead of selecting the whole thing. It tends to vary be the needs of the program. ~ Chris Innanen ~ Nonsanity On Wed, Aug 3, 2011 at 2:26 AM, Admin wrote: > > > Hello again. > > I want the user to go to the next field (by force) > by pressing either the TAB key, the E

Re: How to sort on keydown

2011-08-03 Thread Nonsanity
eKey then select line a of fld "MonthDropDown" exit repeat end if end repeat end keydown Does that do what you want? You might want to limit the keys it works with by putting an if statement around the entire guts of the handler like so: if theKey &

Re: Where does survive the inventive user ?

2011-08-01 Thread Nonsanity
es were looking at Livecode instead of a cryptic text-only Python script... ~ Chris Innanen ~ Nonsanity On Wed, Jul 27, 2011 at 5:09 PM, Francis Nugent Dixon wrote: > Hi, > > Craig said : > > > who might fall in love with LC if they only were simply >> > > exposed

Re: How do I remove part of a path?

2011-08-01 Thread Nonsanity
set itemdel to "/" put "" into item 4 of it There should be no double slash then. That line removes that whole item. ~ Chris Innanen ~ Nonsanity On Sun, Jul 31, 2011 at 10:55 PM, Michael Kann wrote: > Pete, > > I checked to see if the itemDelimiter trick left

Re: Countdown HH:MM:SS

2011-07-20 Thread Nonsanity
- (m * 60) into s -- seconds put format( "%01i:%02i:%02i", h, m, s ) into countdown return countdown end CountdownCalc on MouseUp -- cancel button set the targetTime of me to empty end MouseUp ~ Chris Innanen ~ Nonsanity > On Wed, Jul 20, 2011 at 3:19 PM, Roger Eller

Re: Countdown HH:MM:SS

2011-07-20 Thread Nonsanity
put format( "%i:%02i:%02i", h, m, s ) into countdown return countdown end CountdownCalc Pretty much the same as the other samples, but more accurate over the long haul in those final seconds. ~ Chris Innanen ~ Nonsanity On Wed, Jul 20, 2011 at 3:19 PM, Roger Eller w

Re: repeat with i=

2011-07-13 Thread Nonsanity
I like Pete's best - closest to what I was thinking - but I'd change the "put empty" line to "delete item y of x". I think the put empty would just put "" into that item, but the item would still be there, like: 1,2,,4,5,6 ~ Chris Innanen ~ Nonsanity

Re: Rev Customer Databased Hacked?

2011-07-11 Thread Nonsanity
t download the whole DB. ~ Chris Innanen ~ Nonsanity On Mon, Jul 11, 2011 at 10:44 AM, Mike Kerner wrote: > So that doesn't strike you as curious, Mike? Think about it. It doesn't > make you wonder what the structure is if some customers have their records >

Re: Setting up Mac LiveCode apps on an iPad ?

2011-07-07 Thread Nonsanity
Any my experience is that even after a provisioning profile expires, an installed app will continue to function. But you won't be able to re-install it, say after an upgrade. Apple is lacking an economic method of developing iOS apps for personal "in-house" use. ~ Chris Innan

Re: defining and using globals in an application

2011-07-07 Thread Nonsanity
onfuses many people... Even though all other scripts can be said to be "inside the LiveCode scope" they do not have access to the variables in that scope unless the specifically request access to one by name with the "global" keyword. Sux to break the pattern, but there ya go... :)

Re: defining and using globals in an application

2011-07-07 Thread Nonsanity
cement, in all ways, for globals. (I never did like having those single lines of code (aka "global TestVar") living outside of any handler in my scripts. They were - if I may use the past tense - an ugly feature of the language too...) ~ Chris Innanen ~ Nonsanity On Thu, Jul

Re: defining and using globals in an application

2011-07-07 Thread Nonsanity
t;TestVar" it would become "TestVar of card 1", etc. Custom properties are far superior to globals in functionality (in my opinion) and more clear about scope. Hope that helps, ~ Chris Innanen ~ Nonsanity ___ use-livecode m

Re: Gottit!

2011-07-07 Thread Nonsanity
forgeries. It's a new feature - I imagine they'll fix that before long. ~ Chris Innanen ~ Nonsanity ~ (Yes, it's really me.) On Wed, Jul 6, 2011 at 3:33 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > Richmond, this is off-topic, but I use google

Re: What is the LiveCode equivalent property for the HTML parameter?

2011-07-05 Thread Nonsanity
end if end mousemove ~ Chris Innanen ~ Nonsanity On Tue, Jul 5, 2011 at 12:35 PM, J. Landman Gay wrote: > On 7/5/11 11:22 AM, J. Landman Gay wrote: > >> On 7/5/11 11:15 AM, Richard Gaskin wrote: >> >>> Keith Clarke wrote: >>> >>> > I was usin

Re: command "group" fails when objectList is a string

2011-07-05 Thread Nonsanity
Might want to put a select empty at the top too, or the end group might be a bit bigger than you think. (Or better yet, save off the current selection(s), and restore them afterwards. Bonus points.) ~ Chris Innanen ~ Nonsanity On Sat, Jul 2, 2011 at 8:04 PM, Klaus on-rev wrote: > Hi Nico

Re: Upper/Lower case issue

2011-07-05 Thread Nonsanity
t change "the short name of" to "the customName of" in your script (if customName is the property you fill with the "%m" etc). ~ Chris Innanen ~ Nonsanity On Sat, Jul 2, 2011 at 12:43 PM, Pete wrote: > Hi Craig, > Just to be clear, the button names ar

Re: [OT] what RGB is blue?

2011-07-01 Thread Nonsanity
vanced layer of instructions turns on and reshapes it further. That's evolution for you... Perfection it ignores in favor of "just good enough to breed". :) ~ Chris Innanen ~ Nonsanity >> On 1 jul 2011, at 11:39, Tiemo Hollmann TB wrote: > >> > >>> H

Re: why does lock screen doesn't locks the screen?

2011-07-01 Thread Nonsanity
set the cursor to 1007 wait 50 repeat with a = 1 to 4 set the screenmouseloc to word a of "202,398 290,270 168,222 363,594" wait 50 end repeat end mouseUp Hope that helps. ~ Chris Innanen ~ Nonsanity On Fri, Jul 1, 2011 at 4:14 AM, Tiemo Hollmann TB wrote:

Re: [OT] Amiga OS in 2011

2011-06-29 Thread Nonsanity
On Wed, Jun 29, 2011 at 12:27 PM, Richmond Mathewson < richmondmathew...@gmail.com> wrote: > Do all my mathematics with a "British Thornton" slide-rule from 1976. If you install the latest firmware update for it, it comes with some really nice plugins... ~ Chris I

Re: [OT] Amiga OS in 2011

2011-06-29 Thread Nonsanity
So the sundial is solar powered, and the bike is rocket powered? :) ~ Chris Innanen ~ Nonsanity On Wed, Jun 29, 2011 at 10:20 AM, Richard Gaskin wrote: > Peter Brigham MD wrote: > > I have a sundial in my back yard. Sure, it's not quite as convenient as a >> watch,

Re: [OT] Amiga OS in 2011

2011-06-28 Thread Nonsanity
Oh yeah? Well... well... MY wristwatch is a PDP-11, so NYAH! :) ~ Chris Innanen ~ Nonsanity On Tue, Jun 28, 2011 at 1:56 AM, Jeff Reynolds wrote: > I still have my transparent developer's newton! talk about looks when i use > to plop that down on a conference table! that and my s

Re: Wondering about LC and HTML5

2011-06-28 Thread Nonsanity
There was a Revolution. Now the pawns are in charge with a representative democracy. Their rallying cry is "Anyone can be a queen!" I think it needs work, myself... ~ Chris Innanen ~ Nonsanity On Wed, Jun 22, 2011 at 5:54 PM, Chipp Walters wrote: > Is the King the one w

Re: thanks for the tools

2011-06-17 Thread Nonsanity
LiveCode Live! Show off your favorite add-ons to LC. :) ~ Chris Innanen ~ Nonsanity On Fri, Jun 17, 2011 at 2:21 PM, Andre Garzia wrote: > Folks, > > This is just a little email to show some appreciation for Ken Ray, Richard > Gaskin, Chipp Walters, Mark Wieder and Jerry Danie

Re: nuther new newbie nuisance

2011-06-15 Thread Nonsanity
giving examples of scrolling, so I went with that. :) ~ Chris Innanen ~ Nonsanity On Wed, Jun 15, 2011 at 1:00 PM, Slava Paperno wrote: > This is a brilliant idea (using a character as a placeholder for an image), > but what's the advantage of having a bunch of images in a scrol

Relational Layouts (was: Re: nuther new newbie nuisance)

2011-06-15 Thread Nonsanity
s of the XML version, the docs I always wanted to write but never did have been wiki-compiled by fans here: http://cs.elderscrolls.com/constwiki/index.php?title=Category:Oblivion_XML&redirect=no ~ Chris Innanen ~ Nonsanity On Wed, Jun 15, 2011 at 12:50 PM, Roger Eller wrote: > On We

Re: nuther new newbie nuisance

2011-06-15 Thread Nonsanity
y were text... Which as far as LC is concerned, they are at this point. ~ Chris Innanen ~ Nonsanity On Wed, Jun 15, 2011 at 2:13 AM, Timothy Miller < gand...@doctortimothymiller.com> wrote: > Greetings, > > I thought I knew how to do this, but it isn't working out. > >

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Nonsanity
if LC was failing to do that properly for some reason. But pinging your hostName will be sure to return the IP address other computers on the LAN will see you as. One-twenty-seven Zero dot zero dot one There's no place like home ~ Chris Innanen ~ Nonsanity On Fri, Jun 10, 2011 at 2:53 PM

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Nonsanity
haha I completely failed to grasp that. :) How about: put char 2 to -2 of word 3 of shell( "ping -n 1" && word 2 of shell("ping -n 1 localhost") ) into msg ~ Chris Innanen ~ Nonsanity On Fri, Jun 10, 2011 at 2:20 PM, John Patten wrote: > Actually Chris I w

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Nonsanity
"http://www.whatismyip.org"; into myExIP [dyndns.org] put url "http://checkip.dyndns.org"; into resp set itemdel to ":" put word 1 to -1 of item 2 of resp into resp set itemdel to "<" put item 1 of resp into myExIP ~ Chris Innanen ~ Nonsanity On Fri, Jun 10

Re: [OT] Apple at it again

2011-06-09 Thread Nonsanity
limitations. But the market has been established under their control, and is likely to not drift too far from their desired model after they relinquish control. I think Apple planned to revoke those limits after a few months from the get-go. ~ Chris Innanen ~ Nonsanity On Thu, Jun 9, 2011 at 9:02 AM

Re: LIVECODE running in LION

2011-06-08 Thread Nonsanity
drive to fail under the larger workload of installing an OS than just, say, caching a web page. ~ Chris Innanen ~ Nonsanity On Wed, Jun 8, 2011 at 2:02 PM, Bob Sneidar wrote: > That sounds like a bad drive. I know the coincidence is stunning, but it's > possible. > > Bob &g

Re: how to shorten a case structure?

2011-06-06 Thread Nonsanity
switch myVar case "foo1" case "foo2" myFunction (last char of myVar) break ... If that's what you mean? ~ Chris Innanen ~ Nonsanity On Mon, Jun 6, 2011 at 8:14 AM, Tiemo Hollmann TB wrote: > Hi, > > I just don't know if I d

Re: Blend & Snapshot

2011-06-03 Thread Nonsanity
es > with their sequinned > high-heels. > Do they break out in spontaneous musical numbers? I think even Livecode would take second place to that... :) ~ Chris Innanen ~ Nonsanity ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: My first Livecode iOS App with Externals (SQLite) approved!

2011-06-03 Thread Nonsanity
"lite" and "pro" are possible, or if some other sort of in-app purchases can be used to finance the app... As I'll (hopefully) soon be putting my first app in the store, I'm all ears on other people's opinions. :) ~ Chris Innanen ~ Nonsanity P.s. My

Re: [mobile:Android] mobileSetAllowedOrientations gives error

2011-06-03 Thread Nonsanity
s to encase every such command in an environment check. Ugly... ~ Chris Innanen ~ Nonsanity On Fri, Jun 3, 2011 at 9:19 AM, Roger Eller wrote: > On Fri, Jun 3, 2011 at 9:06 AM, Colin Holgate wrote: > > It looks different to the syntax Jacque gave you. She wrote: > > > >

Re: Question about Object Names

2011-05-27 Thread Nonsanity
Try:get the short name of this card ~ Chris Innanen ~ Nonsanity On Fri, May 27, 2011 at 10:17 AM, Todd Geist wrote: > Hello, > > I am confused by an inconsistency I am seeing. I think it points to > something I missing about object names and references. > > Using the Ob

Re: How to replace just the first found space with tab for all lines in a variable?

2011-05-26 Thread Nonsanity
peat FAR more than makes up for any speed increase from changing in-place. I even tested it against a faster char by char sweep to replace the first space of each line with a tab in-place, and it beat it 3 ticks to 49. So yeah... Go with the "for each" solution. :) ~ Chris Innanen ~ Nons

Re: Happy International Geek Pride Day!!!

2011-05-25 Thread Nonsanity
Slide RULES! ~ Chris Innanen ~ Nonsanity On Wed, May 25, 2011 at 12:01 PM, J. Landman Gay wrote: > On 5/25/11 10:52 AM, Jonathan Lynch wrote: > >> Hi everyone, >> >> I just wanted to wish any of the folks on this list who might be a geek, >> nerd, dork,

Re: How to replace just the first found space with tab for all lines in a variable?

2011-05-25 Thread Nonsanity
brary database between two formats using, I think, Supercard. It was the weird edge cases that tended to trip it up. I kept having to add special tests for those cases as they appeared. ~ Chris Innanen ~ Nonsanity On Wed, May 25, 2011 at 11:41 AM, Alex Tweedly wrote: > Beware this will get

Re: How to replace just the first found space with tab for all lines in a variable?

2011-05-25 Thread Nonsanity
;ll be pushing through are large, then modifying the data in-place saves time and memory over copying large quantities of text between two variables. Just sayin'. :) ~ Chris Innanen ~ Nonsanity On Wed, May 25, 2011 at 11:14 AM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: &

Re: How to replace just the first found space with tab for all lines in a variable?

2011-05-25 Thread Nonsanity
er of lines in myText if space is not in line a of myText then next repeat put tab into char (offset( space, line a of myText )) of line a of myText end repeat return myText end StripFirstSpace2 ~ Chris Innanen ~ Nonsanity On Wed, May 25, 2011 at 6:11 AM, Keith Clar

Re: Syntax to increment variable names in repeat loop

2011-05-24 Thread Nonsanity
merge( "[[var" & whichVar & "]]" ) into msg ~ Chris Innanen ~ Nonsanity On Tue, May 24, 2011 at 7:47 AM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Thanks, Jim, The 'do' command looks useful as a mechanism for combining > dispa

Re: Livecode for Digital Signage

2011-05-19 Thread Nonsanity
On Thu, May 19, 2011 at 4:51 PM, Jim Schaubeck wrote: > > Problem solved: Use a Mac > > I've been saying that for years... ;D ~ Chris Innanen ~ Nonsanity ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: Livecode Crashes with Image Source Set to a URL

2011-05-19 Thread Nonsanity
https://www.dropbox.com/help/167 ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 2:45 PM, Ray Horsley wrote: > Wouldn't that be my email (r...@linkit.com)? > > (stepping out for a few hours.) > > Thanks, > > Ray > > > -Original Mes

Re: Livecode Crashes with Image Source Set to a URL

2011-05-19 Thread Nonsanity
ll it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin wrote: > Ray Horsley wrote: > >> OK. I've never tried including attachments on the list before but here it >> is. >> > &g

Re: Europe Vs. America

2011-05-19 Thread Nonsanity
t "," & char 1 to 2 of (d[0] & "00") after o return o end PrintAsEuros Nothing fancy, but it seems to work for me. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 10:14 AM, Alessandro Pisoni < alessan...@system-ini.it> wrote: > how to format a curre

Re: Livecode Crashes with Image Source Set to a URL

2011-05-19 Thread Nonsanity
I think we'd have to run the stack in question to debug the issue. As described, I see no obvious error on your part. ~ Chris Innanen ~ Nonsanity P.s. Sorry about the repeat due to posting this to the wrong thread at first... On Thu, May 19, 2011 at 11:28 AM, Ray Horsley wrote: > G

Re: Still learning

2011-05-19 Thread Nonsanity
Sorry, wrong thread! :P ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 12:30 PM, Nonsanity wrote: > I think we'd have to run the stack in question to debug the issue. As > described, I see no obvious error on your part. > > ~ Chris Innanen > ~ Nonsanity > >

Re: Still learning

2011-05-19 Thread Nonsanity
I think we'd have to run the stack in question to debug the issue. As described, I see no obvious error on your part. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 11:07 AM, Steve Jones wrote: > I"m trying to create my first iOS app for a non-profit group I work with.

Re: Livecode for Digital Signage

2011-05-18 Thread Nonsanity
t when the video was first loading/caching. If you've got a Mac to test on, give it a try. :) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 10:54 PM, Jim Schaubeck wrote: > Thanks Bill! > For the first one, that may be a good alternative. I have not tested it but > I do apprec

Re: Livecode for Digital Signage

2011-05-18 Thread Nonsanity
on the roadmap, anyone?) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 1:17 AM, Jim Schaubeck wrote: > Chris, > Thank you for sending your sample !!! > > I worked with your code a bit and changed this line: > put dTime / 300 into pTime-- changed to 300 > > This made t

Re: Livecode for Digital Signage

2011-05-17 Thread Nonsanity
Using hscroll of a field and the send in time command, I got very smooth text scroll on my Macbook Pro. Here's the stack I tested with: https://dl.dropbox.com/s/l4gc4mp0401j6se/Smooth%20Scrolling%20Text.livecode?dl=1 Let me know how it works for you. ~ Chris Innanen ~ Nonsanity On Tue

Re: Simple way to read the livecode list

2011-05-13 Thread Nonsanity
touch trackpads rock too, if they have two-finger scrolling - which mine does. ~ Chris Innanen ~ Nonsanity On Fri, May 13, 2011 at 6:33 AM, stgoldb...@aol.com wrote: > I've been following this great livecode (runrev) comments list for years > and could kick myself for not using this

Re: Obscuring password data in a data grid

2011-05-13 Thread Nonsanity
s to the actual passwords. ~ Chris Innanen ~ Nonsanity On Fri, May 13, 2011 at 9:13 AM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Thanks Mike, some useful grist to the mill there. > FYI I already have the problem solved for a single password field - by > using a Pass

Re: In Need of Assistance (URGENT)

2011-05-12 Thread Nonsanity
Well Michael Jackson DID own a monkey. But Bubbles wasn't very good at Livecode. (Not the frail attempt to make this on-topic for the list!) ~ Chris Innanen ~ Nonsanity On Thu, May 12, 2011 at 12:40 PM, Bob Sneidar wrote: > The first thing I notices was that "monkey&qu

Re: What does Windows 'shell' expect?

2011-05-12 Thread Nonsanity
especially if I am the one who later on has > to figure out what the h*ll I was thinking. > > Bob > ~ Chris Innanen ~ Nonsanity ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Re: Highlight list line on hover?

2011-05-12 Thread Nonsanity
unlock screen end mousemove The lock screen prevents a flicker. ~ Chris Innanen ~ Nonsanity On Thu, May 12, 2011 at 8:52 AM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Hi folks, > I've found mouseEnter, mouseLine and Highlight in the dictionary but can't >

Re: In Need of Assistance (URGENT)

2011-05-12 Thread Nonsanity
Doesn't help with password protected stacks... But at least you can check non-protected stacks that way, which most are. You have to be sensitive to obfuscation however... :) ~ Chris Innanen ~ Nonsanity On Thu, May 12, 2011 at 10:18 AM, Mark Schonewille < m.schonewi...@economy-x-

Re: In Need of Assistance (URGENT)

2011-05-12 Thread Nonsanity
havior... Offset the risk trust brings with some crowd-sourced safety. :) Home my tips help you, JYST, and good luck on your assignment. We're here to answer SPECIFIC questions you may have. :) ~ Chris Innanen ~ Nonsanity 2011/5/12 Björnke von Gierke > this sounds like a school assig

Re: Need Assistance

2011-05-09 Thread Nonsanity
mal), the time will mostly be spent getting the look and content of the application how you want it, I'm sure. Check out some of the education stacks in the Rev Online directory for examples. ~ Chris Innanen ~ Nonsanity On Mon, May 9, 2011 at 1:30 PM, Jonathan wrote: > Hi guys, >

Re: Can Message Box retain messages?

2011-05-07 Thread Nonsanity
myself as I can be sure that only my script knows about field "output" and so the data collecting there won't be tainted by output from some other script writing to msg. ~ Chris Innanen ~ Nonsanity On Sat, May 7, 2011 at 8:00 PM, Jim Ault wrote: > The arrow up and down wo

Re: Database Encryption Key

2011-05-06 Thread Nonsanity
So is your question "Does a encrypted stack also encrypt all its variables in memory?" ~ Chris Innanen ~ Nonsanity On Fri, May 6, 2011 at 12:30 PM, Warren Kuhl wrote: > I have a database encryption key that is required by my RunRev application. > Currently I just have the k

Re: Can Message Box retain messages?

2011-05-06 Thread Nonsanity
gs down. I use many such hidden fields to track my data as it moves through an app, particularly if the data is large and not easily viewed in the debugger. ~ Chris Innanen ~ Nonsanity On Fri, May 6, 2011 at 2:04 PM, tbodine wrote: > Hi All. > > Can the Message Box retain messages

Re: Hide group on click

2011-05-06 Thread Nonsanity
ke it a better English sentence - Words that can probably be added without damaging the code, but who wants to type more than necessary? :) But I wouldn't be surprised to find things in the dictionary that violate even these simple rules... The language is growing by many hands, after all. ~ C

Re: Finding Tips

2011-05-05 Thread Nonsanity
Just widening the search parameters in the Dictionary to search all the content instead of just names (extra credt: move name matches to the top) is all that's needed. This shouldn't be hard to implement... ~ Chris Innanen ~ Nonsanity On Thu, May 5, 2011 at 3:22 PM, Pete wrote:

Re: Long-term Planning UI Ideas

2011-05-05 Thread Nonsanity
imple, you can ignore this version. The code is a bit more complex now due to speed tracking. But that swipe to scroll through time is sorta nice... :) ~ Chris Innanen ~ Nonsanity On Thu, May 5, 2011 at 2:20 PM, David Glass wrote: > That is *very* cool. Almost exactly what I was envision

Re: Long-term Planning UI Ideas

2011-05-05 Thread Nonsanity
le timeline. The start and end months for the projects are in the project graphics' custom properties. See the script comments for more details. Feedback from anyone is always appreciated. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 10:51 PM, David Glass wrote: > Not sure ho

Re: [revServer] should revdelete work

2011-05-04 Thread Nonsanity
Perhaps there should be: delete folder delete empty folder ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 10:57 AM, Pierre Sahores wrote: > Yes, if really needed but about the unability of "delete folder" and/or > revdeletefolder, to work against non empty folders, d

Re: Staying on a field

2011-05-04 Thread Nonsanity
~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, 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 inval

Re: How to sync multiple functions / routines in parallel

2011-04-29 Thread Nonsanity
in memory by making a copy of it, then use the static copy to write to each database in turn. This keeps them safe from the continuous updates. ~ Chris Innanen ~ Nonsanity On Sat, Apr 23, 2011 at 11:12 AM, Glen Bojsza wrote: > Hello, > > I have a database which I have created severa

Re: select after the selectedText

2011-04-29 Thread Nonsanity
select after char -1 of fld 1 Also works. ~ Chris Innanen ~ Nonsanity On Fri, Apr 29, 2011 at 8:37 AM, wrote: > Richmond. > > > Would changing to "select after the text" make this better? > > > Craig > > > > > > -Original Message- &g

Re: Live LiveCode Event #21

2011-04-29 Thread Nonsanity
If you still don't have anyone else offer, I think I can now do the talk. The Saturday plans are later in the evening (5pm EDT) so the usual start time for the LLCCE (2pm EDT) should be fine. ~ Chris Innanen ~ Nonsanity On Thu, Apr 28, 2011 at 4:05 PM, Mark Schonewille < m.schonewi...

Re: Linked List Code

2011-04-27 Thread Nonsanity
That should read "nesting arrays"... Putting one inside another. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 5:10 PM, Nonsanity wrote: > Ah, yes multi-dimensional arrays are fully supported by LC. > > put "ABC" into myMDArray[ 1 ][ 3 ][ 2 ] > &g

Re: Linked List Code

2011-04-27 Thread Nonsanity
Ah, yes multi-dimensional arrays are fully supported by LC. put "ABC" into myMDArray[ 1 ][ 3 ][ 2 ] LC allows for nexting arrays, so basically this is an array of arrays of values, or a three dimensional array. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 3:20 PM, Pete w

Re: How to generate user passwords

2011-04-27 Thread Nonsanity
put base64encode( random( 1 ) ) into msg :) ~ Chris Innanen ~ Nonsanity 2011/4/27 Björnke von Gierke > repeat for random(2) + random(2) + 4 times > put any char of > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+*%&/)=?-_.:,;" > & q

Re: Linked List Code

2011-04-27 Thread Nonsanity
of myList put item 4 of myList into msg -- "C" put item 2 to -2 of myList into msg -- "B,3,C,D" put myList into msg -- "A,B,3,C,D,F" You can also use arrays, though if you are deleting items, you need to access the list of keys. This can get more comple

Re: Creating a customkey from a variable

2011-04-27 Thread Nonsanity
x27;s array value: put the mySet[ myCustomPropNameVar ] of this stack into myCustomProp put myCustomProp[ "x1" ] into msg -- "123" So there may be something to post as a bug here... ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 1:55 PM, Nonsanity wrote: > Re

Re: Creating a customkey from a variable

2011-04-27 Thread Nonsanity
eVar ] of this stack to myCustomPropValue Not the use of the "customKeys" name. If you use array notation in the set command for properties, you are messing with sets, not the contents of the properties. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 1:38 PM, Glen Bojsza wrote: > Hi

Re: Menu Icons?

2011-04-04 Thread Nonsanity
OS X days that a lot of the additional menu options like icons was done with special text in the menu item's name. Maybe its still possible to add icons that way, though I'm not sure how you'd reference a graphic that way. ~ Chris Innanen ~ Nonsanity On Wed, Mar 30, 2011 at 5:28

Re: Menu Icons?

2011-03-30 Thread Nonsanity
, I'd advise against it... It's definitely not standard UI practice. ~ Chris Innanen ~ Nonsanity On Tue, Mar 29, 2011 at 2:23 PM, Scott Rossi wrote: > Am I imagining this, or was the ability to include icons/images in menus > added to LC at some point? If yes, does anyone know w

Re: Presenting with LiveCode instead of PowerPoint/Keynote

2011-03-18 Thread Nonsanity
Google Says: http://www.pecha-kucha.org/ ~ Chris Innanen ~ Nonsanity On Fri, Mar 18, 2011 at 4:20 PM, Richmond wrote: > On 03/18/2011 10:11 PM, Ben Rubinstein wrote: > >> I moderate occasional 'Pecha Kucha'-style >> > > Umm; what are 'Pecha K

Re: Presenting with LiveCode instead of PowerPoint/Keynote

2011-03-18 Thread Nonsanity
develop in LiveCode... :) ~ Chris Innanen ~ Nonsanity On Fri, Mar 18, 2011 at 2:17 PM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > OK, thanks. I suspected the approach would be DIY (do it yourself) - I > don't need to waste any time looking for pre-cooked answers

Re: Best practice for creating a resizable HUD-style widget stack background?

2011-03-16 Thread Nonsanity
from the now-resized graphics and re-apply. (Hmmm, there sure were a lot of dashed-words in there...) ~ Chris Innanen ~ Nonsanity On Wed, Mar 16, 2011 at 4:14 AM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Hi Scott, > Thanks for the response, comprehensive clari

Re: Live LiveCode Code event invitation

2011-03-14 Thread Nonsanity
### DIVIDE BY CHEESE ERROR ### Restart Universe? (y/n) >_ ~ Chris Innanen ~ Nonsanity On Mon, Mar 14, 2011 at 4:35 PM, Jerry J wrote: > On Mar 14, 2011, at 1:27 PM, Colin Holgate wrote: > > > > > On Mar 14, 2011, at 4:20 PM, Björnke von Gierke wrote: > > > >

Re: LiveCode color map

2011-03-14 Thread Nonsanity
with a bad color name, the RGB values you get back will be something like "Aquamarine,65,128" which is quite odd. So it's a good idea to make sure the named color is in colornames before applying it. ~ Chris Innanen ~ Nonsanity On Sun, Mar 13, 2011 at 7:59 PM, J. Landman Gay wro

Re: Coding Challenge

2011-03-12 Thread Nonsanity
I'll drop my code in LC and actually RUN it now. If you want to collaborate closer on it, I'd be happy to help. My AIM/iChat is FluffAndSuch. (Other LCers are welcome to use that too.) ~ Chris Innanen ~ Nonsnaity On Sat, Mar 12, 2011 at 3:39 AM, Malte Brill wrote: > Chris, > > thanks for loo

Re: Coding Challenge

2011-03-11 Thread Nonsanity
On Fri, Mar 11, 2011 at 2:32 PM, Nonsanity wrote: > On Fri, Mar 11, 2011 at 1:54 PM, Nonsanity wrote: > >> Try this. I haven't tested, but the logic looks sound enough... > > > Actually, don't try that, try this. That one had flaws this one should fix. > (But a

Re: Coding Challenge

2011-03-11 Thread Nonsanity
On Fri, Mar 11, 2011 at 1:54 PM, Nonsanity wrote: > Try this. I haven't tested, but the logic looks sound enough... Actually, don't try that, try this. That one had flaws this one should fix. (But again, not tested at ALL.) private function resolveRelation pPers1,pPers2,pRe

Re: Coding Challenge

2011-03-11 Thread Nonsanity
Try this. I haven't tested, but the logic looks sound enough... private function resolveRelation pPers1,pPers2,pRelation put sRelations[pPers1][pPers2] into relationship -- if the two are equal but we're testing for > or < then return false if relationship is "=" and pRelation is not "="

Re: Coding Challenge

2011-03-11 Thread Nonsanity
tween B and E? Result: The relationship between B and A is >. Exclamation: That wasn't what I asked for, stupid computer! Grumble: ...always doing what I TELL it to do instead of what I WANT it to do... (Real Answer: < ) ~ Chris Innanen ~ Nonsanity On Fri, Mar 11, 2011 at 8:26 AM

  1   2   >