Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
On 09/08/15 23:03, Richard Gaskin wrote: Richmond wrote: > "Just" by loading the textFields into variables the whole script runs > considerably faster If you did the same with the output it'd get even faster. Hmm: on mouseUp put empty into fld "COOKED" put empty into fld "STARTT" pu

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
On 10/08/15 02:54, Michael Doub wrote: Richmond, Just so you know what is going on. Each time a change in made to a field, a lot of management code is executed to properly render the field in case it is needed to be visible. So when a field is modified within a loop, that field management

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Monte Goulding
> On 10 Aug 2015, at 3:22 pm, Richard Gaskin wrote: > > Features-per-kloc's not a bad metric…. Doesn’t every LiveCode project start at 0/50 ? Just being cheeky. You know I love LC ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Richard Gaskin
Monte Goulding wrote: >> But when we step back to look at a more complete measure of >> verbosity -- how much typing to get the same functionality >> -- LiveCode often outshines many other great languages. > > And here was I saying it was a feature… ;-) Features-per-kloc's not a bad metric

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Monte Goulding
> But when we step back to look at a more complete measure of verbosity -- how > much typing to get the same functionality -- LiveCode often outshines many > other great languages. And here was I saying it was a feature… ;-) ___ use-livecode mailing li

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Richard Gaskin
Monte Goulding wrote: On 10 Aug 2015, at 9:59 am, Richard Gaskin wrote: Monte Goulding wrote: > ...probably a bit worrying for LiveCode as it leaves its main USP > to be a verbose language… Verbose? Verbose for a programming language at least Yeah, I used to hear that from C and Assembl

Re: Jane Austen's peculiarity

2015-08-09 Thread dunbarx
Hermann. You are back. So glad... Craig -Original Message- From: hh To: use-livecode Sent: Sun, Aug 9, 2015 2:15 pm Subject: Re: Jane Austen's peculiarity To come back to Richmond's opening post, one could think about using the following, avoiding complex offset constructions.

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Monte Goulding
> On 10 Aug 2015, at 9:59 am, Richard Gaskin wrote: > > Monte Goulding wrote: > > > ...probably a bit worrying for LiveCode as it leaves its main USP > > to be a verbose language… > > Verbose? Verbose for a programming language at least ___ use-li

Re: Local Path for Mobile

2015-08-09 Thread Ralph DiMola
Yes, Also include those folders in the copy files pane of the standalone settings and your golden. TheEngine ("/images/pic.png") will work in the IDE and mobile. The Fonts will be loaded automatically on mobile. Check out bug 12431 on otf fonts and bug 14844 about the copyfiles pane. Two gotch

Re: Local Path for Mobile

2015-08-09 Thread Brahmanathaswami
Thanks Ralph So you mean like this... I think it is obvious but just to be sure on my HD ~/livecode/BigMobileProject/ big-project.livecode/ /images /fonts /data the three folders here are "relative" to the stack path.. I will test this.. than

Re: Visual Effects on Mobile

2015-08-09 Thread Brahmanathaswami
as I use these in mobile stacks, combined with limiting transitions to defined rects: Works on android also? Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Scott Rossi wrote: I believe curl and flip are the only visual effects that are exclusive t

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Richard Gaskin
Monte Goulding wrote: > ...probably a bit worrying for LiveCode as it leaves its main USP > to be a verbose language… Verbose? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Jane Austen's peculiarity

2015-08-09 Thread Michael Doub
Richmond, Just so you know what is going on. Each time a change in made to a field, a lot of management code is executed to properly render the field in case it is needed to be visible. So when a field is modified within a loop, that field management code is executed over and over. When t

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-09 Thread Monte Goulding
> On 8 Aug 2015, at 1:09 am, Mike Kerner wrote: > > http://www.zdnet.com/article/microsoft-open-sources-its-ios-toolkit-for-building-windows-10-apps/?tag=nl.e539&s_cid=e539&ttag=e539&ftag=TRE17cfd61 > >

Re: Odd behavior in Win8-I'm stuck fixing it, Help??

2015-08-09 Thread William Prothero
Paul: You’re right! Thanks for correcting this. This “from Rect” part is completely unnecessary. My earlier version, which captured the screen, also captured any IDE windows in from of the capture region. However, even with the RECT part of the command, the windows in front of the capture region

RE: Local Path for Mobile

2015-08-09 Thread Ralph DiMola
This assumes that all the assets to be included in the copy files pane in the standalone setting are relative to the stack path. function TheEngine local tStackPath switch case the environment = "Mobile" return the engine folder break default put the lo

Re: Making a browser smaller

2015-08-09 Thread David Bovill
Thanks - that works great. I'm actually just adding the transforms to the CSS of the body and footer elements. I did not realise quite how powerful CSS is - the transformations of whole pages are stunning and fast. Has anyone experimented with adding these via Livecode scripts to pages to induce s

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
On 09/08/15 23:03, Richard Gaskin wrote: Richmond wrote: > "Just" by loading the textFields into variables the whole script runs > considerably faster If you did the same with the output it'd get even faster. Aha. Richmond. ___ use-livecode mailin

Re: Jane Austen's peculiarity

2015-08-09 Thread Richard Gaskin
Richmond wrote: > "Just" by loading the textFields into variables the whole script runs > considerably faster If you did the same with the output it'd get even faster. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
"Just" by loading the textFields into variables the whole script runs considerably faster: on mouseUp put empty into fld "COOKED" put the long time into fld "STARTT" put 1 into KTEKST put 1 into KCOOK put fld "TEKST" into TEKST -- put fld "WERBS" into WERBS -- repea

Re: Jane Austen's peculiarity

2015-08-09 Thread hh
To come back to Richmond's opening post, one could think about using the following, avoiding complex offset constructions. First collect word 1 of each item of a string (not too large, size adapted to your machine), where the itemdelimiter is "were" or any other word (conditional) that filters

Re: Extracting a reference to a stack

2015-08-09 Thread Peter Haworth
I guess how you approach this is a matter of coding preferences. All the solutions posted work but some of them have certain edge cases when they won't, most of which I've run into at one time or another. I still prefer using the engine's knowledge of the ownership hierarchy of an object since it

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
However, I'm doing just fine with HTML text instead :) Well . . . the stack works, but as I have not loaded the whole text to be analysed into a variable, but am doing it line by line, the whole thing is taking far, far too long . . . What this does at least prove (P. Brigham et al)

Re: Reliable Custom Window Dragging in LC7?

2015-08-09 Thread Richard Gaskin
Mark Wieder wrote: On 08/08/2015 11:45 PM, Scott Rossi wrote: But create a new untitled stack in the IDE. Click between between the new stack and the windowShaped stack and drag them around. Over here, when clicking on the windowShaped stack after the standard stack, there is a delay while th

Re: Reliable Custom Window Dragging in LC7?

2015-08-09 Thread Mark Wieder
On 08/08/2015 11:45 PM, Scott Rossi wrote: But create a new untitled stack in the IDE. Click between between the new stack and the windowShaped stack and drag them around. Over here, when clicking on the windowShaped stack after the standard stack, there is a delay while the window becomes act

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
On 09/08/15 16:52, Richmond wrote: On 09/08/15 16:47, Peter M. Brigham wrote: On Aug 9, 2015, at 8:46 AM, Richmond wrote: BUT what does fuss me is why this produces NO results when it analyses a text imported from an RTF file, BUT does work when the text is either manually edited or imported

Re: Extracting a reference to a stack

2015-08-09 Thread Mike Bonner
Ah thats too bad. I guess the other idea could still work. Dispatch a message to the object in question. Change getprop to.. command owningstack return the name of this stack end owningstack To get at the information just dispatch "owningstack" to myLongId put the result I have a feature requ

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
On 09/08/15 19:21, Richard Gaskin wrote: Richmond wrote: Now, if you happen to know of a list of English intransitive verbs . . . . Yes: I looked there: but I am a lazy toad, and the thought of typing all those words into

Re: Extracting a reference to a stack

2015-08-09 Thread Richard Gaskin
Mike Bonner wrote: Ok. Better way. Use a virtual getprop in a library stack getprop owningstack return (the name of this stack) end owningstack Then if you have the long id of an object you can do this.. get the owningstack of myLongId and "it" will contain the stackname. (should also work

Re: Jane Austen's peculiarity

2015-08-09 Thread Richard Gaskin
Richmond wrote: Now, if you happen to know of a list of English intransitive verbs . . . . There's also WordNet, but while it does include word sense I don't recall if it gets as specific as to the type of verb. Besides, it

Re: Extracting a reference to a stack

2015-08-09 Thread Peter M. Brigham
Yes, it does work. My error. You don't even have to use the long id, you can use something like get the owningStack of btn "help" of stack "myStack" and as long as stack "myStack" is open it works. Of course, if you have enough info to specify the stack, then you already know the name of the s

Re: Making a browser smaller

2015-08-09 Thread Bob Warren
David Bovill wrote: I've a web site that I want to make smaller in Livecode. In Chrome or Firefox I can shrink the browser view using Zoom In / Zoom Out. In Livecode we have "revBrowserMakeTextSmaller" - but this only shrinks the text. Any CSS or other tricks to zoom / shrink an entire web site

Re: Extracting a reference to a stack

2015-08-09 Thread Mike Bonner
Hmm. It works fine for me.. Since you're "getting" the property for the object itself, the reference is based on that object. IE get the owningstack of -- the long id being used sets the scope starting at the object in question, so that when it references "the name of this stack" its relative to

Re: [OT-ish] naming a MeetUp group

2015-08-09 Thread Martin Koob
I set up a meet-up group page in Toronto http://www.meetup.com/Greater-Toronto-Area-LiveCode-Users-Group/members/ I was hoping to specifically focus on LiveCode so included that in the name. You also set a headline for the group. I used the following to hilite the multi platform capabilities

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
On 09/08/15 16:47, Peter M. Brigham wrote: On Aug 9, 2015, at 8:46 AM, Richmond wrote: BUT what does fuss me is why this produces NO results when it analyses a text imported from an RTF file, BUT does work when the text is either manually edited or imported from a text file. Maybe if you do t

Re: Jane Austen's peculiarity

2015-08-09 Thread Peter M. Brigham
On Aug 9, 2015, at 8:46 AM, Richmond wrote: > BUT what does fuss me is why this produces NO results when it analyses a text > imported from an RTF file, BUT does work when the text > is either manually edited or imported from a text file. Maybe if you do this? set the RTFtext of the template

Re: Extracting a reference to a stack

2015-08-09 Thread Peter M. Brigham
Clever. But since the long id of the object is not used by the getprop handler, this always returns the name of the topstack, so it can't be used for more general situations, eg, if you want to get the owningstack of a control on a stack that is suspended. -- Peter Peter M. Brigham pmb...@gmai

RE: [OT-ish] naming a MeetUp group

2015-08-09 Thread Todd Fabacher
I live in NYC and did not even know there was a group. I would be happy to go and I know several people who would also like to attend. A meetup is a great idea, but they do require some $. The WordPress meetup group has a $10 cover and has pizza delivered. >From a "marketing" perspective...how abo

Re: Jane Austen's peculiarity

2015-08-09 Thread Richmond
Call my code clunky, clumsy and slow, and that won't really fuss me: BUT what does fuss me is why this produces NO results when it analyses a text imported from an RTF file, BUT does work when the text is either manually edited or imported from a text file. on mouseUp put empty into fld "CO