Re: Video-Fun2

2019-01-01 Thread hh via use-livecode
> Peter B. wrote: > It looks great! > After awhile (10-15 minutes) it froze. Reloaded the page, then Safari had the > message, “This page is using significant memory….” Yes, I had this too. It's probably a caching problem of Safari. They do a lot of caching, that's why they are the fastest

Re: Video-Fun2

2019-01-01 Thread hh via use-livecode
Well, HTML5 standalones have a display filter, just try to find out how you can set it. > Richmond wrote: > "What you see is an LC-image object" > Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2 > https://www.waterfoxproject.org/en-US/ > Nor, for that matter on safari

Video-Fun2

2019-01-01 Thread hh via use-livecode
Video-Fun2 is a major update of the HTML5 standalone "Video-Fun". Finally all I wanted works. This uses only "atomic" canvas2d methods of JavaScript in the browser, no JS-packages. And, where they are fast enough in the HTML5 engine, all the well known wonderful LC-techniques: (US)

Re: Refactoring is your friend / moving from 6.x to 9.x

2018-12-31 Thread hh via use-livecode
> Craig wrote: > Not sure if this is still relevant in LC, but in HC, lock screen > commands were queued. So the fix, so that one did not have to count > the number of locks through perhaps several handlers, was: > > repeat until the lockScreen is false >unlock screen > end repeat Yes! Or

Re: JIGSAW PUZZLE 2d-video v_100

2018-12-29 Thread hh via use-livecode
[A] JIGSAW PUZZLE 2d-video (HTML5) is now updated to v_110 • Improved once again speed with videos a little bit. The links are unchanged (US) http://hh.on-rev.com/html5/jigsawPuzzle2d-video-9.0.2hhX.html or (EU) http://hyperhh.de/html5/jigsawPuzzle2d-video-9.0.2hhX.html [B] JIGSAW PUZZLE

Re: JIGSAW PUZZLE 2d-video v_100

2018-12-29 Thread hh via use-livecode
> Colin wrote: > Frame rate is still a bit slow. I left the whole "pieces part" (set backpattern of the pieces) in the LiveCode/Emscripten part, which is up to 10 times slower than the IDE. So there is no chance to improve this more. You could see it only as a demo of "this is working". In the

Re: JIGSAW PUZZLE 2d-video v_100

2018-12-28 Thread hh via use-livecode
JIGSAW PUZZLE 2d-video is now updated to v_105 • Improved speed with videos a little bit. • The width-menu computes now all sizes from 20 up to 144 that leave either width or height (or both) of the image/video unchanged (no cropping). • A video can now be paused. Then it can be continued (when

JIGSAW PUZZLE 2d-video v_100

2018-12-27 Thread hh via use-livecode
JigsawPuzzle2d-video is a HTML5 standalone that demoes what LC is able to do. I have seen such "live" computed puzzle pieces until now only in specialized native apps. Images. You can choose a built-in image or import a local one into the standalone. Moreover choose the base width for the pieces

Re: Probably a No-Brainer

2018-12-27 Thread hh via use-livecode
You don't want to compute it but want to write it out into a field? on mouseUp put taylorsum(4,"x") into fld "OUT" end mouseUp function taylorsum n,x -- n is the degree, x the function argument put "1" into s -- or: put x &"^0/0!" into s repeat with i=1 to n put " + " & x &"^"& i

Re: Probably a No-Brainer

2018-12-27 Thread hh via use-livecode
> Roger wrote: > I want to replace the contents of a field that contains x^n > with x^1 or x^2 or x^3 as n= 1 or 2 or 3 etc. You could try to write in the file "x^[[n]] + x^[[n+1]]" and then script put 2 into n put merge(fld 1) into fld 1 --> yields "x^2 + x^3"

Re: Websockets Problem on LiveCode

2018-12-27 Thread hh via use-livecode
> Todd wrote: > I assume that it is a memory leaking error. Has anyone had this problem of > calling LiveCode function from a JavaScript function in the browser?? This > is a HUGE problem for us as the app cannot be shipped. Libbrowser eats on desktop up to 5 MByte of memory per second. Bug

Re: Image Remove Perimeter White Space

2018-12-26 Thread hh via use-livecode
Here is a pure LC Script handler from one of my "early" images stacks. For large images this may become pretty slow... ## CROP image to opaque pixels on cropIt ft put the width of img ft into w; put the height of img ft into h put the maskdata of img ft into mData put numToByte(0) into

Re: Image Remove Perimeter White Space

2018-12-26 Thread hh via use-livecode
> Ralph wrote: > I will just have to go pixel by pixel and check > left, top, right and bottom sides for any non-zero > RGB and delete rows/columns until one of the sides > has an RGB that is not zero. Here is a comparison value for that. Using javascript from a hidden browser widget autocropping

Re: Image Remove Perimeter White Space

2018-12-26 Thread hh via use-livecode
> Ralph D.wrote > I am downloading various images from a customer with > varying unpredictable amount of white space around the > image. I want to make the visible center portion images > the same size. Assuming the white space around is symmetric, at least proportional to width and height, you

FrameTalkHTML5_v100

2018-12-26 Thread hh via use-livecode
FrameTalkHTML5 is my end-of-year gift 2018 to the community. It is a HTML5 standalone that can talk (send/ receive messages) to other instances of itself in frames of the same browser window. The instances of the standalone can come from different (local or remote) servers. The "installation"

Re: Anyone using the HTML 5 LiveCode tool?

2018-12-22 Thread hh via use-livecode
> Kee N. wrote: > Was thinking of trying it out but the details indicate that > it is not yet ready for production. HTML5 standalones are not made for mobile. As Matthias said, for desktop you will always miss important features. But there is one very important feature you can use: the

Re: Understanding Image Sizes, Before And Display

2018-12-22 Thread hh via use-livecode
> BR wrote: > Well after all these years, I want to know the original width > and height of reference image ... You could use the formattedWidth and the formattedHeight. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Map Widget with Custom Marker

2018-12-18 Thread hh via use-livecode
> Brian M. wrote: > Try this one (similar concept) > http://forums.livecode.com/viewtopic.php?p=173867#p173867 This will not work. I just tried: The map widget updates in short intervals like a movie. Even a native button disappears. So the overlaying native object should also use a fast update

BrowserSnapshot_v015

2018-12-18 Thread hh via use-livecode
BrowserSnapshot updated to v015: • Removed a bug. • Added also scrolling snapshots when the viewport is horizontally clipping. • There is also an example for how to hide overlays (menu, chat, campaign) in pages like livecode.com (test livecode.com after the page is fully loaded). **This is now

BrowserSnapshot_v001

2018-12-17 Thread hh via use-livecode
BrowserSnapshot makes an image of the *whole* HTML content of a browser widget (while waiting for printToPdf from the browser widget in 9.x). The image may get a height of several thousands pixels. ** It works currently only for (horizontally) responsive HTML pages, that is if the widget doesn't

Re: HTMLtoIMAGE_v100

2018-12-17 Thread hh via use-livecode
> Bob S. wrote: > I tried this on a copier web portal. It produced a 0 kbyte file with no > image. So the imagedata of the canvas was empty. Thus a pdf created from the DOM will also not work with such pages. It will have to rely on the print-layout of the portal: Can you print it correctly

HTMLtoIMAGE_v100

2018-12-17 Thread hh via use-livecode
HTMLtoIMAGE makes an image of the *whole* HTML content of a browser widget (while waiting for printToPdf from the browser widget in 9.x). The image may have a height of several thousands pixels. Download from "Sample Stacks" or http://livecodeshare.runrev.com/stack/919/ The stack is based on the

Re: Show invisible characters (tab, space, return) in field

2018-12-09 Thread hh via use-livecode
> Kaveh wrote: > You are right. It's getting complicated :-) So why does 200A allow > wrapping and 200B does not? Perhaps a team member can come in? And corrects this/explains this better: 0x200B is probably not in LC's word-break table (for word wrapping) because it is usually used to indicate

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread hh via use-livecode
is true) you don't need any additional word-break char, you could then simply use the middot numToCodePoint(0x00B7) instead of space. > hh wrote: > ... The zero width space is non word-breaking in LC and an opportunity of word > breaking elsewhere...

Re: Map url in Browser Widget

2018-12-08 Thread hh via use-livecode
The examples of my last post show a marker but ignore the initial zoom. The following shows the marker and also respects the zoom (1-19). (Tested on desktop only). on mouseUp put 8 into z put 45.829321 into la put -109.904418 into lo set url of widget "browser" to \

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread hh via use-livecode
> Kaveh wrote: > On the live conversion, you are adding a unicode character before > a space, say. That means two characters and therefore two character > widths. Is there a way of making spaces zero width, or the new characters > overlapping the space etc? Ideally I want the text widths of lines

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread hh via use-livecode
You could moreover add the following to the field's script. on rawkeyup k switch k case 65288 -- backspace put word 4 of the selectedChunk into cx if char cx of me is among the items of \ (numToCodePoint(0x23CE),numToCodePoint(0x21E5),numToCodePoint(0x00B7))

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread hh via use-livecode
> Kaveh wrote: > I need the user to edit as normal and with normal functionality but see the > normally > invisible characters. So seems I would need a native solution. :-( This works for me (TMHO, this demonstrates the beauty of LC). Script your field with the following. on rawkeyDown k

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread hh via use-livecode
> Kaveh wrote: > What I am looking for is a native replacement of a return, say, > with a visible characters wherever it appears. You have to replace return with if you wish to preserve the line breaks. Similarly • have you to replace space with if you wish to preserve the word breaks, • have

Re: Map url in Browser Widget

2018-12-07 Thread hh via use-livecode
> Mike wrote: > ... does anyone know what needs to be added to the code in order to place a > "marker" into the map location? ... > This is what I generate now: > https://www.google.com/maps/@45.829321,-109.904418,10z http://maps.google.com/maps?q=45.829321,-109.904418=10=h The t=h is for a

Re: Safari vs Browser Widget

2018-12-05 Thread hh via use-livecode
fails. > >> Is this a limitation of the implementation of the browser in LiveCode, > >> or is there a setting I have to set? > > > > hh wrote: > > > The getUserMedia() dialog doesn't work in the browser widget. > > You could try to do that &qu

Re: Safari vs Browser Widget

2018-12-05 Thread hh via use-livecode
the Browser Widget (or a plain >> native browser), it doesn’t ask to use the camera and it all fails. >> Is this a limitation of the implementation of the browser in LiveCode, >> or is there a setting I have to set? > > hh wrote: > The getUserMedia() dialog

Re: hhPDFViewer v0.8.0

2018-12-03 Thread hh via use-livecode
> Kaveh wrote: > Any way of selecting or copying text from the PDF file? > Any way of finding a particular text in the PDF? The problem is: The viewer template of pdfJS cannot be used if one would like to load PDFs from anywhere, not only from a server where the script resides. So I had to use

Re: Setting hidden of lines very slow

2018-12-03 Thread hh via use-livecode
Sorry, the styledText method of my last post had a logic fault (style-runs without textcolor are ignored). The following works now for me. -- styledText method on mouseUp put the millisecs into m1 lock screen; lock messages put the styledText of field "text" into tTextA repeat for each

Re: Setting hidden of lines very slow

2018-12-03 Thread hh via use-livecode
> Hakan wrote: > The code will not work if you have htmltext containing the text "color=" like: > To set the color you can use color="#fa3b42" Oh yes, was rather silly of me not to keep this in mind. There is a simple remedy: put ("color=" is in fld 1) into isInField if isInField then replace

Re: LC-apps for HC

2018-12-01 Thread hh via use-livecode
> Richard G. wrote: > ... Is there anything in MacPaint that can't be done with LC's bitmap objects? "That can't be done" wins always, because the only limit for LC is the sky (more exactly, sadly, the sky below the 65535-limit for all coordinates). But there's a lot of features that are not

Magic "Integer" Circles

2018-12-01 Thread hh via use-livecode
Some of you may be interested in the following "mathy beauty". Under all circles with integer radius 0 < r <= 1 there are four "magic" ones with radius 5, 25, 65 and 325. These four have relatively many points of *integers* (x,y) such that x^2 + y^2 = r^2. (These points are NOT rounded values

Re: Setting hidden of lines very slow

2018-12-01 Thread hh via use-livecode
> Kaveh wrote: > I can confirm that the htmltext method works beautifully and blindingly fast. So we have here two methods: The htmlText-method and the styledText-method. There is an interesting result in the speed comparison of the two methods. Here the htmlText-method is significantly faster

Re: Setting hidden of lines very slow

2018-12-01 Thread hh via use-livecode
> Kaveh wrote: > I am looking to hide any line that contains no textcolor anywhere. I already gave you one that hides *exactly* these lines (as you already wished in your first post). > Hermann wrote: > Here yet another fast method. > > on mouseUp > put the millisecs into m1 > lock

Re: Insert a "Waiting/Busy" Icon Into Browser Widget

2018-11-30 Thread hh via use-livecode
The following works tested here on desktop, should work everywhere where the browser widget works. 1. Overlay browser widget "browser" with a browser widget "loader" (that displays a loading animation). 2. Load the slow loading url into widget "browser". 3. Hide widget "loader" by

Re: Setting hidden of lines very slow

2018-11-30 Thread hh via use-livecode
If showing *only* lines with colored text means that all others are hidden then you could use: ... set hidden of line i of fld "text" to \ (the textcolor of line i of fld "text" is empty) ... Trevor's script would then read: ... put (tTextA[i]["runs"][1]["style"]["textcolor"] is empty) \

Re: Safari vs Browser Widget

2018-11-29 Thread hh via use-livecode
The getUserMedia() dialog doesn't work in the browser widget. You could try to do that "as javascript" in your HTML5 app. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Max number of columns in a datagrid?

2018-11-26 Thread hh via use-livecode
The limit of LC is not the sky but the 65535-limit for coordinates of every object. A line width can't be longer than 65535 pixels. And if you have columns with a width of 11 pixels each, then the right of column 5958 is 65538 what is "off-limits". ___

hhPDFViewer v0.8.0

2018-11-26 Thread hh via use-livecode
Sometimes one wishes to have a unique PDF display, independent of the user's current internet-plugin. Or one wishes to have a feature that these plugins don't have (for example rotation). Then pdf.js comes in. hhPDFViewer is a basic GUI to the JavaScript pdf library "pdf.js" (

Re: Browser widget and PDFs

2018-11-22 Thread hh via use-livecode
If the PDF is embedded by ordinary HTML (= set url of the browser widget or use in its htmlText , or ) then you can't decide for the user which plugin to use. But the user can force this for himself by moving the corresponding plugin(s) in/out of the plugins-folder (which is on Mac

Re: bignum math library

2018-11-19 Thread hh via use-livecode
Here's a scenario that makes your scripts nevertheless valuable. If they implement "Decimal number" for LC Builder, what I hope, because the numbers implementation in LCB is rather uncomplete. ___ use-livecode mailing list

Re: bignum math library

2018-11-18 Thread hh via use-livecode
On LC Global (Nov 2018, Monthly report) Kevin and Ali announced among others "Decimal Number Implementation", see my screenshot http://forums.livecode.com/viewtopic.php?f=76=31797 This is probably close to an arbitrary-precision Decimal type, I know the javascript version:

Re: map widget

2018-11-14 Thread hh via use-livecode
[Dictionary/map] set the region of widget "Map" to "55.9533,-3.1883, 10, 10" The region of a map widget is a tuple describing the map region currently displayed; the first two items are the centerCoordinates and the second two the span. set the centerCoordinates of widget "Map" to

Re: How to diagnose browser widget JS handlers failing silently?

2018-11-14 Thread hh via use-livecode
You can use the params to see what arrives. Most probably you didn't convert the parameters of the handler in the JavaScript to arrays or strings. LiveCode expects strings or arrays as params of javaScriptHandlers. So "combine" on the LC side and/or ".toString()" on the JS side are your

Re: How to tell if the page displayed in the Browser widget has scrolle

2018-11-09 Thread hh via use-livecode
> James H. wrote: > I added the "window.onscroll" function definition to the > same handler I use to adjust the font-size of the page > being displayed as I know that works there. Did you add it separated by ";"? For the command do js in widget "Browser" *** the string js is not allowed to

Re: How to tell if the page displayed in the Browser widget has scrolled

2018-11-08 Thread hh via use-livecode
James. You are looking for difficulties that are not present. A. Do once: A1. put into widget's or card's script (this is a javaScriptHandler): on jsNotify v put the seconds &": "& v into fld "info" -- or your action end jsNotify A2. From a button or msg (or use the property inspector):

Re: How to tell if the page displayed in the Browser widget has scrolled

2018-11-08 Thread hh via use-livecode
The following works for me. Write this code into a variable or a field: window.onscroll = function() { if (window.innerHeight + window.pageYOffset >= document.body.offsetHeight) liveCode.jsNotify('I am at the bottom'); }; (a) Then script: do in widget "browser" if you can't control the

Re: Do javascript function in browser widget?

2018-11-06 Thread hh via use-livecode
some markup and load > the HTML > text into the browser widget as a local ‘offline’ page. > >> hh wrote: >> Browser widget usage examples: >> http://forums.livecode.com/viewtopic.php?f=93=29018 >> >> Andre G. wrote: >> Then in the LC part you can do something

Re: Do javascript function in browser widget?

2018-11-06 Thread hh via use-livecode
Browser widget usage examples: http://forums.livecode.com/viewtopic.php?f=93=29018 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: How to update a css file when using the Browser widget

2018-11-04 Thread hh via use-livecode
> James H. wrote: > Context: I want to be able to change the font-size displayed > in the browser. The pages being displayed all use the same > external css. I thought that by changing the font-size > definition with the css and saving it back to disk, a reload > of the page would use the new

Re: How to update a css file when using the Browser widget

2018-11-04 Thread hh via use-livecode
To disable caching of an input css file (or js script file) this works with every browser: Either change the file name of the input file or add a counter value (or timestamp) to the filename, for example ___ use-livecode mailing list

Re: Numbering lines

2018-10-29 Thread hh via use-livecode
> JLG wrote: > > > hh wrote: > > Alex, > > you and JLG are important LiveCoders. What you say has double weight. > > From that alone you should double check what you claim to be true. > > Well, at least I have finally become "splendid" at someth

Re: Will it ever be possible place controls over browser widget?

2018-10-28 Thread hh via use-livecode
> Tom G. wrote: > ...just out of curiosityis it just on my system ? or the right click > grab of the widget doesn't work? Sorry, I wrote this while updating my TextEdit widget (which will allow to grab the widget). But the browser widget doesn't pass "mouseDown", so the mouseDown handler here

Re: Numbering lines

2018-10-28 Thread hh via use-livecode
Alex, you and JLG are important LiveCoders. What you say has double weight. >From that alone you should double check what you claim to be true. Wrong assertions are no argument against a method but speed is one, of course. Anyway, it is fine that David G. has now a fast way to do his work.

Re: Numbering lines

2018-10-28 Thread hh via use-livecode
What's interesting with that is once again a comparison LC 6 against LC 9. I tested with 1 lines of text (King James bible, Genesis up to 5|16) and *non-wrapping fields*, separator tab: LC 9.0.1 needs in average 370 ms for numbering, 330 ms for denumbering, LC 6.7.11 needs in average 170 ms

Re: Numbering lines

2018-10-28 Thread hh via use-livecode
> Alex T. wrote: > You require to keep the line ordering completely unchanged - > and Hermann's superfast method can't meet that need. > JLG wrote: > You're right, split deletes duplicates. In fact, I use it as a quick way > to do just that. You are both spendidly wrong: Could you please

Re: Numbering lines

2018-10-28 Thread hh via use-livecode
>> David G. wrote: >> Thanks Geoff, I did play with Split, but one of the reasons for numbering >> is to make any identical lines unique. With split, for any that are not, >> all but one is deleted. So definitely not the result I wanted. From that previous answer I concluded you intend to index

Re: Will it ever be possible place controls over browser widget?

2018-10-28 Thread hh via use-livecode
We already know that this is not possible by "ordinary" controls because the browser widget has a native layer. (Except we"bundle" your controls in a floating window.) But there is one way more (I use it for updating my Textedit widget). Of course you can overlay a browser widget with a browser

Re: Numbering lines

2018-10-28 Thread hh via use-livecode
see there >>> card "LineNums, tab "Nb2"). >>> >>> This needs here on a medium fast machine (Mac mini, 2.5GHz) in average >>> with LC 9.0.1 (which is at about 30% faster than LC 8.1.10 with that): >>> >>> 680 ms for 1 lines to add the l

Re: Numbering lines

2018-10-27 Thread hh via use-livecode
chine (Mac mini, 2.5GHz) in average with LC 9.0.1 (which is at about 30% faster than LC 8.1.10 with that): 680 ms for 1 lines to add the line numbers, 650 ms for 1 lines to remove the line numbers, both incl. the field update (a lot of long lines are to break). -- Add "inline line numbe

Re: Sorting search results - solution needed

2018-10-24 Thread hh via use-livecode
As Craig said, your rules are not consistent to standards: You sort *after* the first period numeric with the exception that leading zeros are "valid". That's why the replace in the following function is needed. This now yields exactly your custom sort order: function gregSort s set itemdel

Re: Widget imageWidget_v110

2018-10-21 Thread hh via use-livecode
Thanks for looking at that, Brian. Your help could make encoding spring to life in LCB. See also bug #20521 and http://lists.runrev.com/pipermail/use-livecode/2017-November/243064.html Hermann > Brian M. wrote: > Looks like work was started for adding encoding functions to LCB: >

Re: Widget imageWidget_v110

2018-10-20 Thread hh via use-livecode
> Malte P. wrote: > Hey HH! Hey Malte! > 1) This is amazingly fast! The judgement of the master of animations ... The speed too blew me away the first time it worked. Everything is done by computing and applying an affine transform for the canvas. > 2) Where do I put the money

Widget imageWidget_v110

2018-10-17 Thread hh via use-livecode
### v1.0.0 Aug 25, 2018 ... first (nearly) complete version ### v1.1.0 Oct 17, 2018 ... first version on "Sample Stacks" Widget ImageWidget will blow you away. Why? Because it demonstrates the enormous possibilities that LiveCode Builder already provides. I tried to do everything in pure LCB.

Re: Errant mouseRelease message?

2018-10-15 Thread hh via use-livecode
> Geoff C. wrote: > I fixed that, and I don't know how. Did you already try to solve that by using dragMove instead of mouseMove? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: DatePicker Widget

2018-10-15 Thread hh via use-livecode
Alex, the date picker needs for self-sizing at least "selectedDate" in its property array. So this is minimal and works: on mouseUp put "" into tP["selectedDate"] -- yields "today" popup widget "community.livecode.hermann.datepicker" \ at 100,100 with properties tP if it is not

Re: Widget baseClock_v100

2018-10-15 Thread hh via use-livecode
> Tom G. wrote: > Its interestingWhat is the problem this invention solves? is there a > use case for using such a time format? What did you use it for? This is a "must-do" for a mathematician. To use such solutions for an open problem is in general the job of engineers. I use as desktop

Widget baseClock_v100

2018-10-14 Thread hh via use-livecode
BaseClock is a new widget that displays by special "digits" the time encoded to a number base in range 2-60. Encoded is each of the time items (hours, minutes, seconds). For base 2 this is known as "Binary encoded decimals". The display is unique (I invented that) as it doesn't use characters

Re: Confirming a thing about IDs

2018-10-11 Thread hh via use-livecode
> Bob S. wrote: > I think my project has IDs in the millions now. OMG! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Community widgets

2018-10-10 Thread hh via use-livecode
> Bill P. wrote: > I love the datepicker! Relating to the datepicker widget I should once again acknowledge the basic work of Elanor (calendar widget) and Bernd (additions to the calendar widget) and hints/comments by Bernd. [The algorithms I used are translated to LCB from the LCS of Raspi

Community widgets

2018-10-10 Thread hh via use-livecode
The following community widgets are now available as "fat" widgets, that is they are installed or removed for both LC 8 and 9 and they work identically in both. All widgets are available on "Sample Stacks" or via livecodeshare (as given below). An asterisk (*) indicates a new feature (and/or a

Re: Will it ever be possible place controls over browser widget?

2018-10-04 Thread hh via use-livecode
> Bob S. wrote: > I suspect all they did was take the old browser object and wrap > it in a widget that it can respond to and send messages. The widget is more than a simple wrapper. It is more comfortable and works (with the right settings) for most use cases too on linux. TMHO, it is one of

Re: Exiting a repeat loop

2018-10-04 Thread hh via use-livecode
BR, you could try to "send in time" instead of a repeat loop. say use 32 millisecs. Then every action to stop has enough time to come in. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Will it ever be possible place controls over browser widget?

2018-10-04 Thread hh via use-livecode
See my demo here: http://forums.livecode.com/viewtopic.php?p=152773#p152773 Overlays the widget while this plays a video. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

SVGText89_v151

2018-10-01 Thread hh via use-livecode
Updated SVGText to v1.5.1 Made this also to a "fat" widget (for LC 8 and 9) and gave a new name for the Tools palette. IMPORTANT: The kind of the widget has changed to "community.livecode.hermann.svgtext". You may have to adjust some of your scripts accordingly (sorry). SVGText is a widget for

ClockAround89_v121

2018-10-01 Thread hh via use-livecode
Made the ClockAround widget also to a "fat" widget (for LC 8 and 9) and renamed it for the Tools palette. The sample stack contains buttons for installing/ uninstalling the widget to/ from LC 8 and 9. There is also a substack to display the widget using its outline as windowshape. The widget

IconGrid89_v211

2018-09-30 Thread hh via use-livecode
Updated to v2.1.1. Made this also to a "fat" widget (for LC 8 and 9) and gave a new name for the Tools palette. The functionality is of v2.1.0, please see here: http://forums.livecode.com/viewtopic.php?p=158112#p158112 Download IconGrid89_v211 from "Sample Stacks" or from

ColorPicker89_v102

2018-09-30 Thread hh via use-livecode
Updated to v102, the link is still valid ( http://livecodeshare.runrev.com/stack/901 ) Made now also to a "fat" widget (for LC 8 and 9). **I needed a unique naming system for the kind of the widget and the widget's name in the "Tools" palette. To get less confused when developing... IMPORTANT:

DatePicker89_v108

2018-09-30 Thread hh via use-livecode
Updated to v108, the link is still valid ( http://livecodeshare.runrev.com/stack/903 ) Added now the source code (and a new name for the widget in the "Tools" palette). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: DatePicker89_v107

2018-09-30 Thread hh via use-livecode
Matthias, I was just curious if anybody would ask about that. As you are the first one in three months or so: Congratulations, you may use this widgets for free in ALL your apps. The fund is the idea that the community has some money available if a developer (of the community) has serious

DatePicker89_v107

2018-09-30 Thread hh via use-livecode
Just uploaded a date picker widget to "Sample Stacks". Grab it from there or download DatePicker_v107 from http://livecodeshare.runrev.com/stack/903 This is a *sample-stack* that has also buttons to install or remove the widget. The widget is "fat" (contains LC 8 and 9 modules), loaded will by

Re: [ANN] animationEngine is free now

2018-09-28 Thread hh via use-livecode
AE is a treasure chest for scripting techniques, no wide open. Thanks, Malte. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: (browser) focus hocus pocus broke us

2018-09-24 Thread hh via use-livecode
> BR wrote: > Related use case: some web pages download a "ton" of > javascript at start up. > I can't find a way to set a "spinner/I-am-downloading" > on the screen, until we get some content appearing on > the page. For your own pages you could use pace

Re: Intersect Function

2018-09-24 Thread hh via use-livecode
> Jerry J. wrote: > I think he mentioned curved “lines”. That is a > whole other kettle of fish. The OP speaks of "functions for the lines", so either he means "math lines" or, as you say, continuous curves, say polynomials. Yes, this isn't solvable for polynomials of higher degree by formulas

Re: Intersect Function

2018-09-24 Thread hh via use-livecode
@Richmond. You (and the author) overlooked that we have, since 1.0, is within . ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: (browser) focus hocus pocus broke us

2018-09-24 Thread hh via use-livecode
> Mike K. wrote: > ... I have no idea what document.activeElement.blur() is supposed to do ... The HTMLElement.blur() method removes keyboard focus from the current element. Is Google or similar defunct with you? ___ use-livecode mailing list

Re: Intersect Function

2018-09-24 Thread hh via use-livecode
It is not this complicated. Only if you are looking for the intersection of two line *segments* you have do a few more checks. A LC object "line" is a line segment given by two pairs of points (x,y). The OP probably mean with line the math object line that is given by and passing through these

Re: (browser) focus hocus pocus broke us

2018-09-23 Thread hh via use-livecode
> Mike K. wrote: > How do we take focus away from the browser widget? Did you already try do "document.activeElement.blur()" in widget "browser" ? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: ControlHandles_v100

2018-09-19 Thread hh via use-livecode
Sorry, the correct link is http://livecodeshare.runrev.com/stack/902/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

ControlHandles_v100

2018-09-19 Thread hh via use-livecode
ControlHandles_v100 (LC Script stack) is a group of handles (polygon and graphics) that essentialy work, in browse mode, like the object handles in pointer mode. The demo stack needs LC 8 or 9 because of contained widgets. (linux users: there are also 2 browser widgets in there). The copied

Re: editGroup message?

2018-09-19 Thread hh via use-livecode
@Brian (using the complement of your approach): IIRC, if there is one object outside of the group then this doesn't exist while the group is edited. So if there is no btn "TOP" (outside of the group) then the group is in edit mode -- any group. ___

Re: Navigator 6.3 alpha 1 is out -- major awesomeness!

2018-09-18 Thread hh via use-livecode
This is great work. Thanks. Admittedly, one has always to get accustomed gradually to the new features of Navigator. This time I needed one hour alone for getting informed about these. ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Forums misbehaving

2018-09-18 Thread hh via use-livecode
I have it ALWAYS with Safari 11 (MacOS 10.12.6), it's seldom only when using Firefox. Also with Safari I need at about 10 times to "logout" before it works, again that's seldom only when using Firefox. ___ use-livecode mailing list

Widget ColorPicker_v101

2018-09-17 Thread hh via use-livecode
Just uploaded a (slightly improved) LC 9 version of my ColorPicker-widget to "Sample Stacks". Or download widget ColorPicker_v101 from http://livecodeshare.runrev.com/stack/901 This is a *demo-stack* that has also buttons to install/remove the the widget. Examples in the stack (incl. scripts to

Re: SVG to image

2018-09-17 Thread hh via use-livecode
> Brian wrote: > I'll need to take your stack/widget and see how what it generates > compares to conversions from the source svg file (for the Font > Awesome stuff). Since you are adding back information that was > stripped when converting to an icon, my guess is that the results > should be

<    1   2   3   4   5   6   7   8   9   10   >