How to stop LoveCode running in Edit mode

2016-09-16 Thread Keith Clarke
Hi folks, Returning to LiveCode after some months away and am wondering why, in 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still firing when I switch to (or open a simple stack in) ‘Edit/Pointer’ mode. IIRC, code only used to run whilst in ‘Run/Browse’ mode. This is mak

Re: How to stop LoveCode running in Edit mode

2016-09-16 Thread Keith Clarke
…and sorry about the ‘LoveCode’ typo - a Freudian slip, or just absence making the heart grow fonder, perhaps! :-) Best, Keith.. > On 16 Sep 2016, at 10:50, Keith Clarke wrote: > > Hi folks, > Returning to LiveCode after some months away and am wondering why, in 8.1 (in > Ma

How to extract specific columns/line items from a CSV file?

2016-09-20 Thread Keith Clarke
Hi folks, I’ve a large number of sizeable CSV files from each of which I need to extract just 2 or 3 specific columns. Creating nested iterations through every item in every line seems somewhat inefficient - as does loading each full file into memory - so I feel I must be missing a trick here.

Re: How to extract specific columns/line items from a CSV file?

2016-09-20 Thread Keith Clarke
es line to line, but I'm not sure of that. > > On Tue, Sep 20, 2016 at 2:16 PM, Keith Clarke wrote: > >> Hi folks, >> I’ve a large number of sizeable CSV files from each of which I need to >> extract just 2 or 3 specific columns. Creating nested iterations through >&

Re: How to extract specific columns/line items from a CSV file?

2016-09-20 Thread Keith Clarke
016, at 22:42, Richard Gaskin wrote: > > Keith Clarke wrote: > > > It’s interesting that the url container can be addressed directly, > > instead of loading the file > > get url ("file:"& tFile) > > ...does the same as: > > open file tFile for r

Any characters wildcard or regex?

2016-09-22 Thread Keith Clarke
Hi folks, I’m trying to strip out all HTML tags from text in a variable. Replacement of specific tags works fine... replace “" with empty in tText …but I’m struggling to find (documentation on) a blanket ‘any number of any characters’ wildcard or regex approach... So far I’ve tried "<*>”, “<[*]

Re: Any characters wildcard or regex?

2016-09-22 Thread Keith Clarke
er because it can >> appear between and > > you can even (ab)use "the templatefield" for this: > ... > set the htmltext of the templatefield to url("http://your_url/here.html";) > put the text of the templatefield into fld 1 # or a variable > reset the templatef

Re: Any characters wildcard or regex?

2016-09-22 Thread Keith Clarke
> > Also, in your example above I assume you correctly set the htmltext rather > than the html.. > > On Thu, Sep 22, 2016 at 8:46 AM, Keith Clarke wrote: > >> Thanks Mike & Klaus, >> The simple line 'replace "<.*>" with empty in tFil

Re: How to stop LoveCode running in Edit mode

2016-09-24 Thread Keith Clarke
Thanks for the response Kay. Unfortunately the problem persists in 8.1.0 on OSX & Windows, but luckily I could rework my project into a stack that would open on 7.1.4, so it’s not a show-stopper. There’s nothing special about the stacks that misbehave for me on LiveCode 8.1.0 - right-clicking b

Re: How to stop LoveCode running in Edit mode

2016-09-25 Thread Keith Clarke
? I ask as despite clearing this out, I still see a couple of third-party plugins listed despite the Plugin folder being empty - e.g. Data Grid Helper. Have I further housekeeping to undertake to clear the decks of any obsolete code? Best, Keith.. > On 24 Sep 2016, at 19:27, Richard Gask

Re: How to stop LoveCode running in Edit mode

2016-09-26 Thread Keith Clarke
don’t all look like core, LiveCode-supplied code, so I wonder how they are getting into this list and I wonder if I need to purge any of them? Best, Keith.. > On 25 Sep 2016, at 17:15, Mark Wieder wrote: > > On 09/25/2016 04:31 AM, Keith Clarke wrote: > >> Am I correct

Re: [OT] Website Design Apps-Mac

2016-10-17 Thread Keith Clarke
I used RapidWeaver for years and still maintain a couple of sites with it. However, I haven’t taken up the most recent updates (to core, stacks and add-ons) as most sites I created with it have since migrated to Wordpress, which IMHO (and like it or loath it) is probably the de facto tool for po

Re: [OT] Website Design Apps-Mac

2016-10-17 Thread Keith Clarke
se of my very limited knowledge in this area I had > skipped Wordpress. My understanding was that it was software for “blog” > building. However, given your comment, I’ll check it out. > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com >

Taming Yosemite mic volume & AGC from Livecode

2014-11-20 Thread Keith Clarke
Hi Folks, A question for any Mac audio experts in the virtual room. The Problem Some colleagues are having problems with multiple apps fighting over OSX (Yosemite) microphone levels - and auto-adjusting the Automatic Gain Control (AGC) in real-time. Apps include Skype, GotoMeeting, Webex, Google

Re: Taming Yosemite mic volume & AGC from Livecode

2014-11-20 Thread Keith Clarke
course you can then add in all sorts of parameters to the volume and > delays etc. I'm sure you can get Auber-creative with this. > > all the best > > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > > On 20 November 2014 10:25, Keith Clarke wr

Denormalising CSV tables

2015-03-15 Thread Keith Clarke
Folks, Is there a ‘smart’ way to denormalise ‘child' & ‘parent' CSV tables extracted from an RDBMS in LiveCode or is it down to iterating through lists using chunk functions? I have four tables, related in the database as Child-Parent-GrandParent-GreatGrandParent. Each file has its own record I

Re: Denormalising CSV tables

2015-03-15 Thread Keith Clarke
On Sunday, March 15, 2015, Mike Doub wrote: > >> Would it not be better to make the child table into an array indexed by >> its ID, then make a single pass thru the parent table using the child ID >> into the array. >> >> Mike >> >> On Sunday, March

Re: Denormalising CSV tables

2015-03-15 Thread Keith Clarke
n, Mar 15, 2015, 6:59 AM Keith Clarke wrote: > >> Thanks for the steer, Mike. I’ve not really used arrays before, but this >> sounds a more efficient approach - so I’ll wok through the lessons & docs. >> Best, >> Keith.. >> >>> On 15 Mar 2015, at 13:21

Pre-select / highlight list field lines on cardOpen?

2015-03-15 Thread Keith Clarke
Folks, I’m using the selected lines of a list field as a simple filter. However, when I navigate from the card & return, the selected lines are forgotten - so the filter has to be reset manually. So, I’ve added a script to trap the selections & save to stack-level custom properties, so they’re

Re: Pre-select / highlight list field lines on cardOpen?

2015-03-15 Thread Keith Clarke
gt; Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/15/15, 3:50 PM, "Keith Clarke" wrote: > >> Folks, >> Iąm using the selected lines of a list field as a simple filter. However, >> when I navigat

Re: Denormalising CSV tables

2015-03-15 Thread Keith Clarke
f > >> On Sun, Mar 15, 2015, 8:21 AM Keith Clarke wrote: >> >> Sadly, I have no control over the source CSVs - they are from a backup zip >> file. >> >> I’m trying to denormalise the key data down to the most detailed level in >> LiveCode to simplify

How to add a new item into the end of an existing line?

2015-03-16 Thread Keith Clarke
Folks, Please can anyone clarify the syntax needed to add a new item A to the end of an existing line B of an existing variable C? I can add to the end of the variable OK, as in put foo after C but if I try to put foo after B, after line B or after item -1 of line B, after Z (defined as item -

Re: How to add a new item into the end of an existing line?

2015-03-16 Thread Keith Clarke
the existing container. Best, Keith.. > On 16 Mar 2015, at 17:52, Peter Haworth wrote: > > Maybe "put the itemdelimiter & foo after line B of C" > > On Mon, Mar 16, 2015 at 10:46 AM Keith Clarke wrote: > >> Folks, >> Please can anyone clarify the synta

Re: How to add a new item into the end of an existing line?

2015-03-17 Thread Keith Clarke
easier to just > insert the comma and data. > > > > On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub wrote: > >> put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after >> tData >> set itemdel to comma >

Re: How to add a new item into the end of an existing line?

2015-03-17 Thread Keith Clarke
of refactoring as I go. Best, Keith.. > On 17 Mar 2015, at 15:02, Mike Bonner wrote: > > Hope a flaky ssd hasn't munged your stack. That would be awful! > > On Tue, Mar 17, 2015 at 3:15 AM, Keith Clarke wrote: > >> Folks, >> Thanks to Mike, Michael, Jerry

Re: How to add a new item into the end of an existing line?

2015-03-18 Thread Keith Clarke
what was happening, but the RunRev team now has a bug with recipe for repeating it. Meanwhile, I can get back to implementing all the suggestions on correct syntax to append data to existing lines in a container! :-) Best, Keith.. > On 17 Mar 2015, at 17:55, Keith Clarke wrote: > > I

Re: Status of on-rev restore?

2015-05-06 Thread Keith Clarke
The process seems to be ongoing. I was provided with C-Panel access to sage last night. However, my account currently seems to be in an interim state - a shell with some DNS records and (broken) C-Panel metadata but no underlying folders, files, add-on domains, FTP accounts, databases, etc. I'm

Re: Status of on-rev restore?

2015-05-12 Thread Keith Clarke
I’ve been waiting since the 7th on the promise of files and resources to be recovered into my empty account. There was a suggestion that it may be a permissions issue rather than missing resources, but radio-silence since then, so I’ve just chased again. Worryingly, I didn’t receive an auto-re

Re: Status of on-rev restore?

2015-05-13 Thread Keith Clarke
ing an outage at all - let alone a couple of weeks. Best, Keith.. > On 12 May 2015, at 10:06, Keith Clarke wrote: > > I’ve been waiting since the 7th on the promise of files and resources to be > recovered into my empty account. > > There was a suggestion that it may be a per

Filter lines of a variable that start with...

2014-05-03 Thread Keith Clarke
Hi folks, I’m working on a little utility to analyse Google search results and I’m trying to isolate just the results list (which sit in an unordered list) form the rest of the HTML page source noise. I wanted to filter lines with the first 3 chars are “ tags. I’ve checked this by putting the

Re: Filter lines of a variable that start with...

2014-05-03 Thread Keith Clarke
…of course, it would have helped if I’d added the “*” wild card to the end of the filter - doh! :-) filter tSearchResultsHTML with" wrote: > Hi folks, > I’m working on a little utility to analyse Google search results and I’m > trying to isolate just the results list (which sit in an unordere

Re: Learning about server

2014-06-11 Thread Keith Clarke
've used in classes and workshops. > > http://livecode.byu.edu/internet/lc_servercripting.php > http://livecode.byu.edu/internet/lc_server_notes.php > > In addition to your notes on installing Server, I also remember that Keith > Clarke posted some instructions a couple

Re: an enhancement proposal for the language...

2011-04-26 Thread Keith Clarke
...please get some sleep Andre ...end please ;-) On 26 Apr 2011, at 11:02, Andre Garzia wrote: > Hey Folks, > > It is about 3:00 AM here and I am coding my presentation and while I was > struggling with the engine to get some stuff working I came to a realization > that was something sh

Re: an enhancement proposal for the language...

2011-04-26 Thread Keith Clarke
Ah, OK - good luck with it. :-) On 26 Apr 2011, at 11:31, Andre Garzia wrote: > let me fix that for you: > > ...please > get some sleep Andre > > ...oh no > haven't finished my presentation > ...end please > > On Tue, Apr 26, 2011 at

Re: my conference contest entry

2011-04-30 Thread Keith Clarke
Nice Colin - though something specific to your revlet (that none of mine have) is crashing Safari for me every time. Here's hoping for an updated browser plug-in soon - and maybe even a second revServer prerelease before June (the anniversary of the previous version-drop). Best, Keith.. On 30 Ap

Trouble-shooting non-resizable stack/card size creep?

2011-05-04 Thread Keith Clarke
Hi folks, I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4

Re: Trouble-shooting non-resizable stack/card size creep?

2011-05-04 Thread Keith Clarke
gt; > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 4 mei 2011, at 11:36, Keith Clarke wrote: > >> Hi folks, >> I have a non-resizable stack (1024 x 768) with a common background group for >> all cards, including a 102

Re: Long-term Planning UI Ideas

2011-05-05 Thread Keith Clarke
Hi David, Have you looked at the Flexible grid spreadsheet-style grid control from http://www.runrevplanet.com/ It might be better suited to your needs than a full-blown data grid control. You can try it for free with the developer's kit. Best, Keith.. On 5 May 2011, at 03:51, David Glass wrote:

Re: Long-term Planning UI Ideas

2011-05-05 Thread Keith Clarke
Very nice Chris. David, if you decide to go 'scrollable' and want to get more graphical with your timeline, your might get some inspiration from Timeline 3D from Beedocs. Their product timeline was built using their timeline product - how's that for "eating your own dog-food!" Best, Keith.. On

Re: Long-term Planning UI Ideas

2011-05-06 Thread Keith Clarke
: > LOL...that's very cool, and completely beyond me for...a while. > > On 05/05/2011 11:42 PM, Keith Clarke wrote: >> Very nice Chris. >> >> David, if you decide to go 'scrollable' and want to get more graphical with >> your timeline, your might get so

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Thanks Klaus & René - I've obviously been staring at the screen for too long (several hours), so and didn't notice the typo or even lack of colour change in the script editor. Doh! So much for LiveCode's forgiving, English-like language - where have all the pseudonyms gone! ;-) Fixed and time

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Synonym might not be the correct term here but the dictionary could help us much more with Thesaurus and/or contextual relationships, because for the part-time coder, it's often difficult with LiveCode to know when to think of properties as nouns, adjectives, adverbs, etc. Just look at the basi

Re: Saving Image Data to Local File

2011-05-06 Thread Keith Clarke
Hi Peter, How about exporting a snapshot of the rect of the image object? Best, Keith.. On 6 May 2011, at 14:58, Peter Reid wrote: > I am displaying a static map from Google in an image object. How do I save a > copy of this map to a local PNG file so I can display it again without access > to

Hide group on click

2011-05-06 Thread Keith Clarke
Hi folks, I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group? on mouseDown set the visibility of me to

Re: Hide group on click

2011-05-06 Thread Keith Clarke
to not(the visible of me) > > Both should work for you. > Since the mouseup will not work if the visible is false, why not make the > code a little easier to understand by > set the visible of me to false > > On May 6, 2011, at 4:13 AM, Keith Clarke wrote: >> I have a

Re: Hide group on click

2011-05-06 Thread Keith Clarke
On 6 May 2011, at 16:07, Richmond Mathewson wrote: > Personally I always learn the short form for everything [ c.f. 'vis'] ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for vis-a-vis or the apostrophe-free state of b

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Chris, Maybe I'm still too new to LiveCode (or too keen on the Matrix) but for now I'm sticking to the principle that software objects are inanimate - they don't get to have a state of being! ;-) There seems to be a fair mixture of toggle properties that imply states of being (such as visible)

Re: Hide group on click

2011-05-06 Thread Keith Clarke
...ah, now I know who wrote the wikipedia page that I was quoting http://en.wikipedia.org/wiki/Vis ;-) On 6 May 2011, at 17:08, Richmond Mathewson wrote: > On 05/06/2011 06:48 PM, Keith Clarke wrote: >> On 6 May 2011, at 16:07, Richmond Mathewson wrote: >> >>> Perso

Re: Hide group on click

2011-05-06 Thread Keith Clarke
...well, you never know who reads the use list. At least this thread has provided clarity on how to set the visible of me to true - just in case! ;-) On 6 May 2011, at 17:27, Richmond Mathewson wrote: > On 05/06/2011 07:13 PM, Keith Clarke wrote: >> ...ah, now I know who wrote the

XML to array - what are the options?

2011-05-08 Thread Keith Clarke
Hi folks, I need to start learning about how best to convert XML files to arrays. There seems to be quite a lot of content around on this subject, so I'd really appreciate any pointers for where best to start my research. What is the state of the art regarding tools and techniques - and are there

Re: XML to array - what are the options?

2011-05-08 Thread Keith Clarke
ld-up some text-manipulation scripts from scratch. But there must be a simpler, higher-level, repeatable and more efficient way of doing this. Any ideas gratefully received. Best, Keith.. On 8 May 2011, at 14:58, Jim Ault wrote: > On May 8, 2011, at 3:03 AM, Keith Clarke wrote: > >&

Re: XML to array - what are the options?

2011-05-08 Thread Keith Clarke
Keith.. On 8 May 2011, at 17:41, stephen barncard wrote: > Search the archives - Trevor has released his xml-to-array and array-to-xml > routines to this list. They were short enough to paste into an email. > > On 8 May 2011 09:00, Keith Clarke wrote: > >> Jim.

Re: XML to array - what are the options?

2011-05-09 Thread Keith Clarke
Hi Trevor, Thanks for the steer, the stack update - and for creating and sharing this great resource! Best, Keith.. On 9 May 2011, at 13:21, Trevor DeVore wrote: > > Keith, > > The latest version of the routines can be found on revOnline: > > http://revonline2.runrev.com/stack/571/XMLAndArrays

Re: LC on ARM? $25 computer

2011-05-10 Thread Keith Clarke
...why wait? Just ask the RunRev team nicely for Linux capabilities to be brought up to scratch http://www.arm.com/community/software-enablement/linux.php Best, Keith.. On 10 May 2011, at 15:47, Richard Gaskin wrote: > Check this out: >

Re: LC on ARM? $25 computer

2011-05-10 Thread Keith Clarke
...yes Lynn, you heard right - http://www.microsoft.com/presspass/press/2011/jan11/01-05socsupport.mspx?rss_fdn=Custom Best, Keith.. On 10 May 2011, at 17:04, Lynn Fredricks wrote: >> Check this out: >> > y-$25/8301-17938_105-200604

Gradients on buttons?

2011-05-11 Thread Keith Clarke
Hi folks, Is there any particular reason why buttons don't support gradients - at least for those styles of button that are not attempting to be (desktop) OS-compliant, such as rounded rectangles? This seems strange as native gradient support for rounded rectangle buttons would (seem to) simpli

Re: Gradients on buttons?

2011-05-11 Thread Keith Clarke
Scott and Bernd, Thanks for confirming the situation with gradients on buttons. Scott - I'm just learning about behaviours, so thanks for clarifying that they are controlled by scripts on the target button (such as 'set the fillGradient [of graphic] to propertiesArray') rather than the properti

Re: Gradients on buttons?

2011-05-11 Thread Keith Clarke
...great, that sorted it - thanks. The dictionary could be clearer on this, as there is no mention of using disabled to ignore mouseEnter/ mouseLeave - only clicks or key presses. Thanks again, Keith.. On 11 May 2011, at 11:53, Scott Rossi wrote: > Recently, Keith Clarke wrote: > &g

Field content in background group only visible on its 'parent' card?

2011-05-11 Thread Keith Clarke
Hi folks, I have a background group containing a sub-group, which in turn, contains a button, plus an overlaying field that contains the button's Title (as I can't align the button's name against its 'icon' images appropriately). This Title field is selectable on all cards in the stack but the c

Re: Field content in background group only visible on its 'parent' card?

2011-05-11 Thread Keith Clarke
Thanks Klaus (and Mark) - yes that was it. One more property understood - 9,999 to go. It's so frustrating to be stuck in the 'consciously incompetent' quadrant with LiveCode - you need to know what is wrong before you can find it in the dictionary - and then it's so obvious! (Aaargh!) The d

Re: Gradients on buttons?

2011-05-11 Thread Keith Clarke
most likely drive a cross-platform approach. Best, Keith.. On 11 May 2011, at 14:32, Richard Gaskin wrote: > Keith Clarke wrote: > > > Is there any particular reason why buttons don't support gradients > > - at least for those styles of button that are not attempting to &

Vertical adjustment of specific field text?

2011-05-12 Thread Keith Clarke
Hi folks, Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels? I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using im

Re: Vertical adjustment of specific field text?

2011-05-12 Thread Keith Clarke
Thanks John, textShift will solve my problem very nicely. Strange that the Dictionary didn't return anything when I searched on 'superscript' or 'subscript' - as they're both in the description of shiftText?!? I don't see any Preferences settings to prevent the Dictionary from searching all f

Re: Vertical adjustment of specific field text?

2011-05-12 Thread Keith Clarke
the extended list. That is why (for example) you'll get a ton of > results when entering "the", but only one when entering "revxmlchildnames". > > On 12 May 2011, at 11:04, Keith Clarke wrote: > >> Thanks John, textShift will solve my problem very nice

Highlight list line on hover?

2011-05-12 Thread Keith Clarke
Hi folks, I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. Any clues would be greatly appreciated. Best, Keith.. ___

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
...great, thanks Klaus - that has fixed it! Best, Keith.. On 12 May 2011, at 14:01, Klaus on-rev wrote: > Hi Keith, > >> Hi folks, >> I've found mouseEnter, mouseLine and Highlight in the dictionary but can't >> seem to get the syntax correct to highlight a line in a list field with a >> mouse

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
...thanks Craig, but it doesn't track the mouse hover - Klaus nailed it with tracking mouseMove to set highlightedLines. Best, Keith.. On 12 May 2011, at 14:02, dunb...@aol.com wrote: > How about: > > > > on mouseWithin > select the mouseLine > end mouseWithin > > > > > Craig Newman _

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
...it's lucky that that's what I'm using then ;-) On 12 May 2011, at 14:11, Klaus on-rev wrote: > Addendum: > > Am 12.05.2011 um 15:01 schrieb Klaus on-rev: > >> Hi Keith, >> >>> Hi folks, >>> I've found mouseEnter, mouseLine and Highlight in the dictionary but can't >>> seem to get the synta

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
.. On 12 May 2011, at 14:53, dunb...@aol.com wrote: > Hmm. > > Just so I understand, what does Klaus' script do that mine (or John's) does > not? What does "hover" require (or mean)? > > I see no difference, unless that hover thing is the issue. > > Craig New

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
Craig/John, I'm not surprised that code that works elsewhere doesn't once I get my hands on it! Back in the day when I ran a consultancy practice, the developers used me as a test case for 'idiot-proof'! ;-) So, it's probably an interaction with some of the other code I've recently bludgeoned

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
...thanks Chris - I've added the screen lock/unlock (another first!), but I don't need to worry about long lines, because the list text Card names need to be visible in a fixed-width sidebar with no horizontal scrolling. So, I have... on mouseMove lock Screen set the hilitedlines of me t

Re: Highlight list line on hover?

2011-05-12 Thread Keith Clarke
...hmm, is mouseOver an undocumented feature - it's not in the Dictionary? On 12 May 2011, at 16:37, Richmond Mathewson wrote: > On 05/12/2011 03:52 PM, Keith Clarke wrote: >> Hi folks, >> I've found mouseEnter, mouseLine and Highlight in the dictionary but can

Re: Highlight list line on hover?

2011-05-13 Thread Keith Clarke
...a thinko - nice! Given the use and definition of mouseover in other environments, perhaps it was more a repressed pseudonym feature request? Best, Keith.. On 12 May 2011, at 23:35, J. Landman Gay wrote: > On 5/12/11 11:16 AM, Keith Clarke wrote: >> ...hmm, is mouseOver an und

Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
Hi folks, Any ideas on how one goes about obfuscating data in a 'Password' column of a data grid? I don't seen an option to set a column-specific password entry font, so could I perhaps use some clever property or behaviour trick on its containing cell? Best, Keith.. ___

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
deas. > > On Fri, May 13, 2011 at 2:18 AM, Keith Clarke < > keith.cla...@clarkeandclarke.co.uk> wrote: > >> Hi folks, >> Any ideas on how one goes about obfuscating data in a 'Password' column of >> a data grid? >> I don't seen an option to s

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
...ah, good tip - thanks Mike. On 13 May 2011, at 14:44, Mike Bonner wrote: > Ah k, think you need to set up a custom template for the column you want to > be your password field at which point you should be able to do what you want > with its specific field. > > Look here > http://lessons.runre

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
...good points well made, Chris. The password protect font was intended to a) show the user that they'd actually entered something and b) provide 'over the shoulder' protection. My intention is to have the data grid read-only but with rows selectable. Row data entry/editing would be in a dialo

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
...indeed - plus, there's the added bonus of less scripting required to count the characters! :-) On 13 May 2011, at 16:53, Bob Sneidar wrote: > If it's anything like important to protect these passwords, show 8 bullets > for everything. For one, you don't have to worry about column width for

Re: Highlight list line on hover?

2011-05-13 Thread Keith Clarke
Thanks Jaque, I was aware of that button property but it wouldn't help to get a list field's row hilite to change with mouseover. But don't worry - whilst my learning continues, my problem has been solved! ;-) On 13 May 2011, at 17:56, J. Landman Gay wrote: > On 5/13/11 2:2

XMLAndArray library ConvertXMLToArray() function - prep.

2011-05-14 Thread Keith Clarke
Hi folks, I'm learning about XML & Arrays by attempting to process some web service call responses using the ConvertXMLToArray() in Trevor DeVore's XMLAndArrays library http://revonline2.runrev.com/stack/571/XMLAndArrays The XML data looks fine to the human eye when put into a field, but the out

Re: XMLAndArray library ConvertXMLToArray() function - prep.

2011-05-14 Thread Keith Clarke
rior to putting into the field to read) contains no null characters. Bizarre! Still, I'll keep prodding it & Googling for troubleshooting ideas! Best, Keith.. On 14 May 2011, at 16:14, Jim Ault wrote: > On May 14, 2011, at 7:24 AM, Keith Clarke wrote: >> I'm learning about

Re: XMLAndArray library ConvertXMLToArray() function - prep.

2011-05-14 Thread Keith Clarke
nd I can prove this step before worrying about the array conversion. All part of the fun! Best, Keith.. On 14 May 2011, at 16:48, Keith Clarke wrote: > Hi Jim, > Thanks for responding. Viewed in a field, (with 'dontWrap' set to true), the > XML is as expected - a single,

Drag & drop lines between list fields

2011-05-18 Thread Keith Clarke
Hi folks, To help with some XML file analysis, I've created a pair of list fields that display the current node's children. The 'left' field is filled with all the child nodes and I filter this list down to just the nodes I will investigate further, by dragging into the 'right' list the nodes I

Re: Drag & drop lines between list fields

2011-05-18 Thread Keith Clarke
e without empty > > You also might consider with the syntax > > if tParameter is among the lines of the dragDestination then > > Hope this helps, > > Jim Ault > Las Vegas > > On May 18, 2011, at 3:18 AM, Keith Clarke wrote: > >> Hi folks, >>

LiveCode 4.6.1 message path and behaviors

2011-05-20 Thread Keith Clarke
Hi folks, In attempt to get my head around behaviors, I have revisited Trevor DeVore's Live 09 presentation on Behaviors and Custom Controls and put together my own map of (my understanding of) the 4.6.1 message path with standard and optional objects http://db.tt/dUrt0nL (Having seen great top-

Data grid not showing array contents?

2011-05-20 Thread Keith Clarke
Hi folks, I have an array called tObjectArray, containing a list of objects, in the form tObjectArray[1]["object"]. So, answer tObjectArray[5]["object"] returns the name of object number 5. Meanwhile, I have a data grid 'dg Object List', with a column named 'object', ready to display this list

Re: LiveCode 4.6.1 message path and behaviors

2011-05-20 Thread Keith Clarke
Thanks Trevor - that's very clear. I'll update my map accordingly. Best, Keith.. On 20 May 2011, at 13:38, Trevor DeVore wrote: > On Fri, May 20, 2011 at 6:59 AM, Keith Clarke < > keith.cla...@clarkeandclarke.co.uk> wrote: > >> In attempt to get my head aro

Re: LiveCode 4.6.1 message path and behaviors

2011-05-20 Thread Keith Clarke
error) > > your "breaking the path" part seems to be correct, but you missed the single > most advantage of "send", which is the "in " addition. > > > On 20 May 2011, at 12:59, Keith Clarke wrote: > >> Hi folks, >> In attempt to get my hea

Re: Data grid not showing array contents?

2011-05-20 Thread Keith Clarke
, at 14:08, Trevor DeVore wrote: > On Fri, May 20, 2011 at 8:26 AM, Keith Clarke < > keith.cla...@clarkeandclarke.co.uk> wrote: > >> I have an array called tObjectArray, containing a list of objects, in the >> form tObjectArray[1]["object"]. So, answer tObjectA

Re: Data grid not showing array contents?

2011-05-20 Thread Keith Clarke
expected. > > Bob > > > On May 20, 2011, at 7:02 AM, Keith Clarke wrote: > >> Trevor, Thanks for confirming that I'd not done something silly with the >> array or the data grid. >> Problem solved. It turned out to be a corrupt data grid. Deleting and &g

Extracting data grid get column data

2011-05-21 Thread Keith Clarke
Hi folks, Is there a direct way of extracting the data from 'cells' within a specific data grid column or is the most efficient (only?) way to iterate through via the rows, extracting array[rowNumber]["column"]["data"] each time? Best, Keith.. ___ use-

Re: Extracting data grid get column data

2011-05-21 Thread Keith Clarke
...actually, the iterative approach seems fast enough... put the keys of tArray into tRows repeat for each line tRow in tRows put return & tArray[tRow]["name"] after tNames filter tNames without empty end repeat Best, Keith.. On 21 May 2011, at 11:49, Keith Clarke wrot

How to preserving XML tag string formats in variables?

2011-05-21 Thread Keith Clarke
Hi folks, I'm experimenting with scripting the building of a POST message. So, I'm creating a set of lines that take the form "" & tVariable & "" and using a repeat loop to build each component of each lines into a variable tMessage. When I use 'add return & "opening–tag–string" & tVariable af

Re: How to preserving XML tag string formats in variables?

2011-05-21 Thread Keith Clarke
refresh to check plain text, instead of using put or answer (as answer dialogues show the same 'interpretive' behaviour). So, problem solved and another gem of wisdom stored away - many thanks! Keith.. On 21 May 2011, at 16:08, Jim Ault wrote: > On May 21, 2011, at 7:12 AM, Keith

Re: Extracting data grid get column data

2011-05-21 Thread Keith Clarke
loop? > > S. > >> -Original Message- >> From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- >> boun...@lists.runrev.com] On Behalf Of Keith Clarke >> Sent: Saturday, May 21, 2011 8:14 AM >> To: How to use LiveCode >> Subject: Re: Ex

Re: How to preserving XML tag string formats in variables?

2011-05-21 Thread Keith Clarke
Thanks for flagging this up but I have no problem with linefeeds - and the client platform is a red herring when dealing with standards-based XML. But I did a bit of digging - just to ensure that this won't bite me later... LiveCode's 'return' (or 'cr' for short) provides the correct 'linefeed'

Re: How to preserving XML tag string formats in variables?

2011-05-22 Thread Keith Clarke
-boun...@lists.runrev.com [mailto:use-livecode- >> boun...@lists.runrev.com] On Behalf Of Keith Clarke >> Sent: Sunday, May 22, 2011 2:28 AM >> To: How to use LiveCode >> Subject: Re: How to preserving XML tag string formats in variables? >> >> Thanks for flagging this

Re: LiveCode 4.6.1 message path and behaviors

2011-05-22 Thread Keith Clarke
Figure 2 in Richard's article On 21 May 2011, at 17:28, Björnke von Gierke wrote: > On 20 May 2011, at 15:45, Keith Clarke wrote: > >> It's probably about differences in 'brain-wiring' but I find that level of >> abstraction too difficult, when learning n

Re: LiveCode 4.6.1 message path and behaviors

2011-05-22 Thread Keith Clarke
Björnke, Thanks for the feedback: Libraries: I have tried to clarify the ambiguity here - between the Library Stack position in the message path and mechanisms for accessing library capabilities in stacks. Behaviors: I have clarified the wording of how behaviors sit on buttons and can be refe

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Keith Clarke
> don't address a person directly, maybe someone else would have helped, but > now you scared them away :P Perhaps they're just enjoying the spectacle of yet another poor naïve fool trying to boil the ocean! ;-) It's clear now that my question, which sought factual clarification, has raised que

  1   2   3   4   5   6   7   >