Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread hh via use-livecode
> Matthias wrote: > I did NOT refer to any personal problems. So please do not impute > such an intention to me. Sorry Matthias, I obviously misinterpreted "your problems last year". Hopefully Sean Cole didn't also misinterpret this. ___ use-livecode ma

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread hh via use-livecode
> Richard G. wrote at Mike K.: > The rest of us are having conversations with none other than the lead > engineer, right here on this list this morning. Yes the CTO was in the last two weeks probably more often here than in the last two years before that two weeks. But he's now more often searchi

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread hh via use-livecode
> > hh wrote: > > The uselist is not a LC-praising list. As long as we have the freedom of > > speech everybody can say whether he is contented with LC or not. > > Bob S. wrote: > I was not aware we had such freedoms on this list! For instance, if I begin > to speak

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread hh via use-livecode
> > hh wrote: > > Some people are very angry about deficiencies of LC, what I can understand > > from > > their view, and *we should hear what they have to say*. > > Matthias wrote: > Why. Posting here won´t change anything. The uselist is not a LC-praising lis

Re: Philosophical questions about the fontNames

2020-03-12 Thread hh via use-livecode
Indeed, the current implementation of (Default),(Menu),(Message),(Styled Text),(System),(Text),(Tooltip) is not very useful. For example (System) at size 13 on MacOS 10.15 is on Windows 10 at about (System) at size 12. So one needs nevertheless a platform switch. ___

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread hh via use-livecode
Some people are very angry about deficiencies of LC, what I can understand from their view, and *we should hear what they have to say*. Especially when they get angry about the whitewashing of bugs by some list members. What's wrong that's wrong, no matter who tries to whitewash bugs or even tri

Re: Pinch-Zoom gesture on native textfield. How to?

2020-03-09 Thread hh via use-livecode
http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile http://lessons.livecode.com/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this u

LCB widget "BioRhythm" v1.0.0

2020-03-03 Thread hh via use-livecode
The widget computes BioRhythm-Curves (sinus curves with different periods of days). The 7 names and their periods are: physical 23, emotional 28, intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition 38. Moreover you can have a weighted mean of the included of these 7 curves. Displ

Re: Translate metadata to field content

2020-02-22 Thread hh via use-livecode
This is possibly your problem if I understand correctly what you are doing (Browser source -> LC htmltext -> LC styledText). You try to work, using one LC method (styledText), around problems that another LC method (htmltext) has generated. One way to solve this could be to avoid LC's htmltext at

Re: Translate metadata to field content

2020-02-20 Thread hh via use-livecode
Sorry, forgot that some html entities are not displayed in the list: So assuming (unusual) should read -- [1] you use the following for a link target -- Xtarget10X where X is ("&" & "#1;") ..., the html translation of numToChar(1). -- LC translates numToChar(1) to " " should read -- LC t

Re: Translate metadata to field content

2020-02-20 Thread hh via use-livecode
As others try to optimize ("ping") I'll try an improvement too ("pong") with using another method that requires to change your link targets ONCE: Instead of unique targets write in your field ""&numTochar(1)&"target10"&numTochar(1)&""" Handler replaceTargets below does it (slowly) but you proba

ChangeImage Widget

2020-02-20 Thread hh via use-livecode
ChangeImage Widget v106 This is a (partial) extension of the TurnImage widget (v135). It adds masking of the images and several transition animations (from one image to a second one). We now have zoom, barn door horiz/vert, move horiz/vert, squeeze horiz/vert, swipe diag/horiz/vert, (perspectiv

Re: Translate metadata to field content

2020-02-18 Thread hh via use-livecode
ollowing style for a local page link -- Target10 Then the following in the field's script does what you want. -- jumps to local page links (as described above) ##[-hh 2020] on linkClicked pUrl if pUrl begins with "#" then delete char 1 of pUrl put "" into tTarget

Re: HTML spans with links

2020-02-06 Thread hh via use-livecode
The htmltext of a field is based on HTML3 or before. In HTML 3/4 a span can not contain two links, in HTML5 yes. [So a browser widget does what you explicitly wish to have.] Or if you set the metadata of the -tag instead (= set the metadata of line x of fld 1 to "metadata1"). > JLG wrote: > If

Re: OMG text processing performance 6.7 - 9.5

2020-02-03 Thread hh via use-livecode
Parse1 is here always at least 30% faster than Parse2. Yet another approach in LC 7/8/9 that I find to be very fast (especially for a lot of hits in large strings, e.g. when searching for "and" or "the"): -- Offset per ItemDelimiter -- Searches for pStr in pSrc using pCase function Parse0 pStr, p

Re: html5Player

2020-02-02 Thread hh via use-livecode
New in html5Player (v104 alpha) https://hyperhh.de/html5/html5Player.html html5Player adds a function keyCombo to your stack (as behavior) that you may use in your local stacks. It is updated on every keydown, keyup, mousedown and mouseup in the browser window. [See the stack "FontAndKeyTester" of

Re: html5Player

2020-02-01 Thread hh via use-livecode
If I understand correctly: What you want will be done soon, in a limited way, with the "html5IDE" https://hyperhh.de/html5/html5IDE.html (but without debugging!). The html5Player is not for that (**). You have there a propertyInspector, scriptEditor (and Dictionary). Everything is done in the bro

Re: html5Player

2020-02-01 Thread hh via use-livecode
Added to html5Player (v103 alpha) https://hyperhh.de/html5/html5Player.html 1. Your added local (uncompiled) stacks can use as textfont Aclonica, Andale Mono, DejaVu Sans, DejaVu Serif, Impact, Inconsolata, Optima, Permanent Marker, Skia, Verdana else textfont falls back to Droid Sans. 2. (Just

Re: HTML5 deployment

2020-02-01 Thread hh via use-livecode
> Sean wrote: > > 4. As with 3 also, emscripten itself has capabilities built in that will > allow for this so I will more likely utilise these rather than use JQuery. > The idea will be to handle as much as possible within the emscripten code > and have minimal stuff within the HTML output other

Re: HTML5 deployment

2020-02-01 Thread hh via use-livecode
* There are some things relating 1 & 2 one could think about: Start with mouseEvents (incl. wheel) and modifier keys. Then one could use native fields so that the browser does the keyboard job and executes all shortcuts for fields. To get/set field values is easy. A native styled field is also po

HTML5 deployment

2020-01-31 Thread hh via use-livecode
> Sean C. wrote (in thread 'Brave'): > ... can you put together a priority list of items that need to > be fixed in HTML5 deployment as I am currently adjusting the code. > I mean things that should just work without running external > JS workarounds like most of the key commands not working in a

Re: html5Player

2020-01-31 Thread hh via use-livecode
> Richard G. wrote: > I'm seeing a growing number of JS->WASM converters out there ... Where? Please cite some. > ... seemingly designed to replace a JS lib with a WASM version > that is functionally identical, just smaller and faster. > I'm wondering if anyone has tried this with the generated

Re: html5Player

2020-01-30 Thread hh via use-livecode
> Richard G. wrote: > do you know if would it be practical to run the generated > LC-engine-as-JS file through a JS->WASM converter? > If not, what would be needed to make that happen? AFAIK the current HTML5 standalone builder was made by Peter Brett in contact with Mark Waddingham. It uses Emsc

Re: html5Player

2020-01-30 Thread hh via use-livecode
> Bob S. wrote: Unfortunately I only have the Community version > and cannot test. Works here with LC Community 9.5.1 (on MacOS 10.15.3): Open the stack, select HTML5 (nothing else) in the standalone settings and hit the Test button. You need a HTML5 license *only* for publishing standalones, jus

Brave browser

2020-01-30 Thread hh via use-livecode
While testing intensively in the LC-HTML5 builder for cross-browser functionality of extensions I used Brave, Chrome, Firefox and Safari. My personal ranking in short: Safari is fastest with huge JS (the standalone engine), Firefox is slowest but has more special features, Chrome has most feature

Re: html5Player

2020-01-30 Thread hh via use-livecode
> Bob S. wrote: > I probably misunderstand the use of this. > I drug a simple stack into this but while it displays > fine, it does not function... Did you test it in the IDE? This is very simple in LC 9: Open the stack, select HTML5 (nothing else) in the standalone settings and hit the Test but

Re: html5Player

2020-01-30 Thread hh via use-livecode
> BR wrote: can you save anything from that view? 1. Generally yes. But this needs ALWAYS, with all modern browsers, manual user interaction: click a button or select from a menu. Similarly user interaction (click, drag and drop) is needed to read in such objects. * STACKS Panels with an LC icon

html5Player

2020-01-29 Thread hh via use-livecode
HTML5: html5Player (v102 as of Jan 30, 2020) This is a HTML5 standalone (webApp in the new LC wording). https://hyperhh.de/html5/html5Player.html This is a "standalone-Plus" that is, it is extended by several javascript extensions for features that are not (yet) implemented in LC-HTML5 or not pos

Use-livecode author names

2020-01-14 Thread hh via use-livecode
See the "statistics" here: http://forums.livecode.com/viewtopic.php?p=186723#p186723 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runre

Re: shell() and pdftotext

2020-01-14 Thread hh via use-livecode
> Richard H. wrote: > Typing to Terminal „pdftotext“ I get a List with command-options. > With get shell(„pdftotext“) with and without quotes > I get the answer „/bin/sh: line 1: pdftotext: command not found“ > What is wrong? May you please help? (MacOS Catalina). You could add on startup /usr/lo

Re: Polygon Side Does Note Match to Polygon rect

2019-12-28 Thread hh via use-livecode
> BR wrote: > But this is a one off design process, so I will still with my "ruler" grc > rect…. Obviously you want an evenly sided triangle with fixed width W? So use put 243 into W -- for example set points of grc 1 to "0,0,10,-10,20,0,0,0" -- these are start-values only set width of grc 1 to

Re: LiveCode won't recognize my stack

2019-12-27 Thread hh via use-livecode
This works here: go stack url("binfile:/Users/admin/xstacks/selectiveGray6789.IW") ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

Re: Polygon Side Does Note Match to Polygon rect

2019-12-27 Thread hh via use-livecode
A triangle with width=height is NOT a regular polygon (it doesn't have equal side length). To have what you want create a grc of type "polygon" and then set points of grc 1 to "0,0,10,-10,20,0,0,0" set width of grc 1 to 243 set height of grc 1 to 243 To have equal sideLength you set the width t

Re: Animated Gifs - Keep them Running

2019-12-12 Thread hh via use-livecode
@BR Don't run the gif as animation but do your own animation by setting the (or some) frames using "send in time". By that you can control better the "animation". Using a widget for that is significantly slower (takes more CPU) than LCS with such animations.

HTML5: Native PlainText Fields

2019-12-12 Thread hh via use-livecode
We already have HTML5: Native RichText Field https://hyperhh.de/html5/HTML5Field_v106-9.5.0X.html This is now a bit simpler (and simpler to implement): HTML5: Native PlainText Fields (basic example) The stack, downloadable from http://forums.livecode.com/viewtopic.php?p=186081#p186081 has a scri

Re: OT: HTML img src and Windows problem

2019-12-11 Thread hh via use-livecode
This is all OK assuming your html file is in /Users/paul/Desktop/help/. It works here with all modern browsers. The error is caused somewhere else in your webpage. Contains the char-attribute a gremlin or did you set a conflicting base url? You could use the WebInspector of the browser to see w

Re: How to revoke that bottom pane of the script editor?

2019-12-07 Thread hh via use-livecode
1. Without killing prefs: a) open the SE b) from msg send "sePrefSet " "e&"paneHeight""e&", 500" \ to stack "revnewscripteditor" c) close the SE d) reopen the SE 2. Kill/Reset prefs. The height of the bottom pane is stored there. ___ use-livecode m

Re: Script Editor disassociates - a lossy LC IDE bug

2019-12-06 Thread hh via use-livecode
I reported a bug (#18688, Oct 26 - 2016) that is still there in 9.5.0 on Mac 10.15.1. It partially overlaps with your description: [1] Saving a stack while the script editor is open with an unsaved script doesn't save the script. [2] Quitting LC without closing (saved) stack window or SE doesn't s

Re: remove DEFAULTMENUBAR?

2019-11-28 Thread hh via use-livecode
As I understand this: the menubar of this stack is a container (containing a group reference), the defaultmenubar is itself a (may be referenced) group. > Klaus M. wrote: > hm, I was hoping for a ONE-Liner, that can easily be executed via script. You could use semicolons ;-) __

Re: remove DEFAULTMENUBAR?

2019-11-28 Thread hh via use-livecode
The defaultmenubar is a GROUP. Empty is not a group. So you could try: create a new group set the defaultmenubar to that empty group delete that empty group ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: html5-IDE v100_alpha

2019-11-27 Thread hh via use-livecode
> Tom G. wrote: > Is it to have an easier time testing html 5 features?. is it to turn it > into a product? The SE and the messaging between the standalones is already basically done in earlier parts of my html5 samples. To improve the scriptEditor (which is 80% codeMirror) and build the mess

html5-IDE v100_alpha

2019-11-26 Thread hh via use-livecode
A few more words in defense of the HTML5 standalone builder: Enjoy html5IDE v100_alpha. A LC-playground with 'integrated' propertyInspector, dictionary, scriptEditor and tools. http://hyperhh.de/html5/html5IDE.html You can create objects, edit their properties and their script. Moreover there is

Re: [ANN] Release 9.6.0 DP-1

2019-11-26 Thread hh via use-livecode
@Mark Waddingham. Good to know you are still alive. LC version numbering has it's own logic, agreed -- as long as it's counting up. Integers are meek as a lamb, we have enough of them. Nevertheless Mark Wieder made a good point with looking at the pull requests. If I understand correctly then yo

Re: [ANN] Release 9.6.0 DP-1

2019-11-26 Thread hh via use-livecode
> We are pleased to announce the release of LiveCode 9.6.0 DP-1. > Mark Wieder wrote: > Really? > A major point release while still in the queue there are > > 186 pull requests for the engine (dating back to 2014) > 42 pull requests for the IDE (dating back to 2016) Good point, perhaps the major

Re: How do I select graphics that are on top of each other with mousedown?

2019-11-25 Thread hh via use-livecode
Yet another option is to use the technique from "pointInShape": http://forums.livecode.com/viewtopic.php?p=129274#p129274 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscrip

Re: macOS, is my app active?

2019-11-23 Thread hh via use-livecode
> Klaus M. wrote: > Still -> execution error It works here in the IDE on MacOS 10.14.6 and 10.15.1 using LC 9.5.0. or LC 8.1.10. (I stopped using unstable LC versions a while ago). Did you try from the IDE? If it is from the standalone only you could also try to use osascript via shell: get she

Re: WebP-Tool v103

2019-11-23 Thread hh via use-livecode
> JJS wrote: > Ok sorry, i forgot to mention. I'm also on win10-64bit. Did you save the stack to a before using it? If not, it has no path for the binaries, which will be installed in folder "WIN" of your stack's folder... If so, I can't really help as it works here. The stack is very basic LC S

Re: Help Wrapping HTMLTidy in LCB

2019-11-23 Thread hh via use-livecode
Is it really worth the work to do that from LCB? A while ago I installed HTML tidy 5.6.0 from here http://binaries.html-tidy.org (the Mac .dmg) Then I copied the binary "tidy" from /usr/local/bin compressed to my stack (=231 KByte). Now I use it from there, running it in the temporary folder via

Re: macOS, is my app active?

2019-11-23 Thread hh via use-livecode
MacOS 10.15.1 This is fld "IN" (your snippet): tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell on mouseUp do fld "IN" as "applescript" put the result into fld "OUT" end mouseUp yields in fld "OUT":

Re: WebP-Tool v103

2019-11-23 Thread hh via use-livecode
@BR. There is currently not yet support for mobile (precompiled binaries). But Android 4.0+ supports the format natively in its browser. See https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp The way you could do it on desktop (and probably as soon as supported

Re: browserDocumentLoadComplete working correctly?

2019-11-21 Thread hh via use-livecode
Klaus, looked in the scenario you mention. (I didn't say to use messages of the browser widget ...) This is your scenario (correct me if not): You have several pages on one or more foreign servers. These pages have dynamically generated content you wish to access and extract parts to custom prop

Re: browserDocumentLoadComplete working correctly?

2019-11-20 Thread hh via use-livecode
Yes, browserDocumentLoadComplete is working correctly and consistent with HTML5, no bug here. BrowserDocumentLoadComplete is fired as soon as the DOM is finished incl. *reading* your script tags. *After* that your javascript is *executed*. The server and browser/ browser widget don't check/care wh

Re: encrypt a standalone html5

2019-11-19 Thread hh via use-livecode
> Richard G. wrote: > That said, password protection only applies to the on-disk > representation of a stack. Once in memory, the algorithms of > any program made with any tool can be dumped and disassembled. Little Criminals, I like this song by Randy Newman. https://www.youtube.com/watch?v=T_MD

Re: encrypt a standalone html5

2019-11-19 Thread hh via use-livecode
> Riko A. wrote: > How do i protect my application with a password? I use livecode business. In the File/Standalone Application Settings go to Tab "Stacks". At bottom right you find a check and a field for the password. ___ use-livecode mailing list use

Re: Special Graphic Effects - Kill Performance On Rapid Redraws

2019-11-19 Thread hh via use-livecode
This lesson is very short and simple: A bicycle (mobile) usually drives much slower and can transport much less weight than a car (desktop machine). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscr

Re: encrypt a standalone html5

2019-11-19 Thread hh via use-livecode
> Riko A. wrote: > Is it possible to encrypt a standalone html5 file. > So it can't be downloaded and unzipped. So other > people can see our logic script. for example: > http://hyperhh.de/html5/CopyPaste-8.0.2X.html > http://hyperhh.de/html5/CopyPaste-8.0.2.zip I did that intentionally and publi

Re: How much do we have to pay to get a minimum of efficiency from HTML5

2019-11-19 Thread hh via use-livecode
A few words in defence of the LC HTML5 standalone builder. 1. > Pi wrote: > To answer your subject heading, I did some calculating based on the > current state of HTML5 deployment and my own experience in doing the > fixes single-handed for it. I work it out in the region of £15k. This is of cour

Re: How much do we have to pay to get a minimum of efficiency from HTML5

2019-11-19 Thread hh via use-livecode
LiveCode cannot do anything for you with that. The security dictator is 1. the OS 2. the browser you use for the standalone. There are a lot of differences alone by variations of these two. Yes, read and write from files is doable, but with the restrictions given by OS security and Browser secur

Re: WebP-Tool v103

2019-11-18 Thread hh via use-livecode
> Jjs wrote; Nice, thank you. I noticed it. But they are not used very > much yet. Also for jpeg are some extra formats. TMHO it doesn't really matter what's used in the web. The purpose of webP is, if you have a lot of images/large images, that these load much faster from a server or use less si

Re: WebP-Tool v103

2019-11-18 Thread hh via use-livecode
Sorry, the download links had a wrong path. Here are correct ones. [Download] Currently I cannot upload to "SampleStacks/livecodeshare". So please use from the message box (EU) go stack url ("http://hyperhh.de/xstacks/webP-Tool_v103.livecode";) (US) go stack url ("http://hh.on-rev.com/xstacks/webP

WebP-Tool v103

2019-11-18 Thread hh via use-livecode
WebP is a new image format for the web, see https://developers.google.com/speed/webp The stack is a helper for using the BSD-licensed converter software, so you can use webp images in your stacks. The stack contains the binaries for 64bit Mac/Win/linux. You can copy them to your own stack. For 32

Re: Y coordinate for a line of text

2019-11-14 Thread hh via use-livecode
> I’m needing to know the coordinate (Y is the tricky one) for a line of text... the selectedLoc if you need the rectangle use additionally measureText or measureUnicodeText ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

Re: numberformat woes?

2019-11-07 Thread hh via use-livecode
Klaus, a better property name would be Donaudampfschifffahrtsgesellschaftkapitänskajütenschlüsselloch ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferenc

Re: Managing maximized windows on MacOS

2019-11-04 Thread hh via use-livecode
Did you already see the new https://support.apple.com/en-ie/guide/mac-help/mchlp2469/mac Such "features" override LC settings (on MacOS 10.14/10.15). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc

Re: Learning from scratch - any recommendations? [with OT additions]

2019-11-03 Thread hh via use-livecode
The problem of learning human languages is not very different from the problem of learning programming languages. TMHO, not knowing JavaScript is comparable to not knowing Spanish (the dominant language in the USA). We all are more or less idiots. ___

Re: cr, lf, and reading in terminals/vim

2019-10-30 Thread hh via use-livecode
In case your python file becomes a bit more complicated, you shouldn't use workarounds as using backspace to come to a binary format, because you then need exact indents (could be tabs). Better use (without replacing anything in mrgCmds) Matthias' answer to use binary write. Or the usual variant

Re: Need trig & LCB help

2019-10-30 Thread hh via use-livecode
Greg, I've been away from LCB for a while. When reading the last post again I remembered an improvement that you could try to use: The current version computes the pathes with every redraw (onPaint). This is far too often. We could compute the pathes once (in onCreate) and then update ONLY when ne

Re: encoding woes!?

2019-10-29 Thread 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 same (with umlauts and stuff) as simply: > put the htmltext of widget "Browser"

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" horiz

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

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 subscribe

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 fiel

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: http://lists.runrev.

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: 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 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 subscripti

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: http:/

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 GN

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 that.

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) 64b

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 p

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 use-livecode@lists.runre

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. > Sh

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" an

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 vi

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 use-livecode

Re: Livecodeshare/SampleStacks

2019-10-26 Thread hh via use-livecode
> Richard G. wrote: > I'll try to remember to never try others' scripts using "import > snapshot", like I'm already in the habit of never thinking about having > a browser widget, or the ability to play a movie or audio file, or have > windows layer in an expected fashion... The problem is that

Re: PDF-Tools

2019-10-26 Thread hh via use-livecode
PDF-Tools_v110 (Merge/Mix/Split, add header/footer/pageNum/svgIcon) Using LC 9.0.5 it runs on Mac/Win/linux(ubuntu1604). More exactly: • Using LC 8.1.10/9.0.5/9.5.0 it runs on MacOS >=10.12.6. • Using LC 8.1.10/9.0.5 it runs on Win7. • Using LC 9.0.5 it runs on Win10 and linux(ubuntu1604). [Thi

Steganograph_v110

2019-10-26 Thread hh via use-livecode
The stack does (kind of) Steganography with an image, see https://en.wikipedia.org/wiki/Steganography. The stack runs (offline) using LC 8.1.10/9.0.5/9.5 on MacOS > 10.12 and, using LC 8.1.10/9.0.5, on win 7/10 and linux (ubuntu1604). The goal was here to have a method that uses in a standard way

Re: Livecodeshare/SampleStacks

2019-10-26 Thread hh via use-livecode
Livecodeshare/SampleStacks works again: 1. With ALL editions (Business/Indy/Community). 2. The recently appearing size limit has been removed. Thank you very much whoever did this. Especially SampleStacks from the LC toolbar is very fast and robust. Just try! ___

Re: Weird macOS error dialog

2019-10-25 Thread hh via use-livecode
> What fresh hell is this? Is this something all of our > users will be seeing? Yes. But this is only the camp fire before the hell. The new security hystery will surprise you every few minutes when you really work on that OS. ___ use-livecode mailin

Re: PDF-Tools

2019-10-23 Thread hh via use-livecode
PDF-Tools_v109, updated to v110 (Mac only) [Tested to run with LC 8.1.10/9.0.5/9.5.0 on MacOS 10.12.6/10.13.6/ 10.14.6/10.15.] Download PDF-Tools v110 from SampleStacks or http://livecodeshare.runrev.com/stack/951/ Added option to use a SVG Icon on the output pages. You can set width (resizes p

Re: Push Card

2019-10-22 Thread hh via use-livecode
> JB wrote: > The list of pushed cards is cleared when you quit the application. > Is there a way to clear the list without quitting the application? You could try on mouseUp put "home.livecodescript""e into tA repeat pop card into tB if tB ends with tA then exit repeat end repeat e

Re: Merge PDF

2019-10-21 Thread hh via use-livecode
> Richard H. wrote: > Silly question now that I think of it . . . does t avoid > the pixelization that the pdf widget performs? > And for that matter, does it work with cropped sections, > or just full pages? The PDf-lib doesn't use image snapshots. It is true PDF: Copied are pages and all it need

PDF-Tools

2019-10-21 Thread hh via use-livecode
PDF-Tools_v109 (MERGE/MIX/SPLIT) Due to deficiencies of the browser widget on win and linux we have the first time that a JS-library runs in a browser widget on Mac only. I tried to work around for win and linux without success, sorry. Download PDF-Tools from SampleStacks or http://livecodeshare.

Re: Merge PDF

2019-10-21 Thread hh via use-livecode
It is dependant on using JS from LC, by that it is dependant on a browser widget. I had it ready yesterday for Mac and tried a full day to work around the deficiencies of the browser widget on linux and win but had no success, sorry. The stack will be published as "PDF-Tools" (Merge/Mix/Split) in

Re: Merge PDF

2019-10-17 Thread hh via use-livecode
> Hugh Senior wrote: > Has anyone got an LC-based method to merge pdf files? Just asking... I'll publish this weekend on SampleStacks a pdfLib (split and merge) based on a JS library (via a browser widget). Already 95% are done. ___ use-livecode mailing

Re: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-17 Thread hh via use-livecode
Save a lot of lines by using "format": on countdown t put format("%02d:%02d:%02d",t div 3600,(t mod 3600) div 60,t mod 60) into fld 1 subtract 1 from t if t < 0 then exit countDown send "countdown t" to me in (1000-the millisecs mod 1000) millisecs end countdown > > Terry J. wrote: > > N

Re: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-16 Thread hh via use-livecode
> Bill V. wrote: > I know how to do the math to figure it out but I’m wondering if there > is a built in function to do this. Convert wants to deal with actual time > so I would get something like “0:1:15 PM”. That needs the same energy as the simple math method but as you ask: 1. set the twelve

Re: Re: Catalina and stuff other than 32bit—USB broken

2019-10-16 Thread hh via use-livecode
@Dar. Did you already try to use QUEMU? https://www.qemu.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo

  1   2   3   4   5   6   7   8   9   10   >