Re: Set font dynamically to fit text

2019-10-12 Thread hh via use-livecode
In the repeat loop set the attributes of the empty field and use measureText (or measureUnicodeText) to compute the textSize. As a last step fill the field. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, u

Re: Set font dynamically to fit text

2019-10-12 Thread Sannyasin Brahmanathaswami via use-livecode
But "line breaks" is another known factor, based on X… which still leaves us on variable to find. Brian wrote: You probably could get close with math but line breaks would not be uniform and will introduce variability. You could probably get it down to 2 or 3 checks. BR: Hmm I figured that a r

Re: Set font dynamically to fit text

2019-10-12 Thread Brian Milby via use-livecode
You probably could get close with math but line breaks would not be uniform and will introduce variability.  You could probably get it down to 2 or 3 checks. Thanks, Brian On Oct 12, 2019, 11:02 PM -0400, Sannyasin Brahmanathaswami via use-livecode , wrote: > BR: Hmm I figured that a repeat loop

Re: Set font dynamically to fit text

2019-10-12 Thread Sannyasin Brahmanathaswami via use-livecode
BR: Hmm I figured that a repeat loop would do that, but was look for a "one-off-equation" According to the "laws of math" (ha... algebrait has been such a long time; I could be wrong) if you have single unknown variable , X, and all others are known factors, you would, in

Re: Set font dynamically to fit text

2019-10-12 Thread Paul Dupuis via use-livecode
On 10/12/2019 8:20 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Assuming one is not putting whole pages into small fields, does any one have an efficient run time LC algorithm that will set the font size so that the formatted text will all appear in the field without needing to scroll

Set font dynamically to fit text

2019-10-12 Thread Sannyasin Brahmanathaswami via use-livecode
Assuming one is not putting whole pages into small fields, does any one have an efficient run time LC algorithm that will set the font size so that the formatted text will all appear in the field without needing to scroll? BR Satchiai Iru - Be a Witness _

launch & quit

2019-10-12 Thread Paul Dupuis via use-livecode
I have a stand alone with a card with a button with a mouseUp handler on mouseUp   -- some stuff   -- tApplication variable contains a path to another standalone for OSX or Window depending upon what platform() this standalon is running on   launch tApplication   put the result into tError  

Re: id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Matthias Rebbe via use-livecode
In case you need 1.02, just let me know. Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 12.10.2019 um 22:05 schrieb Klaus major-k via use-livecode > mailto:use-livecode@lists.runrev.com>>: > >

Re: id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Klaus major-k via use-livecode
Hi Matthias, > Am 12.10.2019 um 17:52 schrieb Matthias Rebbe via use-livecode > : > > Hi Klaus, > > i´ve tried here with library version 1.0.2 and an mp3 file which contains > only 1 image. > I was able to read the picture data from the .mp3 and to store to a new file. yeah, that works, than

Re: id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Klaus major-k via use-livecode
Hi Matthias, > Am 12.10.2019 um 17:52 schrieb Matthias Rebbe via use-livecode > : > > Hi Klaus, > > i´ve tried here with library version 1.0.2 and an mp3 file which contains > only 1 image. > I was able to read the picture data from the .mp3 and to store to a new file. aha, I have version 1.

Re: id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Matthias Rebbe via use-livecode
Hi Klaus, i´ve tried here with library version 1.0.2 and an mp3 file which contains only 1 image. I was able to read the picture data from the .mp3 and to store to a new file. Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMa

Re: Give a bug a hug

2019-10-12 Thread Lagi Pittas via use-livecode
It would help if Brian, Panos, Trevor (anybody who has got a setup ready to compile) created an idiots guide(s) as to what compilers to install, any land mines to cross any tricks that they have learnt etc because what seems to happen with me , I start something which doesn't put food on the table

id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Klaus major-k via use-livecode
Hi all, I am currently looking at the "id3lib" of Mark Smith, works fine, however I cannot get the function "id3_getPictureData" to return usable data. I am using the function correctly, passing the correct parameter dfor the image TYPE, but it returns nothing I can use in an image object nor ex

Re: Is it possible to implement Weizenbaum's original Eliza as a chatbot with LIVECODE?

2019-10-12 Thread Jjs via use-livecode
Nice! I thought first what the h Is it. But then i saw the screenshot, and it flashed thru my mind. I remember having it on the MSX too. Asking questions and getting answers. It's the same right? Actually the first AI heh hh via use-livecode schreef op 12 oktober 2019 00:38:43 CEST: >> I w