Re: Windows standalone puzzle

2013-08-29 Thread Peter Haworth
At someone's suggestion on the list, I ended up using the … html tag and setting the htmltext to avoid the Mac/Windows issue, but I was putting the data into a scrolling list field not a menu. Not sure if menus accept htmltext, would be interesting to check that out. Pete lcSQL Software

Re: Windows standalone puzzle

2013-08-29 Thread Peter M. Brigham
Yes, exactly. I simply took the code out of the function handler and used it in place of the function call in the mousedown handler in the button script, and it worked fine. This happened with two quite different functions that accomplished the same result: both of the approaches worked in the M

Re: Windows standalone puzzle

2013-08-29 Thread Peter M. Brigham
Yeah, I started out using an ellipsis but then I ran into the Mac/Windows font inconsistencies in another context. It took me a month of intermittent experimenting to discover how to use a keystroke to insert "®" and "—" into the Windows field. So in trying to solve the menu-building problem I

Re: Windows standalone puzzle

2013-08-28 Thread Geoff Canyon
I thought about writing the function to accept a parameter for the "ellipsis chunk" but I went with expediency instead :-/ Sent from my iPad On Aug 28, 2013, at 7:22 PM, Peter Haworth wrote: > you want to consider using numToChar(133) instead ___ us

Re: Windows standalone puzzle

2013-08-28 Thread Geoff Canyon
Do you mean that the code is no longer in a function at all, it's just part of some "build the menu" routine, and that works, but if it's a function, even in the same object, it's no good? That is odd. gc Sent from my iPad On Aug 28, 2013, at 11:40 AM, "Peter M. Brigham" wrote: > It started

Re: Windows standalone puzzle

2013-08-28 Thread Peter Haworth
Glad you got it working. Just a nitpick but you want to consider using numToChar(133) instead of "...".so you only take up 1 char instead of 3. Of course nothing's ever that simple 'cause then you'd have to use ISOToMac as well when on a Mac.. Pete lcSQL Software On Wed,

Re: Windows standalone puzzle

2013-08-28 Thread Peter M. Brigham
Inventive approaches, thank you. I continued to have trouble with using any function at all to trim the lines in a Windows standalone though everything I tried worked in the Mac IDE. It started working fine in the standalone when I put the identical code into the calling handlers. I still don't

Re: Windows standalone puzzle

2013-08-28 Thread Geoff Canyon
On Mon, Aug 19, 2013 at 9:43 PM, Peter M. Brigham wrote: > function shorten tList >repeat with n = 1 to the number of lines of tList > put line n of tList into lineText > if length(lineText) < 75 then next repeat > put empty into tBefore > put empty into tAfter >

Re: OT - Re: Windows standalone puzzle

2013-08-22 Thread Kay C Lan
On Thu, Aug 22, 2013 at 3:58 PM, Alex Tweedly wrote: > I'd see 'flash suppression' (if it could be done properly) as a similar > attempt to allow more people to watch a particular clip. > Where I live they've used 'flash suppression' for longer than I can remember. My kids have never seen or ev

Re: OT - Re: Windows standalone puzzle

2013-08-22 Thread Curry Kenworthy
> I'm afraid you're not getting 'truth' via broadcasts Everything on TV is always true. Talking heads are infallible and edits only enhance the facts. Anything omitted was never worth knowing. Polls and statistics can never mislead. If you doubt this, you will develop a bad rash and be placed

Re: OT - Re: Windows standalone puzzle

2013-08-22 Thread Alex Tweedly
On 22/08/2013 01:03, Roger Eller wrote: If they can edit what we "see" in a journalist presentation of the facts, have they not in a way, erased some of the truth? Yes in some strict sense. But any video shoot (or still photo) does that anyway - the eye can handle very wide variations in light

Re: OT - Re: Windows standalone puzzle

2013-08-21 Thread Tim Selander
Oh, golly. I work in broadcast (though not news.) ALL, and I mean ALL, news, documentaries, etc., etc. 'erase' some of the truth via editing, in what they decided to shoot and in what they never bothered to film in the first place. Taking out flashes in a news conference is the very LEAST of th

Re: OT - Re: Windows standalone puzzle

2013-08-21 Thread Roger Eller
If they can edit what we "see" in a journalist presentation of the facts, have they not in a way, erased some of the truth? ~Roger On Aug 21, 2013 7:41 PM, "Alex Tweedly" wrote: > On 20/08/2013 16:52, Richard Gaskin wrote: > >> This is why I love this community: >> >> ... >> Collectively, there'

OT - Re: Windows standalone puzzle

2013-08-21 Thread Alex Tweedly
On 20/08/2013 16:52, Richard Gaskin wrote: This is why I love this community: ... Collectively, there's nothing we can't solve. :) -- Richard Gaskin I've often thought that if I had *any* technical question, I could ask this list and there would be someone who knew (or at least had a very go

Re: Windows standalone puzzle

2013-08-20 Thread Peter M. Brigham
Amen. I don't put this into words often enough, but I love this list. I learn from it constantly and the camaraderie and collaboration is wonderful. Sometimes it's discovering a new way to approach an old problem, sometimes it's unearthing a little corner of LC that I had not discovered, sometim

Re: Windows standalone puzzle

2013-08-20 Thread Devin Asay
On Aug 20, 2013, at 9:52 AM, Richard Gaskin wrote: > Curry Kenworthy wrote: > >> I see an "of of" in line -5. Also be sure of your cr's and your file paths! > > Good catch! I'd looked at Peter's code and completely missed that. > > This is why I love this community: > > When you need to opti

Re: Windows standalone puzzle

2013-08-20 Thread Richard Gaskin
Curry Kenworthy wrote: I see an "of of" in line -5. Also be sure of your cr's and your file paths! Good catch! I'd looked at Peter's code and completely missed that. This is why I love this community: When you need to optimize a routine into a three-line solution using arrays, Alex Tweedly

Re: Windows standalone puzzle

2013-08-20 Thread Peter M. Brigham
D'oh! Should work now. The only remaining puzzle is why it worked on the Mac but not in the Windows standalone. Maybe the Mac understands stuttering better…. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Aug 20, 2013, at 4:38 AM, Curry Kenworthy wrote: > > I

Re: Windows standalone puzzle

2013-08-20 Thread Curry Kenworthy
I see an "of of" in line -5. Also be sure of your cr's and your file paths! Best wishes, Curry K. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: