Re: text encoding problem Mac to iOS?

2018-01-06 Thread hh via use-livecode
Assuming you are on Mac you could try: lock the clipboard set the rawClipboardData["public.utf8-plain-text"] \ to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX unlock the clipboard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

HHTextEditFull

2018-01-05 Thread hh via use-livecode
HHTextEditFull v1.3.6 builds upon HHTextEditBasic and = uses the _livecode.com_ browser widget = uses the _summernote.org_ editor = Snippets of Bootstrap3 by _w3schools.com_ = uses the _codemirror.net_ code editor = uses the _khan.github.io/KaTeX_ TeX engine Download from "Sample stacks" of the

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread hh via use-livecode
> Klaus wrote: > He is using a MacBook and LC 2.18. Hi Klaus, where can I find LC 2.18? Is this a private edition? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> > So, how should this work without using a lot of JavaScript (eventually > > changing libbrowser)? > > The same way that browserLoadRequest works for the iOS mobile browser. If > you don’t pass the message then the url isn’t loaded. This works from a WYSIWYG editor?

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> Yes, I am aware of how to cancel clicks using JavaScript. Remember that my > original post stated that I was looking for a way to cancel navigation > using a method other than JavaScript (which is the solution I’m currently > using) :-) > > Ideally the browser widget would allow us to cancel

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> > hh wrote: > > 2. Don't do the navigation in the widget but later on in browsers: > > Not really from a widget property. But you could use an attribute that the > > widget can't do: to open a new window. This works in "hhTextEditBasic". > > > > set the htmltext of widget 1 to > >

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> Trevor D. wrote: > Other than injecting javascript into each web page that cancels clicks on > links, is there a way to cancel user clicks on links in a browser widget? 1. Cancel while navigating: Catch the "current" htmltext: on browserNavigateBegin set the currentHTML of me to the

Re: Two new videos about using Navigator with LiveCode

2018-01-04 Thread hh via use-livecode
Often "Navigator" works good for me in LC 8 (I stopped developing in LC 9). It is especially very valuable when working with nested groups. Why don't you announce the update in the forum (also the link to the documentation) and publish this very useful stack in "Sample Stacks"/ livecodeshare? It

Re: Free SVG icons

2018-01-03 Thread hh via use-livecode
> BM wrote: > I looked briefly for something that could convert SVG to just a path. > Inkscape can do it, but I was more looking for something that could easily > do it in a batch run. Then you could convert the whole set. I'm looking for that for months. TMHO opinion inkscape can do that for

Re: Free SVG icons

2018-01-02 Thread hh via use-livecode
There are more complicated ones like below. We have to work harder in LC 9 for these. dist/svg/flat/chat.svg http://www.w3.org/2000/svg; width="100" height="100"> ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Free SVG icons

2018-01-02 Thread hh via use-livecode
These SVGs are fine. 1. download the zip from github https://codeload.github.com/leungwensen/svg-icon/zip/master (29.7 MByte, unpacks to 61.4 MByte) 2. open one of the folders in dist/svg, e.g. dist/svg/flat 3. make a stack with one field and one svg widget: Script the field as follows on

Re: delete the customproperty (of a card)

2017-12-31 Thread hh via use-livecode
Dictionary > customKeys ___ 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/use-livecode

hhTextEdit-Basic 1.0.2

2017-12-28 Thread hh via use-livecode
hhTextEdit-Basic 1.0.2 Uses a browser widget as "text field" extending by that LC's htmltext of fields to a larger set of text styling (e.g. justified textAlign), 2D-transforms/3D-rotations and filters (blur, sepia etc.). Of course you can edit the transformed/rotated/filtered text _while_ it

Re: Tab alignment in fields

2017-12-12 Thread hh via use-livecode
WOW! And moreover HTML5 progress and LCB progress ... I have to cancel all my dates for the rest of the year. Thanks a lot Mark for that hint. > Mark Wieder wrote: > https://github.com/livecode/livecode/pull/6182 ___ use-livecode mailing list

Re: Tab alignment in fields

2017-12-12 Thread hh via use-livecode
Fraser?!? Are you back? Back to make libbrowser run on Raspi? :---))) Hermann ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LC V8.1.8 IDE has brought new problems

2017-12-10 Thread hh via use-livecode
Your criticism is, TMHO, too general and by that wrong. Certainly there are certain scenarios where this occurs. (1) Never ever one of my stack window appeared in a wrong place. Not on Mac, nor on Win, nor on linux. What's sometimes wrong are the rects of some IDE windows. Tools: No, SE: often,

Re: Copying text in boxes to clipboard

2017-12-08 Thread hh via use-livecode
> JLG wrote: > Actually, you could extract the text and write it into an html table in any > version of LC. Then set the clipboardData["html"] to it. > > It would only paste into apps that accept html of course. Unfortunately no. The clipboardData["html"] is LC htmltext, which doesn't support

Re: Copying text in boxes to clipboard

2017-12-08 Thread hh via use-livecode
> JLG wrote: > In that case, others who have responded are right. You > can't put that into the clipboard except as an image. The impact is (what I wrote): You can't put that into the **LC 6** - clipboard. Of course we can do that in LC 8 or later by accessing the *raw* clipboard. That is: Put

Re: Copying text in boxes to clipboard

2017-12-08 Thread hh via use-livecode
There is no way to do that with the *LC 6* clipboard. But, assuming you are on Mac, you could ... ... (1) 'code' the fields into a html table (no need to display that in LC). This is not too hard when using merge. ... (2) Then write that to a temporary html file put myHTMLCode into

Re: LiveCodeStars

2017-12-04 Thread hh via use-livecode
> Bob S. wrote: > Cool, but it moves so fast I read about 1/10th of the text and > I am exaggerating. :-) Your machine's CPU/GPU combination is from next generation. Though I removed a small bug (that made LC 9 run 30% too fast). Now you could play with the param d of "hhAnim". The fact is that

ColorChooser for LC 6/7/8/9 on MacOS 10.13

2017-12-04 Thread hh via use-livecode
Recently, there were several neat stacks on "Sample Stacks" that use LC 8/9 (a newer stackfileversion) and would be also useful on LC 6/7. The main reason for that, if not using widgets, was probably that on MacOS 10.13, using LC 6/7, closing the colorChooser ("answer color") **CRASHES** LiveCode

LiveCodeStars

2017-12-03 Thread hh via use-livecode
My end-of-this-year gift to the community is dedicated to the LC Team, especially to the makers of the browser widget. **LiveCodeStars** It is a hybrid of LC animation and (via javascript) CSS transforms. see "Sample Stacks" or http://livecodeshare.runrev.com/stack/853/ [ Find some additional

Re: Simple tutorial on scrollbars?

2017-11-19 Thread hh via use-livecode
Yet another (very simple) option is to set the colorOverlay and/or the ink of the scrollbar. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LC 8.1.7 with Mac OS/X 10.12.6

2017-11-15 Thread hh via use-livecode
Sorry, slided into the wrong thread. > hhwrote: > Did you already try to switch OFF the network for the startup of LC? > And to switch OFF all update checks in the prefs? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: LC 8.1.7 with Mac OS/X 10.12.6

2017-11-15 Thread hh via use-livecode
Did you already try to switch OFF the network for the startup of LC? And to switch OFF all update checks in the prefs? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: The coming of SVG

2017-11-10 Thread hh via use-livecode
@David. You respond to my answer for jbv (relating SVG-animation). The answer for you is two paragraphs upwards, a LC stack: http://forums.livecode.com/viewtopic.php?p=129274#p129274 The algorithm there allows you to get the clicked shape. That's all you need for setting clickregions of an image

Re: The coming of SVG

2017-11-10 Thread hh via use-livecode
PLEASE, let us first have the basic enhanced object, probably "canvas". This will need at least a full year (my estimate). Then add other things (you can already now have via LC Script or via JavaScript in a browser widget): > David wrote: > It is realy hard with any technology other than SVG /

Re: The coming of SVG

2017-11-09 Thread hh via use-livecode
@ Mark. Once again thanks for such a deep information. You are also a gifted teacher. I also know from writing kind of a canvas cheat sheet (WIP) that LCB canvas is already a larger set than HTML5 canvas but there are still a few important properties missing (some of them we can have from HTML5

Re: The coming of SVG

2017-11-09 Thread hh via use-livecode
@Mark. You wrote several times "... the LCB canvas abilities ..., which are a superset of the HTML5 Canvas abilities" It is just now more "planned to be a superset"? The HTML5 canvas has for example the ability to set and get dataURLs. And LCB doesn't even have a base64 encoder/decoder.

Re: Was I hallucinating? Totally OT, perhaps relevant

2017-11-09 Thread hh via use-livecode
Perhaps you dreamed of Jeannie ;-) Was she there? (The NBC series was very popular in Germany, also in the 90's). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: incrementing a decimal...

2017-11-07 Thread hh via use-livecode
put 33.000 into x put 34.123 into y put 0.001 into stp repeat with i=x to y-stp/2 step stp put format("3.%.3f",i) & cr after lst end repeat ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: The coming of SVG

2017-11-06 Thread hh via use-livecode
@Mark Thank you very much for that fine explanation. Hopefully the team and you will find enough time to implement the enhanced 'canvas' (whatever the name). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: The coming of SVG

2017-11-05 Thread hh via use-livecode
From Wikipedia: The word "canvas" is derived from the 13th century Anglo-French canevaz and the Old French canevas. Both may be derivatives of the Vulgar Latin cannapaceus for "made of hemp," originating from the Greek κάνναβις (cannabis). So give it the synonyms hemp and cannabis -- if not joint

Re: The coming of SVG

2017-11-05 Thread hh via use-livecode
Until now I saw it like that: , and are HTML5 tags. And and are different concepts. Roughly is more an XML-based vector graphics format, is more an API for drawing on a bitmap surface. And is a container for an image at different sizes. [And, as James says, is also a (different) HTML

Re: The coming of SVG

2017-11-04 Thread hh via use-livecode
What about: wad (also honouring the main author of the new "container") on mouseUp if there is no wad "w_1" then create wad "w_1" put image "img_1" into wad "w_0" put graphic "grc_1" onto back of wad "w_1" put svgicon "svg_1" onto front of wad "w_1" end if end

Re: The coming of SVG

2017-11-03 Thread hh via use-livecode
> At least historically, paintings were bitmapped, > not vector (think MacPaint vs. MacDraw) Yes. And LCB "draws" an image and uses "OnPaint" for it's canvas. Probably we could call it "artwork"? (If all the promises realise it is indeed a software artwork!)

Re: The coming of SVG

2017-11-03 Thread hh via use-livecode
Look forward to the first release of . For the name, what about "painting"? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Radio button scaling

2017-10-29 Thread hh via use-livecode
Answer 1. This is solvable as soon as icons are settable using SVG. Other scaling would result in non-smooth displays as the icons are images. But you could make a set of images for different "resolutions" and use these images as "icons" for the buttons, dependent on your scale. Also you could

Re: how to split a list in two directions?

2017-10-28 Thread hh via use-livecode
> Alex T. wrote: > Not a one-liner, but I'd be wiling to guess that > > repeat for each line L in theData >put item 2 of L into A1[item 1 of L] >put item 1 of L into A2[item 2 of L] > end repeat will > > be as quick as any other method. This is certainly a very fast and elegant method.

Re: Call for Speakers 2018

2017-10-26 Thread hh via use-livecode
> Richard G. wrote: > What sort of IDE hacks would you two be interested in? besides the project browser are possibly interesting objects, more for extending/contributing than "hacking" = the property editor (usable from both, LC Script and LC Builder). = the preferences stack.

Re: Call for Speakers 2018

2017-10-26 Thread hh via use-livecode
> Mike K. wrote: > I already asked Kevin to add a series on hacking the IDE. We could do a > project as part of that, perhaps redoing the project browser - that would > probably take long enough to require an hour each session... That would be very interesting, whether project browser or not,

Re: OT Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread hh via use-livecode
Additionally to that: On Thu at 3.30PM BST there is a LC Global talk by Mark Waddingham: "Building an SVG widget". Certainly with a new widget attached. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: How to meet an integer

2017-10-17 Thread hh via use-livecode
What is your problem, Mike? > Mike K. wrote: > golfclap for hh. bravo. ish. > hhwrote: > >> Mike K. wrote: > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did

Re: Atkinson dither algorithm

2017-10-17 Thread hh via use-livecode
@Alejandro and Alex. All that limit checking is not needed here. It is much faster, especially for fast images,to do a few unneeded additions than to do all these checks for each pixel. I translated my js-function into LC Script, using Alejandro's variable names and (inline) Alex's array

Re: How to meet an integer

2017-10-17 Thread hh via use-livecode
>> Mike K. wrote: >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. And God said, "This is good." On the fourth day, at the dawn of numbers, God

Re: Comparing 2 Spoken words, FFT function in LiveCode?

2017-10-16 Thread hh via use-livecode
LC Script is probably not fast enough for performing a FFT. But you could use, for example, the following digital signal processing library for javascript via a browser widget. https://github.com/corbanbrook/dsp.js Or try to use LCB's java-FFI based on these approaches:

Re: How to meet an integer

2017-10-16 Thread hh via use-livecode
> JLG wrote: > Until I met my husband, ALL my dates were zeros. You won. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

How to meet an integer

2017-10-16 Thread hh via use-livecode
> JLG wrote: > You know, after all the dicussion here, I'm not sure any of the > options are better than "x is a date". The one exception may be > that any integer is considered a date. Being a mathematician I always dreamed about meeting an integer. How did you manage to meet an integer? Was it

Re: is a date

2017-10-16 Thread hh via use-livecode
> JLG wrote ... > The one exception may be that any _integer_ is considered a date. > To get around that we could just check that there are 3 items > delimited by slashes before testing for "is a date". I write "is a /real/ date" into my notes whenever a meeting is a date. How do you handle such

Commmunity widget #53

2017-10-15 Thread hh via use-livecode
Just shared a new widget. Works in LC 8 (8.1.5ff) of LC 9 (9.0.0ff). Oct 15, 2017: hhColorPicker 1.0.0 #53 -- see http://forums.livecode.com/viewtopic.php?f=93=28020 The widget runs as "ordinary widget", sending a message "cholorChosen " that you can use in your scripts OR it runs as

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread hh via use-livecode
@Al. For multiples of 1/8 (Atkinson) you need 8*256=2048 integers, that is 11 Bit. For multiples of 1/16 (Floyd-Steinberg) you need 16*256=4096 integers, that is 12 Bit. In 2 chars = 16 Bit fit even multiples of 1/256. No dither-algorithm uses such tiny diffusion-errors.

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread hh via use-livecode
> Al wrote: > Please, check this new handler in the forum and suggest how to > make this faster and more precise. I already gave you a method that is, with a 500x500 image, at least 1000 (thousand) times faster than your script. Of course this is not due my special skills but the ability of

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread hh via use-livecode
LC 8.2.0-dp2 has nice new features but this one doesn't work. > Panos wrote: > Moreover, in LiveCode 8.2.0 DP-2 Dictionary, all the extension docs are > incorporated in the main LiveCode Script dictionary. This improves > searchability, as well as preventing the library list getting too large.

Re: Creeping IDE Script Editor window position

2017-10-09 Thread hh via use-livecode
On the other hand, we are developers, so there is no need to write more than one of set rect of stack "revNewScripteditor 1" to 100,100,800,800 set rect of stack "revErrorDisplay" to 100,100,800,800 set rect of stack "revDictonary" to 100,100,800,800

Re: How do I play sound files in HTML5?

2017-10-05 Thread hh via use-livecode
[Once again. Without typos.] Hi Kenji, looked at http://kenjikojima.com I had seen that before. Your approach is *very* interesting and your work is *very* impressing. Please show us your future artwork in that field using LiveCode 9 / HTML5. Hermann p.s. The

Re: How do I play sound files in HTML5?

2017-10-05 Thread hh via use-livecode
Hi Kenji, looked at http://kenjikojima.com, I had seen that before. Your approach is *very* interesting and your work is *very* impressing. Please show us your future artwork in that field using LiveCode_9@HTML5. Hermann p.s. The HTML5-forum may be better for discussions because it allows

Re: How do I play sound files in HTML5?

2017-10-05 Thread hh via use-livecode
Hi, do as "javascript" was introduced not before LC 9.0.0-dp4. Get additional info here (=subforum HTML5): http://forums.livecode.com/viewtopic.php?p=155667#p155667. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: not really OT: The Coming Software Apocalypse

2017-10-01 Thread hh via use-livecode
> Mark Wieder wrote: > Oops. I forgot to post a link to Bret Victor's talk: > https://www.youtube.com/watch?v=wxWM4t68cR4 Thanks for this valuable link. Very impressing thoughts there. The most interesting for me: His first three demos are very close to LCB (as LCB is close to javascript with

Re: MacOS 10.13 crashes LC after color dialog

2017-09-29 Thread hh via use-livecode
> > Reported, of course, #20490. > Fixed, of course, https://github.com/livecode/livecode/pull/6012. -:)) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: A modest proposal for a new property

2017-09-29 Thread hh via use-livecode
@Quentin L. Hopefully the following citation can help all of us to understand better what's going on. Especially point (1) relates to our current discussion: Posted by Mark Waddingham in a long thread (2015) in the LC Builder forum, not hard to find. It still describes at about the current

Re: MacOS 10.13 crashes LC after color dialog

2017-09-29 Thread hh via use-livecode
Reported, of course, #20490. ___ 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/use-livecode

Re: MacOS 10.13 crashes LC after color dialog

2017-09-29 Thread hh via use-livecode
Yes. Probably such bugs as the color picker issue are the reason for not offering the upgrade via the built-in AppStore updater? Though it is possible to work around: The GraphicConverter upgraded yesterday, it has a working color picker. ___

Re: MacOS 10.13 crashes LC after color dialog

2017-09-29 Thread hh via use-livecode
> Panos wrote: > MacOS 10.13 is still in beta No. Official version since Sept 25, 2017. https://www.apple.com/macos/high-sierra/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

MacOS 10.13 crashes LC after color dialog

2017-09-28 Thread hh via use-livecode
MacOS 10.13, LC 6.7.11/ 7.1.4/ 8.1.6/ 9.0.0-dp9 (here on Mac mini/late 2012 2.5 GHz i5, Intel Grahics HD 4000) When using the color dialog from the Property Inspector or via "answer color", every latest LC version, from LC 6.7.11 up to LC 9.0.0-dp9, crashes immediately. Hopefully the LC-team can

Re: A modest proposal for a new property

2017-09-28 Thread hh via use-livecode
> JLG wrote: > The original issue that influenced this one was > how to provide a larger hit zone on an SVG widget... Yet another option. You can use my iconGrid widget for that. Use a 1x1 grid with your SVG icon as property. It informs you whether the used SVG icon itself or the enlarged

Re: use-livecode Digest, Vol 168, Issue 50

2017-09-27 Thread hh via use-livecode
> > JLG wrote: > > The original issue that influenced this one was how to provide a > > larger hit zone on an SVG widget. > > How would this property work for that? > Quentin L. wrote: > I’m thinking that a single line of code would suffice: > > set the clickableRegion of widget “Fred” to

Re: A modest proposal for a new property

2017-09-26 Thread hh via use-livecode
> Richard Gaskin wrote: > > Mark Wieder wrote: > > That's the point where I stopped trying to do pie charts in LiveCode. > > Worse: try to set a tooltip showing the percentage under the cursor. > > Multiple graphic objects? Sadly no. This simply doubles the problem. The pie chart was the cause

Re: A modest proposal for a new property

2017-09-26 Thread hh via use-livecode
@Richard G. Everybody engaged in this thread knows about "within" and "intersect". They are good and very effective where they are applicable. Now solve this simple example: Make a circular arc showing 70% of a pie and then tell us when clicking into the oval which part is hit, the 70% or the

Re: A modest proposal for a new property

2017-09-26 Thread hh via use-livecode
I asked because I thought QL's proposal might be based on a new algorithm? There are already (partial) solutions to that: In LCS getting "transparency" clicks of cross-layered objects is hard but possible for a big class of regions (see stack #47 = "pointInShape" of the Raspi stacks collection,

Re: A modest proposal for a new property

2017-09-26 Thread hh via use-livecode
How would you determine that a clickLoc is within such a "region" or not? (Say, for simplicity, the region is inside the control's rectangle) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread hh via use-livecode
> Craig wrote: > The textChanged handler sort of works. If you leave the field and replace the > cursor, the next char goes after the currently selected line. From then on it > goes before the current text.The backspace key does not really work. Hey, of course it works. When editing it deletes

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread hh via use-livecode
Of course it is essentially: on textchanged select before me end textchanged ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread hh via use-livecode
> R.G. wrote > Indeed it does. At first glance the behavior seems at least > unintuitive. It also appears to prevent the Backspace key from having > any effect. Is it a bug? A feature? You can also edit one char at a time. Isn't that a feature for right to left languages? One has simply to

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread hh via use-livecode
> > hh wrote: > > on textChanged > > replace space with space in me -- or whatever > > end textChanged > Bob S. wrote: > Whut? All that will do is replace spaces with spaces. That will not reverse > the order of the typed text. (Instead of "space" use also any other char, for example "cr") It

Re: Constraining an input field's contents to be a single line.

2017-09-21 Thread hh via use-livecode
Did you already try the following? This works here, also with pasted text. on textchanged lock screen; lock messages put the selectedChunk into sc replace cr with space in me -- or with empty select sc unlock screen; unlock messages end textchanged > > Mike B. wrote: > > If

How to to type bottom to up and right to left in a field

2017-09-21 Thread hh via use-livecode
Because "textChanged" was also mentioned in a recent thread. This is a handler full of features: *** How to to type bottom to up and right to left in a field *** Simply script the field as follows and start typing. on textChanged replace space with space in me -- or whatever end textChanged

Drag widgets from Tools palette -- solve issues?

2017-09-20 Thread hh via use-livecode
Is an IDE specialist out there who is interested in that? http://forums.livecode.com/viewtopic.php?p=158334#p158334 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: (Browser) Widget documentation

2017-09-20 Thread hh via use-livecode
> Ben R. wrote: > General question: where can users find a reference to the supported > properties/commands/functions of widgets? E.g. the properties of a Segmented > Control widget? > More specific immediate question: where can I find a reference for the > Browser widget? In the dictionary

Community widgets #42-52

2017-09-17 Thread hh via use-livecode
Two widgets have new features, that may be interesting for some of you. For your convenience here the long list. Currently available is by the newest hh-(un)-installer stack from "Sample stacks" or http://livecodeshare.runrev.com/stack/842/ [Download the installer and read the short scripts to

Commmunity widgets #47-50

2017-09-15 Thread hh via use-livecode
Just updated/upgraded community widgets #46-#50 to run from the same source. So that also these widgets, now 10 widgets in sum, will run your stacks UNCHANGED, but you have to use the correct version in the IDE. Currently available is by the newest hh-(un)-installer stack from "Sample stacks" or

Re: IconGrid widget v2.0.2

2017-09-12 Thread hh via use-livecode
> I wrote: > Each element has properties (in order of the layering): > > Colors (using high contrast colors), > Image (load these from server or disk, 150 'icons' are built in), > SVGpath (use the built in SVGs or any other valid path), > Text (multiline supported), > Number (readable only).

IconGrid widget v2.0.2

2017-09-12 Thread hh via use-livecode
Some may say it has too much options but I couldn't stop when coding: LC Builder is full of features. The more one codes, the more one sees that. Some may say, I could have split it into several smaller widgets so that we could have sooner 100 community widgets, if not 1000 ;-) Anyway, I

Using the property inspector

2017-09-11 Thread hh via use-livecode
It was not heard there, so I ask here: http://forums.livecode.com/viewtopic.php?p=157993#p157993 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Vector graphics, again

2017-09-07 Thread hh via use-livecode
Jonathan, Richmond wants to convert his bitmaps to SVG, because he has no SVG version. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LC on Raspberry Pi3

2017-09-02 Thread hh via use-livecode
No, vice versa. ImageJIT (= LC as GUI + luajit via shell) on Raspberry 3 is faster as 'LC with LCS only' on the 3 GHZ CPU (a linux box). The Raspi app lets do the core processing of the raw imageData by luajit and the 'LC with LCS only' is running with my fastest LC Scripts. Doing both on the 3

Re: LC on Raspberry Pi3

2017-09-01 Thread hh via use-livecode
All > 100 stacks from my Raspberry Pi stacks collection (Forum) run on Raspi 2B+/3 using the LC 6.5.1 or LC 7.0.4 IDE. Some of them may be called "apps". Of course they run also as standalone on Raspi 2B+/3. Simply compile one of these on Mac/Win/linux and run them on Raspi ... I also made an

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-27 Thread hh via use-livecode
> JLG wrote: > ... But it should be easier. You could use tinyDictionary. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: webP and webM support in LiveCode

2017-08-26 Thread hh via use-livecode
> Al wrote: > Yes, LiveCode shell control is a real godsend for > working with command line programs, but we could > not use webP compressed images within our stacks > unless LC engine could decode them back to RGBA > images within LiveCode. So what's the problem? Decode them with shell to a

Re: webP and webM support in LiveCode

2017-08-26 Thread hh via use-livecode
For webP you could use (from LC via shell) these free WebP utilities for Mac/Win/linux: cwebp -- WebP encoder tool dwebp -- WebP decoder tool vwebp -- WebP file viewer webpmux -- WebP muxing tool gif2webp -- Tool for converting GIF images to WebP See

Re: Sending a message to users that floats above everything

2017-08-24 Thread hh via use-livecode
> Jonathan wrote: > I hate to hide the map just for something like adjusting the range at which > one can see markers. You could make a snapshot of the map, gray it out and use the image as background (everything else hidden). ___ use-livecode mailing

Re: Sending a message to users that floats above everything

2017-08-24 Thread hh via use-livecode
Jonathan wrote: > What is the best way to send a message to users that floats above > everything else, including browser widgets? > ... > Would it be possible in LCB to make a float-above-everything (including > browser) dialog? Didn't read the whole huge thread, so in case it is not already

Re: lock screen gotcha revisited

2017-08-22 Thread hh via use-livecode
Thanks for your fine explanation. And the future handlers sound very promising, both OnUpdate() and OnMarksPonder(). Graphics are meanwhile pretty fast in LCB. I timed such clock updates (in LCB): The OnPaint of a clock needs, also with a heavy loaded CPU, less than 4 millisecs. Even checking

Re: lock screen gotcha revisited

2017-08-22 Thread hh via use-livecode
@Mark. Say I have 24 copies of the LC clock widget in order to display different time zones. How can I have them in "seconds-sync"? In LC Script, with LCS-clocks I would do a screenLock, update the clocks and then unlock. In LC Builder I even tried to make a composed widget, without

Re: lock screen gotcha revisited

2017-08-21 Thread hh via use-livecode
The real interesting thing is now for me how to lock the screen in LC Builder? I couldn't find a way to do that. Who knows? This interacts with LC Script, timed widgets (clocks, animations) want their own screen updates ... ___ use-livecode mailing

textbanner widget

2017-08-18 Thread hh via use-livecode
Some of you may find this new widget useful. A textbanner widget that displays a text string, an "one-liner", as running text right to left (optionally left to right) or static. Has many documented options to set (font, size, colors, speed, ...). Ready to use via the extension manager in LC

Re: Couple of questions about the browser widget

2017-08-16 Thread hh via use-livecode
Additional to Jonathan's instructions. Basic: http://forums.livecode.com/viewtopic.php?f=7=29589 Medium: Get MouseEvents from browser widget http://forums.livecode.com/viewtopic.php?p=154496#p154496 and others there (7 Browser Widget usage examples) ...

Simplify polygon

2017-08-15 Thread hh via use-livecode
Today I implemented the Ramer-Douglas-Peucker algorithm for reducing the number of points of a polygon such that the "shape" of that polygon is preserved as good as possible, controlled by a tolerance parameter. This is known as "simplifying" of a polygon (is also done for polygon/ polyline paths

Re: lockscreen?

2017-08-15 Thread hh via use-livecode
> Richmond wrote: > If I lock the screen (so these automations don't show up) will that > speed things up? lock screen; lock messages ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread hh via use-livecode
>> Mark wrote: >> This is getting annoying. > Klaus wrote: > I just deleted 71 slavic spam postings from the forum manually again, > now THAT is getting annoying! +71 for you. Thanks for that. But better stop manual deletion now. As long as you do that probably nothing will improve/change. It

Re: JPNG

2017-08-11 Thread hh via use-livecode
@Mark *** Thanks for your expertise. I couldn't do that this perfectly. *** One of the reasons for posting this JPNG stack is to show the power of LC: The essential code of compressing PNG -> JPNG and decompresing PNG -> JPNG is both less than 10 *essential* lines of code, using comfortable LC

<    1   2   3   4   5   6   7   8   9   >