Search found 466 matches

by WaltBrown
Thu Feb 26, 2015 12:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Potential Bugs In Field Coloring
Replies: 2
Views: 761

Re: Potential Bugs In Field Coloring

Thanks Bernd, 7.0.1 fixes both issues.
Walt
by WaltBrown
Wed Feb 25, 2015 8:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Potential Bugs In Field Coloring
Replies: 2
Views: 761

Potential Bugs In Field Coloring

Attached is a stack which illustrates two problems: 1. If the lines of a field have different background colors, if you delete a line, the text of the line is deleted and the rest of the text moves up, but the background color of that line is retained, and the background color of the subsequent line...
by WaltBrown
Mon Feb 23, 2015 5:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get word after offset ?
Replies: 12
Views: 1959

Re: get word after offset ?

If spaces are always element delimiters and not in the element values, you could set itemDelimiter to "space" first, then create an array or carriage-return-delimited list of elements. Then, set the itemDelimiter to "=" and for each line (or array element), item 1 would be the attribute and item 2 w...
by WaltBrown
Sat Feb 21, 2015 12:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Shell - continuous output?
Replies: 10
Views: 1820

Re: Shell - continuous output?

Did you try:
"read from process pProcess until EOF"
to see if its waiting for a linefeed?
Walt
by WaltBrown
Mon Feb 16, 2015 3:16 pm
Forum: Talking LiveCode
Topic: Signature Block
Replies: 13
Views: 2147

Re: Signature Block

I put this in an image area script:

Code: Select all

on mouseEnter
   choose the pen tool
end mouseEnter

on mouseLeave
   choose the browse tool
end mouseLeave
And it appeared to work OK.
Walt
by WaltBrown
Mon Feb 16, 2015 3:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handle error on function
Replies: 2
Views: 630

Re: Handle error on function

There's a note in the Dictionary entry on "openStack". It says to put functions you want to run once into the first card of the stack instead of the stack script. This worked when I tested your code. You may want to read about message paths in http://lessons.runrev.com/m/4603/l/44036-the-livecode-me...
by WaltBrown
Sat Feb 07, 2015 7:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Any way to "send" exit to a handler?
Replies: 10
Views: 2332

Re: Any way to "send" exit to a handler?

Maybe make a global called "gExitNow". Initial it as false. In every loop in every handler add "if gExitNow then exit" and make sure there is a wait with messages clause in the loop so other event handlers get called. Create a handler for whatever you want as an exit handler that sets gExitNow to tr...
by WaltBrown
Thu Feb 05, 2015 4:48 am
Forum: Off-Topic
Topic: Why so hard to purchase LC?
Replies: 5
Views: 2137

Re: Why so hard to purchase LC?

I've never had that problem. My bank is PNC. My international purchases have all gone through. Once in every 5 years or so their security department is triggered but a single short call to them clears it up in minutes (even at 2 AM at a gas station in rural Italy :-)
by WaltBrown
Tue Jan 20, 2015 5:32 pm
Forum: Feature Requests
Topic: Search for quoted string in Forums
Replies: 6
Views: 2260

Re: Search for quoted string in Forums

Richard, I got Klaus' "results" because I put it in Google as a quoted string...
by WaltBrown
Sun Jan 18, 2015 10:48 pm
Forum: Feature Requests
Topic: Search for quoted string in Forums
Replies: 6
Views: 2260

Re: Search for quoted string in Forums

Your search did not match any documents.
by WaltBrown
Sat Jan 10, 2015 12:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Parameter passing between stacks
Replies: 7
Views: 1401

Re: Parameter passing between stacks

You need a message receiver in the target stack, as in:

Code: Select all

on Hello
   put "Hello" into fld "fResults"
end Hello
Walt
by WaltBrown
Mon Jan 05, 2015 5:14 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How open directly inspector when the optionKey is down ?
Replies: 11
Views: 2120

Re: How open directly inspector when the optionKey is down ?

I tried calling it - it's name is "revPropertyPalette 1". I tried opening it and could do so, but then the IDE thinks it is a user stack (it puts it's name in the stacksInUse property), not part of the IDE - it asks if you want to save or discard changes when you try to close it, so I don't know if ...
by WaltBrown
Mon Jan 05, 2015 4:45 am
Forum: Talking LiveCode
Topic: Removing Certain Items from a Key In an Array
Replies: 4
Views: 1152

Re: Removing Certain Items from a Key In an Array

trueWord is interesting. It recognizes an apostrophe as part of the word if there is a character following the apostrophe (as in "don't", which is a contraction of two words), but not a dash in any case (as in "mother-in-law", which is considered a single compound word), or an apostrophe followed by...
by WaltBrown
Sun Jan 04, 2015 4:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Looking for livecode teacher or coder
Replies: 2
Views: 705

Re: Looking for livecode teacher or coder

Hi pxdn, Have you looked thru any of the learning resources, like http://livecodesupersite.com/tutorials.html, http://livecode.byu.edu/indexgeneric.php, http://lessons.runrev.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets? These all lead to further links of interest. Als...
by WaltBrown
Sun Jan 04, 2015 4:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How open directly inspector when the optionKey is down ?
Replies: 11
Views: 2120

Re: How open directly inspector when the optionKey is down ?

I was looking at this but found no solution. Note that in LC 7.0 rc1, the "doMenu" function did work on a few menu items (it worked on New Card but not the Property Inspectors), but only without the "of menuName" parameter, which caused a failure out to the Script Editor.
Walt

Go to advanced search