Re: in case you need another reason to love LiveCode...

2019-10-29 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > How hard can text editing be? > > https://lord.io/blog/2019/text-editing-hates-you-too/ Thank you, Mark. Bookmarked. LiveCode makes it so easy to take things like text editing for granted. "Just drop a field onto a card and start typing - what could be so hard?" And then

Re: The Roadmap

2019-10-29 Thread Richard Gaskin via use-livecode
Richmond wrote: > Of course if certain long-term stuff from the Kickstarters don't > appear on the Roadmap it is easier to hold LC to account than if > the Roadmap were to disappear completely. Which returns us to the question I posted an hour ago about the Roadmap: What purpose does it

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 29.10.2019 um 23:01 schrieb hh via use-livecode > : > >>> Also LiveCode uses a BOM. If there is no UTF-8 BOM it uses >>> Mac OS Roman. That is what you see when you type into msg >>> put textEncode(the htmltext of widget "Browser", "UTF-8"). >> >> Which shows exactly the

Re: scroll browser widget via script?

2019-10-29 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 29.10.2019 um 22:45 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> can we (v)scroll a browser widget via script? > > Of course by setting anchors and jumping via URL to there. > But you don't mean that, so: > No. OK, thanks. > But we have a forum. From post

Re: scroll browser widget via script?

2019-10-29 Thread hh via use-livecode
> Klaus M. wrote: > can we (v)scroll a browser widget via script? Of course by setting anchors and jumping via URL to there. But you don't mean that, so: No. But we have a forum. From post "Scroll my widget (='.'=)" http://forums.livecode.com/viewtopic.php?p=156701#p156701 -- scrolls "to"

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 29.10.2019 um 22:06 schrieb hh via use-livecode > : > > Hi Klaus, > > this is dangerous because the code could have "mixed" encodings > if you (or your partner) edits the code in texteditors with > different encoding settings. we both use the same stack, so no text editor

Re: encoding woes!?

2019-10-29 Thread hh via use-livecode
Hi Klaus, this is dangerous because the code could have "mixed" encodings if you (or your partner) edits the code in texteditors with different encoding settings. I looked again carefully into your first post. You use the htmltext of the widget, so your original code is correct. It works here as

scroll browser widget via script?

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, can we (v)scroll a browser widget via scipt? Did not find a clue/property in the dictionary. Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, I don't really understand this, but this finally does the job: ... put "" after tText ## NO encoding before setting the htmltext!? set the htmltext of widget "source" to tText put textencode(tText,"UTF-8") into tNewText put tNewText into url("file:" & Kommunikations_ordner() &

in case you need another reason to love LiveCode...

2019-10-29 Thread Mark Wieder via use-livecode
How hard can text editing be? https://lord.io/blog/2019/text-editing-hates-you-too/ -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 29.10.2019 um 20:02 schrieb hh via use-livecode > : > > Just saw it now, overlooked that first: > > You script > put textencode(tTExt,"UTF8") into url ("file": ...) > > This should read > put textDecode(tTExt,"UTF8") into url ("file": ...) mhhh, when I have this in fld 1:

Re: The Roadmap

2019-10-29 Thread Richmond via use-livecode
Of course if certain long-term stuff from the Kickstarters don't appear on the Roadmap it is easier to hold LC to account than if the Roadmap were to disappear completely. On 29.10.19 21:19, hh via use-livecode wrote: I also think all of them are still valuable targets. Of course one could

Re: The Roadmap

2019-10-29 Thread Richmond via use-livecode
Well, even if nothing else, it gives an impression that the folk at LiveCode central have some sort of GANTT chart with deliverables and dependencies, and what can be reasonably expected in the near future. On 29.10.19 21:14, Richard Gaskin via use-livecode wrote: What purpose does it serve?

Re: The Roadmap

2019-10-29 Thread hh via use-livecode
I also think all of them are still valuable targets. Of course one could say "I know features/repairs that should be made before that" and advertise for them. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: The Roadmap

2019-10-29 Thread Richard Gaskin via use-livecode
What purpose does it serve? -- Richard Gaskin Richmond wrote: > > Why would you ditch it? > > On 29.10.19 20:59, Richard Gaskin via use-livecode wrote: >> Richmond wrote: >> >> > The Roadmap is more than a year out of date. >> > >> > https://livecode.com/resources/roadmap/ >> > >> > Is there

Re: The Roadmap

2019-10-29 Thread Richmond via use-livecode
Why would you ditch it? On 29.10.19 20:59, Richard Gaskin via use-livecode wrote: Richmond wrote: > The Roadmap is more than a year out of date. > > https://livecode.com/resources/roadmap/ > > Is there any chance of it being updated? I hope not. If it were up to me I'd ditch it altogether.

Re: encoding woes!?

2019-10-29 Thread hh via use-livecode
Just saw it now, overlooked that first: You script put textencode(tTExt,"UTF8") into url ("file": ...) This should read put textDecode(tTExt,"UTF8") into url ("file": ...) = But why using files? If you don't want to type directly in the browser widget you can make it "mirroring" a text

Re: The Roadmap

2019-10-29 Thread Richard Gaskin via use-livecode
Richmond wrote: > The Roadmap is more than a year out of date. > > https://livecode.com/resources/roadmap/ > > Is there any chance of it being updated? I hope not. If it were up to me I'd ditch it altogether. Lagi wrote: > The silence is deafening. :-( ^ and that's why. -- Richard Gaskin

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 29.10.2019 um 19:14 schrieb hh via use-livecode > : > > Did you check the encoding of test.html > with BBEdit (should be Unicode (UTF-8))? yes, BBEdit shows "Unicode (UTF-8)" in the bottom bar. That is what's puzzling me... Best Klaus -- Klaus Major

Re: encoding woes!?

2019-10-29 Thread hh via use-livecode
Did you check the encoding of test.html with BBEdit (should be Unicode (UTF-8))? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: identifying text chars in an image

2019-10-29 Thread Phil Davis via use-livecode
Thanks for your great ideas Hermann. In my next experiment I think I'll start by looking for any scrabble tile by looking for its [known] background color, and then work out to its edges. That should give me both the grid cell size and a starting point for discovering all cells in the grid.

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hi Brian, > Am 29.10.2019 um 18:44 schrieb Brian Milby via use-livecode > : > > Binfile? tried that, no difference. The dictionary als uses just FILE in the examples. > Thanks, > Brian > On Oct 29, 2019, 1:33 PM -0400, Klaus major-k via use-livecode > , wrote: >> >> >>> Am 29.10.2019 um

Re: encoding woes!?

2019-10-29 Thread Brian Milby via use-livecode
Binfile? Thanks, Brian On Oct 29, 2019, 1:33 PM -0400, Klaus major-k via use-livecode , wrote: > > > > Am 29.10.2019 um 18:24 schrieb Klaus major-k via use-livecode > > : > > > > Hi all, > > > > macOS 10.14.6, LC 9.5 > > > > I have a file created with BBEdit with this content: > >

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Brian, > Am 29.10.2019 um 18:34 schrieb Brian Milby via use-livecode > : > > In those cases the selection change is a side effect of something else. The > user isn’t changing the selection, the user is doing something else that > changes the selection. As this thread covered, the

Re: drag'n'drop in text fields

2019-10-29 Thread Brian Milby via use-livecode
In those cases the selection change is a side effect of something else.  The user isn’t changing the selection, the user is doing something else that changes the selection.  As this thread covered, the textchanged message is sent. I think it fully makes sense to only send one of those two

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
> Am 29.10.2019 um 18:24 schrieb Klaus major-k via use-livecode > : > > Hi all, > > macOS 10.14.6, LC 9.5 > > I have a file created with BBEdit with this content: > -- > > > - > > > äÄüÜöÖßßß > > --- > Then

encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, macOS 10.14.6, LC 9.5 I have a file created with BBEdit with this content: -- - äÄüÜöÖßßß --- Then I set the url of a browser widget to that file. All fine so far... Now I want to add some more text

pdf conversion

2019-10-29 Thread Mark Wieder via use-livecode
I just got an email about this pdf-ocr converter. I haven't tried it myself, but for the $15 price drop for a lifetime license it seems worth checking out. Should be possible to invoke a (OSX) shell command to do the conversion. The usual caveats about ocr accuracy apply, of course.

Re: The Roadmap

2019-10-29 Thread Lagi Pittas via use-livecode
The silence is deafening. :-( On Mon, 28 Oct 2019 at 21:04, Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > The Roadmap is more than a year out of date. > > https://livecode.com/resources/roadmap/ > > Is there any chance of it being updated? > > Richmond. > >

Re: Need trig & LCB help

2019-10-29 Thread hh via use-livecode
Replace the last part of your handler with the following. variable tBNum as Number variable tBCenters as List put tBigRad - tLilRad into tInnerRad put the number of elements in mData into tBNum put regularPoints([tBNum,tInnerRad,tBigX,tBigY]) into tBCenters repeat with tButtonNumber from 1 up to

Re: drag'n'drop in text fields

2019-10-29 Thread Bob Sneidar via use-livecode
I disagree. Having these commands allows developrs to precicely control what happens during a drag and drop operation, or to prevent drag and drop if they want to. Bob S > On Oct 29, 2019, at 07:58 , Paul Dupuis via use-livecode > wrote: > > On 10/29/2019 9:47 AM, Brian Milby via

Re: drag'n'drop in text fields

2019-10-29 Thread Paul Dupuis via use-livecode
On 10/29/2019 9:47 AM, Brian Milby via use-livecode wrote: It looks like selectionChanged only reacts to explicit user events (mouse click or cursor moved via keyboard navigation). I, for one, would consider user-driven pasting of text or user driven drag and drop to be 'explicit user events',

Need trig & LCB help

2019-10-29 Thread Pink via use-livecode
In a nutshell, I am working on a widget that consists of a wheel with buttons. Currently I've just manually calculated out where 8 buttons go, and it works well, but I am trying to set it up with a user definable number of buttons contained in array "mData." Need help checking my math (and

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Brian, > Am 29.10.2019 um 14:47 schrieb Brian Milby via use-livecode > : > > It looks like selectionChanged only reacts to explicit user events (mouse > click or cursor moved via keyboard navigation). If I select a chunk of text > in another app and drag it in, the same thing happens (it

Re: drag'n'drop in text fields

2019-10-29 Thread Brian Milby via use-livecode
It looks like selectionChanged only reacts to explicit user events (mouse click or cursor moved via keyboard navigation).  If I select a chunk of text in another app and drag it in, the same thing happens (it is selected but no selectionChanged message).  If I script a button to select a chunk,

Re: callbacks in Mac video player?

2019-10-29 Thread hh via use-livecode
> Richard G. wrote: > I stand corrected: callbacks apparently work in v9.5 under Catalina as well. True, works here also, sorry all for the wrong info. [Looked at my earlier tests. The problem there was the msgbox (kept hidden).] > What do you need from LCB that's missing? an up-to-date browser

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 29.10.2019 um 13:41 schrieb hh via use-livecode > : > >>> I wrote: Why do you fear "dragxxx"? ;-) >> You wrote: I really don't! > > I really know. Was a 'language' joke, sorry. AHA! Now I get it (I think)! 8-) Well my first professional job as a musician (bass player) was

Re: drag'n'drop in text fields

2019-10-29 Thread hh via use-livecode
>> I wrote: Why do you fear "dragxxx"? ;-) > You wrote: I really don't! I really know. Was a 'language' joke, sorry. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 29.10.2019 um 13:32 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> Yep, I meant without any "dragxxx" script. > Why do you fear "dragxxx"? ;-) I really don't! But if it works out-of-the box without any dragXXX scripting, I highly welcome this, lazy moi. :-)

Re: drag'n'drop in text fields

2019-10-29 Thread hh via use-livecode
> Klaus M. wrote: > Yep, I meant without any "dragxxx" script. Why do you fear "dragxxx"? ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 29.10.2019 um 00:55 schrieb hh via use-livecode > : > > Hi Klaus. > >>> I wrote: >>> on dragDrop >>> if "files" is among the keys of the dragData then >>>put line 1 of the dragData["files"] -- or whatever >>> end if >>> end dragDrop >>> >>> on dragEnter >>> set the

Re: past unformatted & inspector field "styled text"

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, > Am 28.10.2019 um 19:32 schrieb Klaus major-k via use-livecode > : > > Hi Craig, > >> Am 28.10.2019 um 19:24 schrieb dunbarx--- via use-livecode >> : >> >> Klaus. >> All works for me here. >> It is possible you have not placed a blinking cursor into the inspector >> field? > > I