Re: callbacks in Mac video player?

2019-10-28 Thread Richard Gaskin via use-livecode
hh wrote: >> Richard G. wrote: >> Thanks. Unfortunately the reason I'm looking into this is to replace >> an old component dependent on 32-bit macOS, now that many are >> "upgrading" to Catalina. > > Richard, 9.0.5 WORKS, also its standalones (check 64 bit), on > Catalina... Indeed it does.

OCR-Lite_v100

2019-10-28 Thread hh via use-livecode
The stack OCR-Lite is a GUI to the JS library by Kevin Kwok https://github.com/antimatter15/ocrad.js which is in turn an emscripten port to GNU Ocrad by Antonio Diaz Diaz https://www.gnu.org/software/ocrad/ocrad.html The library is included in the stack, so you can use it offline. The License is

Re: identifying text chars in an image

2019-10-28 Thread hh via use-livecode
> Phil D. wrote: > So maybe I should first be asking about detecting the grid > established by the scrabble letters. You need some criteria to find the topleft of the grid and the size of one letter: color/transparency/a marker(fixed image part)... You could also use pattern recognition for

Re: callbacks in Mac video player?

2019-10-28 Thread hh via use-livecode
> Richard G. wrote: > Thanks. Unfortunately the reason I'm looking into this is to replace an > old component dependent on 32-bit macOS, now that many are "upgrading" > to Catalina. Richard, 9.0.5 WORKS, also its standalones (check 64 bit), on Catalina... Even 8.1.10 can build (experimental)

Re: drag'n'drop in text fields

2019-10-28 Thread 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 dragAction to "copy" >> end dragenter > You wrote: > .. also tried that, but then the

Re: No internet!

2019-10-28 Thread Mark Wieder via use-livecode
On 10/28/19 3:34 PM, Sannyasin Brahmanathaswami via use-livecode wrote: The internet cable 15 miles off Kapahi on the bottom of the ocean was cut last night! Because our Island has the most important Missile range of the Pacific , we wonder if North Korean divers did it. Hehe just joking.

Re: callbacks in Mac video player?

2019-10-28 Thread Richard Gaskin via use-livecode
hh wrote: >> Richard G. wrote: >> The Dictionary says callbacks still work on macOS, but it >> also says they're supported on Linux, where I don't recall >> callbacks ever being supported, and for several years video >> playback doesn't work at all. >> I can't make callbacks work on macOS

Re: drag'n'drop in text fields

2019-10-28 Thread Bob Sneidar via use-livecode
If the field is locked you may have to set the dragActio to Copy on mouseEnter Bob S ___ 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-28 Thread Bob Sneidar via use-livecode
on dragDrop doesn't trigger? on dragDrop put the dragData ["text"] into tDragText end dragDrop Bob S > On Oct 28, 2019, at 14:03 , Klaus major-k via use-livecode > wrote: > > Hi all, > > quick question LC 9.5 on macOS 10.14.6: > > We can drag'n'drop text into textfields and > this

No internet!

2019-10-28 Thread Sannyasin Brahmanathaswami via use-livecode
The internet cable 15 miles off Kapahi on the bottom of the ocean was cut last night! Because our Island has the most important Missile range of the Pacific , we wonder if North Korean divers did it. Hehe just joking. But how does a cable half mile down under the surface get cut? Very

Re: Merge PDF

2019-10-28 Thread Paul McClernan via use-livecode
Not to my knowledge, but I'm sure it's completely doable. I once created an LC script that could extract embedded JPEGs from inside PDFs. The PDF File Format docs have been made available by Adobe (back in 2011 I think). Another option would be to use Shell() function with one of the PDF

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Paul, > Am 28.10.2019 um 22:47 schrieb Paul Dupuis via use-livecode > : > > On 10/28/2019 5:40 PM, Klaus major-k via use-livecode wrote: >> Hi Paul. >> >>> It sounds like a bug that should be reported. If there is text in a field >>> (regardless of how it go there (paste, drag drop,

Re: identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
One thing I found is when I cropped my test image to include only one horizontal word, tesseract handled that fine. So... if I could detect the grid pattern in which all the letters are laid out, maybe I could feed the letters to an OCR tool one word or char at a time and get the results I'm

Re: drag'n'drop in text fields

2019-10-28 Thread Paul Dupuis via use-livecode
On 10/28/2019 5:40 PM, Klaus major-k via use-livecode wrote: Hi Paul. Am 28.10.2019 um 22:34 schrieb Paul Dupuis via use-livecode : ... 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

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Paul. > Am 28.10.2019 um 22:34 schrieb Paul Dupuis via use-livecode > : > ... >> >>> 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 dragAction to

Re: drag'n'drop in text fields

2019-10-28 Thread Paul Dupuis via use-livecode
On 10/28/2019 5:25 PM, Klaus major-k via use-livecode wrote: Hi Hermann, Am 28.10.2019 um 22:15 schrieb hh via use-livecode : 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: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 28.10.2019 um 22:15 schrieb hh via use-livecode > : > > 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 dragAction to "copy" > end dragenter thank

Re: identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
Thanks for the followup on this. I experimented some with tesseract and came to the same conclusion. Since the values assigned to each character are standard wthin Scrabble, I don't really need to detect those tiny numerals. But the alpha chars are of course essential. I believe there must

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 28.10.2019 um 22:19 schrieb Richmond via use-livecode > : > > |local fldState on mouseEnter if fld "fff" is empty then put "0" into > fldState end mouseEnter on mouseWithin if fld "fff" is empty then -- do > nothing else put "1" into fldState end if if fldState > 0 then set

Re: drag'n'drop in text fields

2019-10-28 Thread Richmond via use-livecode
|local fldState on mouseEnter if fld "fff" is empty then put "0" into fldState end mouseEnter on mouseWithin if fld "fff" is empty then -- do nothing else put "1" into fldState end if if fldState > 0 then set the textColor of fld "fff" to red end if end mouseWithin | On 28.10.19 23:03,

Re: drag'n'drop in text fields

2019-10-28 Thread hh via use-livecode
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 dragAction to "copy" end dragenter ___ use-livecode mailing list

Re: callbacks in Mac video player?

2019-10-28 Thread hh via use-livecode
> Richard G. wrote: > The Dictionary says callbacks still work on macOS, but it > also says they're supported on Linux, where I don't recall > callbacks ever being supported, and for several years video > playback doesn't work at all. > I can't make callbacks work on macOS Catalina using v9.5. >

The Roadmap

2019-10-28 Thread Richmond via use-livecode
The Roadmap is more than a year out of date. https://livecode.com/resources/roadmap/ Is there any chance of it being updated? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi all, quick question LC 9.5 on macOS 10.14.6: We can drag'n'drop text into textfields and this works without any scripting. We can also drag'n'drop one or more files into a textfield and the filepath appears in the field where we dropped the file(s). However there does not seem to be any

Re: identifying text chars in an image

2019-10-28 Thread hh via use-livecode
After a second read I think it will be hard to find a service to do that for you. And this is not doable using tesseract or similar from LiveCode: AFAIK, no "ordinary" OCR software is able to detect and read horizontal *and* vertical text and distinguish clearly between the board's "Score text"

callbacks in Mac video player?

2019-10-28 Thread Richard Gaskin via use-livecode
The Dictionary says callbacks still work on macOS, but it also says they're supported on Linux, where I don't recall callbacks ever being supported, and for several years video playback doesn't work at all. I can't make callbacks work on macOS Catalina using v9.5. Should they? -- Richard

Re: Red Dot Breakpoint Crashes

2019-10-28 Thread doc hawk via use-livecode
I *am* truly fascinated that for once, I’m the one not having problems while others are being terrorized by the dreaded Pirate Code Dots . . . . They sill move around the script in odd ways at times, but the ones that stay put do indeed stop execution where they’re supposed to . . .

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread Bob Sneidar via use-livecode
Yeah that was one of my gripes about the Tree View widget, which is what the property inspector uses now. There are a few other beefs, but one I have is that when you create a new node, it does not SELECT the node you just created so you can name it. You have to CLICK ON IT, because if you

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
Klaus. Now I see what you see. I cannot be sure I did not mess up the procedure earlier because I am getting mixed results. Sometimes the paste is formatted, and sometimes not. . But now when using the menu, if the formatting is indeed plain, nothing appears in the card field.  -Original

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread 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 can SEE the pasted (unformatted) text in the field, but the text does not make it into the field on

Re: Close oddness

2019-10-28 Thread Richmond via use-livecode
Using the menu. On 28.10.19 16:55, Bob Sneidar via use-livecode wrote: programmatically or using the menu? Bob S On Oct 26, 2019, at 07:45 , Richmond via use-livecode wrote: When I try to close a stack via Close and Remove from Memory [ MacOS 10.14.6, LC 9.5.0 ] the stack does not

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
Klaus. All works for me here. It is possible you have not placed a blinking cursor into the inspector field? -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Mon, Oct 28, 2019 1:51 pm Subject: Re: past unformatted & inspector

Re: identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
Thanks Richmond and hh - really appreciate these ideas. I'll be looking into them. Phil On 10/28/19 7:26 AM, hh via use-livecode wrote: There are also emscripten ports to javascript you could use via a browser widget (and a CDN if online). https://tesseract.projectnaptha.com

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
Hi Craig, > Am 28.10.2019 um 18:43 schrieb dunbarx--- via use-livecode > : > > Klaus. > Yes, from the menu. Works the same as CMD-V. > I get something each way. But it is NOT unformatted, each way. ??? That works here as advertized, no formatted text after using the shortcut or menu!

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
Klaus. Yes, from the menu. Works the same as CMD-V. I get something each way. But it is NOT unformatted, each way. Craig -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Mon, Oct 28, 2019 1:26 pm Subject: Re: past unformatted &

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
Hi Craig, > Am 28.10.2019 um 18:01 schrieb dunbarx--- via use-livecode > : > > Klaus. > I get whatever I copied into that inspector field. But it retains the > formatting of the source. sure you did "past UNformatted"? > Craig > > > -Original Message- > From: Klaus major-k via

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread dunbarx--- via use-livecode
Klaus. I get whatever I copied into that inspector field. But it retains the formatting of the source. Craig -Original Message- From: Klaus major-k via use-livecode To: How to use LiveCode Cc: Klaus major-k Sent: Mon, Oct 28, 2019 12:53 pm Subject: past unformatted & inspector field

past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
Hi all, when I "paste unformatted"*** into the field "styled text" in the inspector for a field, nothing gets into that namely field in the end!? ***Via menu or shortcut As if I did not paste anything! Can someone please confirm this before I report this as a bug? Or is this an undocumented

Re: Close oddness

2019-10-28 Thread Bob Sneidar via use-livecode
programmatically or using the menu? Bob S > On Oct 26, 2019, at 07:45 , Richmond via use-livecode > wrote: > > When I try to close a stack via > > Close and Remove from Memory > > [ MacOS 10.14.6, LC 9.5.0 ] > > the stack does not close, but I get the > > "Standalone application saved

Re: identifying text chars in an image

2019-10-28 Thread hh via use-livecode
There are also emscripten ports to javascript you could use via a browser widget (and a CDN if online). https://tesseract.projectnaptha.com https://antimatter15.com/ocrad.js/demo.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: identifying text chars in an image

2019-10-28 Thread hh via use-livecode
The sample stack "DePerspective/Undistort Images 1.0.1" http://livecodeshare.runrev.com/stack/824/DePerspective-Undistort-Images-1-0-1 uses for a given image tesseract if installed on the system (mac/win/linux). ___ use-livecode mailing list

Re: Learning from scratch - any recommendations?

2019-10-28 Thread dunbarx--- via use-livecode
Hi. I have taught several newbies. I always start with a simple app, like an address book. I show how controls are created, and how scripts are built. During that process, I am off in the weeds, writing short handlers showing how the cursor can trigger things like mouseEnter or mouseMove, these

Learning from scratch - any recommendations?

2019-10-28 Thread Graham Samuel via use-livecode
Hi all I have been approached by one of my family to ask what would be the first steps for someone (a young adult) to enable them to enter the world of app design and programming. Obviously I need to ask more questions myself, such as whether this would be to get a job, or simply as an

Re: identifying text chars in an image

2019-10-28 Thread Antti Ilola via use-livecode
Is this any help. https://github.com/tesseract-ocr/tesseract Antti ma 28. lokak. 2019 klo 11.38 Richmond Mathewson via use-livecode ( use-livecode@lists.runrev.com) kirjoitti: > Well, that'd involve some sort of OCR . . . So you've either got to wrap > some code up from elsewhere, or roll your

Re: identifying text chars in an image

2019-10-28 Thread Richmond Mathewson via use-livecode
Well, that'd involve some sort of OCR . . . So you've either got to wrap some code up from elsewhere, or roll your own OCR routine in LiveCode. Tough call. On Mon, Oct 28, 2019, 9:45 AM Phil Davis via use-livecode < use-livecode@lists.runrev.com> wrote: > I want to [programmatically] take a

Re: Livecodeshare/SampleStacks

2019-10-28 Thread Erik Beugelaar via use-livecode
Richard, no problem checking. It looks promising. A little bit of myself and a very late introduction ;-) I have been following LiveCode from 2010 resulting in a license of 5.5. Because of my professional work (Visual Basic 6/T-SQL followed up by C#/SQL Server/ASP .NET until now and a bit of

identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
I want to [programmatically] take a picture of a Scrabble board and then take from that image the characters displayed in it, and maintain the organization of the text. In other words, I want to convert the text displayed in the image to text strings. Any ideas where I should start? I would