hhImageJIT

2016-06-21 Thread [-hh]
If you are interested in FFI and/ or image processing then you may have a look to here http://forums.livecode.com/viewtopic.php?f=16=27518 I wrote a GUI for using the LuaJIT-FFI (here for processing images) that goes into the direction that LC will give us with its new FFI interface. There are

Re: Setting menuHistory of a group of option buttons

2016-06-21 Thread dunbarx
Hi. A group does not have a menyHistory property. So what you really are doing is using a change in the menuHistory of one button to set that property in others. In other words, this is a button-to-button issue, and the fact that any of them are grouped is not pertinent. That said, a

Re: Setting menuHistory of a group of option buttons

2016-06-21 Thread Charles Szasz
Paul, Thanks for your suggestion! I have two groups of four option buttons. I wanted the first group of four option buttons when selected to reset the menuHistory of the other four option buttons. I grouped both sets into two group hoping that a group script for the first set would

Re: Setting menuHistory of a group of option buttons

2016-06-21 Thread Paul Hibbert
AFAIK there is no menuHistory associated with a group of option buttons, but that doesn’t (shouldn’t) stop you from creating a history yourself using any of the hilitedButton, hilitedButtonID or hilitedButtonName properties. Paul > On Jun 21, 2016, at 1:40 PM, Charles Szasz

Re: quirk in group resize behavior

2016-06-21 Thread Monte Goulding
I was thinking gravity relative to the reference corner/center was accurate. Sent from my iPhone > On 22 Jun 2016, at 7:09 AM, Scott Rossi wrote: > > ControlGravity ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Slight annoyance from MacKiev

2016-06-21 Thread Mark Schonewille
I have been using HyperStudio for some time now. The current version is something between PowerPoint and HyperCard, althought that would be a modern version of HyperCard. HS Author provides a subset of the features of HyperStudio. HyperStudion used to do the HTML5 export by itself, but people

Re: quirk in group resize behavior

2016-06-21 Thread Scott Rossi
ControlGravity was the first property name that came into my mind, but it's not really accurate. In my view, this implies that controls physically move to the designated edge of the group (as an icon does in a button with iconGravity -- why this property wasn't named iconAlignment is beyond me).

Re: quirk in group resize behavior

2016-06-21 Thread Monte Goulding
Hmm... I suspect we don't have resources to do this right now but I'd be interested to discuss how it might work. So I presume what we mean by this is we have 5 options: - topLeft - controls only move with the topLeft - topRight - controls only move with the topRight - bottomLeft - controls

Setting menuHistory of a group of option buttons

2016-06-21 Thread Charles Szasz
Does anyone know how to set the menuHistory of a group of option buttons? I have tried several scripts without any success. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: quirk in group resize behavior

2016-06-21 Thread Monte Goulding
Yep... Precisely why I'm asking here although it would seem an odd thing to depend on because you need to be quite precise. One pixel out and it uses the normal code path. You also need to know about it and the docs make no mention... I do suspect it has been around for a long time. > On 22

Re: htmlText not supporting target in ?

2016-06-21 Thread Monte Goulding
It has not been raised since I started so I suspect it isn't on the radar just now. The team is focussed on delivering Infinite LiveCode + maintenance and incremental improvements elsewhere at the moment. At one point I used to use a setProp `xmlText` with custom properties on the field to

Re: quirk in group resize behavior

2016-06-21 Thread J. Landman Gay
On 6/20/2016 6:17 PM, Monte Goulding wrote: When you resize a group using the selection handles the controls inside stay where they are. This is quite helpful. The code that does that also has an extra condition which means the controls inside the group will also stay where they are if resizing

Your pain

2016-06-21 Thread Richmond
Somehow I intended this for the use-list, but did not realise it was sent from an individual to me. I hope he does not mind my posting it here. Richmond. Forwarded Message Subject:Re: Your pain Date: Tue, 21 Jun 2016 21:30:24 +0300 From: Richmond

Re: Get url "file:///..."

2016-06-21 Thread [-hh]
> -- Outputs to an input-file with the ending changed to format > -- "textutil -convert format Should better read -- Outputs an input-file of format1 to a file of format2 -- with the ending changed to format2: -- "textutil -convert format2 " Example HTMLtoTEXT on Mac: textutil -convert txt

Re: Slight annoyance from MacKiev

2016-06-21 Thread Richmond
Here we go : http://forums.livecode.com/viewtopic.php?f=7=27517 Richmond. On 20.06.2016 17:18, Richmond wrote: Of course,as the kind of guy who fishes in rubbish bins, I'm going to use some of those demos by trying to duplicate their functionality in Livecode [let's not get into how on earth

Re: Get url "file:///..."

2016-06-21 Thread [-hh]
Hi all, the task of Jim is, as I understand, that he wants a correct actual browser interpretation of the file, that is, what Safari displays, some say HTMLtoTEXT to such a conversion. LC's status for 'the htmltext' is HTML of before 2005 ... The applescript is probably instable because of

Re: Get url "file:///..."

2016-06-21 Thread Dar Scott
> On Jun 21, 2016, at 10:09 AM, Klaus major-k wrote: > >> Yes, that works well. Thank you. >> But it gives me the html source code. > > yes, I thought that is what you were after! Not? Yeah, that's what I thought. I made that incorrect assumption when the first proximate

Re: Get url "file:///..."

2016-06-21 Thread J. Landman Gay
Once I have the source html, I let the engine extract the plain text for me: set the htmltext of the templateField to tSource put the text of the templateField into tText Frequently that's all I need. Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: htmlText not supporting target in ?

2016-06-21 Thread Richard Gaskin
Ton Kuypers wrote: > Hi Richard & Monte, > > The problem is that I am creating html text that will be stored in a > database, to be retrieved by a PHP site. > The user gets an easy interface to manipulate this html, but a major > issue is that when the user adds links to PDF files, they need to

Re: Get url "file:///..."

2016-06-21 Thread Klaus major-k
Hi Jim, > Am 21.06.2016 um 18:02 schrieb Jim Hurley : > > Hi Klaus, > > Yes, that works well. Thank you. > But it gives me the html source code. yes, I thought that is what you were after! Not? > I can live with that, but lots of parsing to get the text > You seem

Re: Get url "file:///..."

2016-06-21 Thread Jim Hurley
Hi Klaus, Yes, that works well. Thank you. But it gives me the html source code. I can live with that, but lots of parsing to get the text You seem to suggest I can get the "text" or (?) or html "source" hh's script (below) does that but it is very unstable, crashing frequently Jim Klaus

Re: htmlText not supporting target in ?

2016-06-21 Thread Ton Kuypers
Hi Richard & Monte, The problem is that I am creating html text that will be stored in a database, to be retrieved by a PHP site. The user gets an easy interface to manipulate this html, but a major issue is that when the user adds links to PDF files, they need to open in a new window. And the

Re: Get url "file:///..."

2016-06-21 Thread Richard Gaskin
Jim Hurley wrote: > I got this web page address from the county election's office: > > file:///Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm How did the elections office get a path to a file on your hard drive? > It opens when I paste it into the address field in

Re: Get url "file:///..."

2016-06-21 Thread Dar Scott
I agree. There is something we are missing. (Trying to access as some other user?) > On Jun 21, 2016, at 7:18 AM, Klaus major-k wrote: > > Hi Jim, > > not sure I understand the problem, but this should give you the TEXT/source > of that file: > ... > put url

Re: quirk in group resize behavior

2016-06-21 Thread Richard Gaskin
Monte Goulding wrote: >> On 21 Jun 2016, at 10:00 AM, Colin Holgate wrote: >> >> Perhaps it could use the same terminology, and work the same way, >> as full screen modes. The current behavior is effectively noScale, >> and with exactFit, noBorder, showAll, and letterbox, you could move >> the

Re: htmlText not supporting target in ?

2016-06-21 Thread Richard Gaskin
Monte Goulding wrote: > Ah… the target attribute is not supported by htmlText. htmlText is > a limited subset of html that supports only field chunk properties. > There’s no guarantee on round-tripping your htmlText. Given how much of modern HTML makes good use of CSS, the range of things one

Re: Get url "file:///..."

2016-06-21 Thread Klaus major-k
Hi Jim, not sure I understand the problem, but this should give you the TEXT/source of that file: ... put url "file:/Users/jimhurley/Library/Mail Downloads/elec_web/precincts/241.htm" into tSource ... > Am 21.06.2016 um 15:11 schrieb Jim Hurley : > > Thank you so

Re: Get url "file:///..."

2016-06-21 Thread Jim Hurley
Thank you so much. So useful! Understatement of the year: "Using above "text" instead of "source" may save you some work." It saves a mountain of parsing. Shouldn't this be a part of LiveCode? Jim Hurley > Message: 1 > Date: Mon, 20 Jun 2016 22:06:41 -0700 (PDT) > From: "[-hh]"

Re: htmlText not supporting target in ?

2016-06-21 Thread Monte Goulding
> On 21 Jun 2016, at 10:06 PM, Mike Bonner wrote: > >> No, it is not the code, it is just the htmlText command stripping out the >> “target” part of the html text… >> It just disappears when you use it Ah… the target attribute is not supported by htmlText. htmlText is a

Re: quirk in group resize behavior

2016-06-21 Thread Monte Goulding
> On 21 Jun 2016, at 10:31 PM, Mike Kerner wrote: > > Isn't this part of what the GM is supposed to do? Yes and no. The GM can’t change the behavior of the engine. If the engine is doing something interesting with the controls of a group in one particular

Re: quirk in group resize behavior

2016-06-21 Thread Mike Kerner
Isn't this part of what the GM is supposed to do? On Mon, Jun 20, 2016 at 9:48 PM, Monte Goulding wrote: > > > On 21 Jun 2016, at 9:55 AM, Terry Judd > wrote: > > > > Yeah, I often get caught out resizing groups and finding that I¹m adding > >

Re: htmlText not supporting target in ?

2016-06-21 Thread Mike Bonner
i guess i don't understand what you're trying to do. Will think on it. On Tue, Jun 21, 2016 at 12:25 AM, Ton Kuypers < tkuyp...@publishingtools4u.com> wrote: > No, it is not the code, it is just the htmlText command stripping out the > “target” part of the html text… > It just disappears when

Re: resume-/suspendstack and palette windows

2016-06-21 Thread Klaus major-k
Hi all, > Am 21.06.2016 um 12:52 schrieb Klaus major-k : > > Hi friends, > > is it correct that palette windows do NOT receive a resumestack or > suspendstack message? > I just experienced this for the first time in 17 years and am a bit surprised > :-) > > LC 8.01 on Mac.

resume-/suspendstack and palette windows

2016-06-21 Thread Klaus major-k
Hi friends, is it correct that palette windows do NOT receive a resumestack or suspendstack message? I just experienced this for the first time in 17 years and am a bit surprised :-) LC 8.01 on Mac. Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de

Re: [OT] remote Mac rental services

2016-06-21 Thread AndyP
I can't answer your question directly, but I have been using macincloud.com for testing the next version of script editor themer as I am now Macless. I was able to install multiple versions of LiveCode with no problems. You really need a fast Internet connection to get the most out of service but

Re: [OT] remote Mac rental services

2016-06-21 Thread Monte Goulding
Hmm... You could deliver the app over the air to the devices and avoid the local Mac entirely. You still obviously need to manage provisioning profiles for the devices etc. Sent from my iPhone > On 21 Jun 2016, at 5:00 PM, Peter TB Brett wrote: > > However, to test

Re: htmlText not supporting target in ?

2016-06-21 Thread Ton Kuypers
No, it is not the code, it is just the htmlText command stripping out the “target” part of the html text… It just disappears when you use it Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium

Re: [OT] remote Mac rental services

2016-06-21 Thread Peter TB Brett
On 21/06/2016 06:39, Nicolas Cueto wrote: Could remote Mac rental services be used for iOS app development and testing from a Windows machine? Has anyone here successfully tried out this route -- perhaps, for example, through (top Google search result) http://www.macincloud.com/ ? Hi

LiveCode Lessons "How do I Become an Android Developer on a PC?"

2016-06-21 Thread Nicolas Cueto
>From the screenshots and some of the text, this lesson appears out of date. With LC 7.1.4 + JDK SE 8u91 + Android Studio 2.1 installed, with LC's "mobile support" prefs pointing to SDK/JDK paths, and with my Android tablet listed in both Windows File Explorer and LC's "Test target", I am still