Re: Drawing a Graphice Segment

2015-07-26 Thread Scott Rossi
Lock/unlock helps significantly here when showing the feedback and dramatically improves the "feel" of the behavior. Might just be slower hardware. On a related but separate note, I also ran into some weird issue when doing experiments with mouseColor() causing recursion in LC 7.0.5. Apparently m

Re: Drawing a Graphice Segment

2015-07-26 Thread Mike Bonner
Will the lock/unlock actually help when the little pinpoint graphic isn't set to visible? Also, I was just thinking, the way I set things up I set the invisible graphic that follows the mouse as the backmost object so that I could then start my grc check loop at 2. Depending on your needs you mig

Re: Drawing a Graphice Segment

2015-07-26 Thread Scott Rossi
Works fine here. Note that you'll likely get snappier performance by locking/unlocking the screen at the beginning and end of the mouseMove handler, as LC 7 can be pretty slow to natively update the screen. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/26/15, 11:36

Re: Parsing and Extracting Text from ePub XHTML

2015-07-26 Thread Mark Schonewille
Hi Brahmanathaswami, This works on LC 6.7.3: on mouseUp put fld 1 into x if the platform is not "MacOS" then // not sure why this works put isoToMac(x) into x end if put uniDecode(uniEncode(x,"UTF8")) into x set the htmlText of fld 2 to x end mouseUp

Re: Parsing and Extracting Text from ePub XHTML

2015-07-26 Thread Richmond
Presumably you have already tried SET THE HTML TEXT OF FIELD "BLAH" TO . . . Richmond. from my jail-broken, recycled iPad 1 On 26 Jul 2015, at 20:31, Brahmanathaswami wrote: > We do a lot of work with the contents of ePubs. For those who don't know the > spec: > > "someBook.epub" is just "s

Parsing and Extracting Text from ePub XHTML

2015-07-26 Thread Brahmanathaswami
We do a lot of work with the contents of ePubs. For those who don't know the spec: "someBook.epub" is just "someBook.zip" which when inflated has a mini-portable web site based on responsive CSS (all percentages). You get someBook /ops # "Open Package Structure" / fonts / images / styles / x

Re: Drawing a Graphice Segment

2015-07-26 Thread J. Landman Gay
On 7/26/2015 1:17 PM, Terence Heaford wrote: I filled the arc with 125,78,158 and mouseColor returned 125,79,158 Thus the test failed. Why this happened I don’t know? It could be the anti-aliasing. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: Drawing a Graphice Segment

2015-07-26 Thread Mike Bonner
Hmm. Let me look. You did set up the one graphic (I used a line sized 2x2, set to invis) and have it follow the mouse around, right? And no, as far as I can tell a group makes no difference. If you see from my test stack I have one tiny grc named "mousepoint" and the first line of the mousemove

Re: revBrowserSet

2015-07-26 Thread Terence Heaford
Here is an example of HighCharts When I drag an htm file onto the revBrowser or load the file using revBrowserNavigate gBrowserId, "file://" & gFile it works When I put the html below into a LC field and try put revBrowserExecuteScript(gBrowserId, the text of field "JavaScript”) it fails.

Re: Drawing a Graphice Segment

2015-07-26 Thread Terence Heaford
> On 25 Jul 2015, at 22:37, Mike Bonner wrote: > > Added some tweaks to make it function better, it works pretty well now, Try > re-downloading for the newest version. Is there any reason this would not work when the graphics are contained in a group as I can’t get it to work? Thanks Terr

Re: Drawing a Graphice Segment

2015-07-26 Thread Terence Heaford
> On 25 Jul 2015, at 19:44, J. Landman Gay wrote: > > The color test should work if you don't use a gradient or other graphic > effects, just a solid fill. The color test does not work consistently. For example: I filled the arc with 125,78,158 and mouseColor returned 125,79,158 Thus the

Re: revBrowserSet

2015-07-26 Thread Kay C Lan
On Fri, Jul 24, 2015 at 7:18 PM, Terence Heaford wrote: > > I thought put revBrowserSet gBrowserID,”htmlText”,theContentsOfgFile might > work, but it doesn’t. > > Well it works perfectly for me so I can't figure out why it's not working for you. As far as I know as long as 'theContentsOfgFile' is

Re: LiveCode and SQLite performace

2015-07-26 Thread Kay C Lan
On Sat, Jul 25, 2015 at 1:03 AM, Richard Gaskin wrote: > Yes, I also use Time Machine, but relying on any single backup isn't > enough; > TimeMachine can easily be set up to use multiple HDs so that you are not relying on a single backup. Even so I fully agree with everything you said. I have m

Re: Calendar Picker

2015-07-26 Thread Scott Morrow
Hello Mike, I rolled my own iCal-looking interface for use on iPhone by starting with Sarah Reichelt’s calendar project as a jumping off point. Her Troz-Ware site is now located at and all of her LiveCode examples have moved to github. The calendar stack is here: