Re: strange behaviour of standalone builder

2018-02-12 Thread hh via use-livecode
Hi Klaus, the move to "engine" is documented, see specialfolder/engine. This is the only "logic" way to do that because your "CLI" files are executables. That is Mac is correct in docu and building the standalone. The bug is now either the docu for Win/linux or the not-moving on Win/linux. >

LC-Magick #10

2018-02-11 Thread hh via use-livecode
Added today LC-Magick #10: Color Tonality Curve Variant 1: Pure LC Script, use it best with LC 6 (slow with LC 8/9). Variant 2: Uses JS in a (hidden) browser widget for use with LC 8/9. Variant 1 runs on Mac/ Win 7+10/ linux 32bit with LC 6/7/8/9 and Raspi 6/7. Variant 2 runs on Mac/ Win 7+10/

LC-Magick #11

2018-02-13 Thread hh via use-livecode
Added today #11: ReflectImage ReflectImage mirrors (a part of) an image and blends the transparency of the mirrored part. This shows, compared to lengthy techniques in "full" image apps, how easy it is to have such effects with LiveCode. You can set the position of the mirror (top or bottom)

LC-Magick #12

2018-02-16 Thread hh via use-livecode
Added today #12: Before-After-Image Before-After-Image shows horizontally or vertically an "original" image (image "before") and a part of it visually replaced by the changed image (image "after"). You select the proportions of the parts by sliders. The stack is "pure" LC Script and runs with

Re: Features and shortcomings of html5

2018-02-20 Thread hh via use-livecode
> JLG wrote: > The examples I've seen are mostly basic, usually just a one-card stack with > image > or graphic manipulations. What examples if not mine (and the few I link to) did you see? Would be very glad to know some more. > The stack I will be working with will require many cards,

Re: Features and shortcomings of html5

2018-02-20 Thread hh via use-livecode
Forgot to say: There are a LOT of improvements in the HTML5 standalone builder from LC 8.0.2 to 9.0.0-dp10. It is especially Ian who does a good job in that field. But it is also a lot of work to recompile older standalones and to remove work arounds that are no longer needed. Probably

Re: Features and shortcomings of html5

2018-02-20 Thread hh via use-livecode
The laoding delay is very much dependent on how you configure your server. If the server is optimized I have here with Safari < 9 secs for the first load and < 3 secs for a reload, using the server of the first link below. The standalones mentioned are here [EU]

Re: Features and shortcomings of html5

2018-02-20 Thread hh via use-livecode
So, here is one thing you have to keep in mind: The same-origin-policy for networking. http://hyperhh.de/html5/testFetch-9.0.0-dp-7X.html works with loading images but this one fails: http://hyperhh.org/html5/testFetch-9.0.0-dp-7X.html There is no other difference but using .org instead of

Re: LiveCode Widget Factory

2018-02-21 Thread hh via use-livecode
> Todd F. wrote: > I have been in touch with a few people to get their ideas and needs, > but I wanted to reach out and check with the community. > At first, wehave decided to focus these for round one: > Basic Native UI elements, Native Maps Please start with *cross-platform-native*

Re: LiveCode Widget Factory

2018-02-22 Thread hh via use-livecode
> Todd F. wrote: > Yes, Ali has provided a good multiplatform example of a button. We are > taking this example and creating a structure/template for all basic UI > widgets. This is our goal, but the #1 goal right now is mobile and getting > them in a widget store for people to purchase and use.

Re: widget properties

2018-02-24 Thread hh via use-livecode
> Richard G. wrote: > When we query the properties of any object, we get an array that lets us > understand and even reproduce that object easily. > > Except with widgets. > > When we query the properties of a widget we get only the subset of > properties common to all widgets, but none of the

Re: widget properties

2018-02-24 Thread hh via use-livecode
> Richard G. wrote: > I'm suggesting the engine have an enhancement to add the widget-specific info > to the universally-supported "the properties" info. It would be possible to simply add all the info that the property inspector can display. But that can also easily be scripted by the user of

Re: widget properties

2018-02-24 Thread hh via use-livecode
> Richard G. wrote: > What's missing is support for the universal method by which we can > obtain property info, "the properties" function. In order to work with a widget you have to know what the single properties do. I can't see what should be the purpose of such a "full list". > Given that

hhMockup

2018-02-25 Thread hh via use-livecode
["hhMockup" is an enhanced version of the stack I used to produce the demos for my LCGlobal talk "Perspective and affine transformations of images" in Nov 2017.] The stack contains a *very fast* version of the perspective image-transformation given in Raspberry Pi stacks collection #85 (pure LC

Re: widget properties

2018-02-25 Thread hh via use-livecode
> Brian M. wrote: > My 0.02 is that export should mirror what the engine saves to the stack > file such that import could exactly recreate an object (with some logic on > how to handle ID collisions - overwrite, throw error, assign new ID...) If you are developing and testing a widget this would

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: 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: 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-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: filter list_of_files with REGEX xyz?

2018-08-17 Thread hh via use-livecode
This is already case-insensitive, but the period needs an escape: filter tList with regex pattern "\.*(jpe?g|png|gif)$" ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

LC-ImageToolbox_v175

2018-08-24 Thread hh via use-livecode
Added a new feature to LC-ImageToolBox: Quantile filtering. An x-Quantile is a generalized parameter of location of distributions with a percentage x. For example x=0 yields the minimum, x=50 the median, x=100 the maximum of the sample values. You can select the percentage x and a 'population

LC-ImageToolbox_v180

2018-08-25 Thread hh via use-livecode
LC-ImageToolbox_v180 Version 1.8.0 adds a new feature to LC-ImageToolBox: Kuwahara filtering. The filter replaces each pixel with the mean value of the one of four overlapping subsquares that has minimal values variance. For more info see

LC-ImageToolbox_v185

2018-08-26 Thread hh via use-livecode
LC-ImageToolbox_v185 adds Color-Dithering which does a 1-Bit-Dithering for each of the R-G-B-channels (1-Bit-Methods: Atkinson, Burkes, Floyd-Steinberg, Javis-Judice-Ninke, Sierra-twoRow, Stucki). For more info see http://forums.livecode.com/viewtopic.php?p=170620#p170620 > Alejandro T. wrote:

ImageStatistics_v100

2018-08-28 Thread hh via use-livecode
ImageStatistics_v100 is a very fast computation of the color-values distribution of an image for each of the R/G/B-channels and the 'mean channel' (= grayscaled image). You get the raw data and select for the display the number of bins (one of 2, 4, 8, 16, 32, 64, 128, 256) for the values range

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread hh via use-livecode
You could try: on mouseUp put the selectedChunk into sc put word 2 of sc into strt put word 4 of sc into stp put fld word 7 of sc into txt put selectedWords(strt,stp,txt) into fld "out" end mouseUp function selectedWords strt,stp,txt put the num of words in char 1 to strt of txt into

ImageHandles_v105

2018-09-01 Thread hh via use-livecode
Just uploaded hhImageHandles to "Sample Stacks". This is a group of handles that is attachable to any image. All you have to do (after copying the group to your stack): send "setTarget " to group "hhPoly" Base position of the 9 handles (use a monospaced font): ### ##

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread hh via use-livecode
How did you do the JavaScript (in browser?) and how did you do the timing? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Sample Stacks

2018-09-06 Thread hh via use-livecode
Was "ANN: LC Documentation Cache Cleaner" Jacques LG wrote: > We can upload zip files to Sample Stacks? ... No. But you can, of course, use a stack container for zips. I once uploaded a simple version: http://livecodeshare.runrev.com/stack/805/ZipContainer "Sample Stacks" had an update before

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread hh via use-livecode
Curry, sorry I overlooked the post with your download link > http://curryk.com/showdown.zip This is a *fine* comparison stack. You could think about adding for LC 8/9 a browser widget and in handler "work done", instead of copying to the clipboard, set htmltext of widget "browser" to the cJS

Re: What do we know about LC 10?

2018-08-29 Thread hh via use-livecode
> Tom G. wrote: > What do we know about whats coming in LC 10? > I'm assuming big improvements to widgets and LC builder. Still waiting for big improvements to widgets and LC builder for LC 9 ... Increasing the version number alone doesn't improve the net content (= gross content - fixes of

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread hh via use-livecode
For a more general context see http://www.runrev.com/pipermail/use-livecode//2004-February/032280.html Sadly LC 9 is at about 10 times slower than LC 6 with such fast scripts. For example LC 6.7.11 needs at about 500 ms to evaluate a 1 MByte string, LC 9.0.0 needs at about 5 seconds.

Re: Sender of send in time

2018-07-13 Thread hh via use-livecode
> Bob S. wrote: > Something in my scripts is sending a selectionChanged message in > time to a specific datagrid when it shouldn't. How do I determine > the sender of a send in time message? Simply use a a parameter: send "selectionChanged " to in where identifies the sender.

Re: OT - What linux do you recommend for older PCs?

2018-01-23 Thread hh via use-livecode
> R.M. wrote: > That [these issues] only is of value IFF you care about what the > Linux version of LiveCode is missing. > AND more people should be badgering LiveCode to get their Linux > version up to par. The people using LiveCode with Linux I know (also seen from all the responses here) have

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-11 Thread hh via use-livecode
As to speed comparisons with LC 9: Compared to LC 8, LC Builder of LC 9 has an increase of 50-120% in speed. (Seen with timings when creating an LCD-scroller widget and an image widget). ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: LC 9 and Icon Families

2018-03-15 Thread hh via use-livecode
@Brian Please add your tool also to "Sample Stacks". This was reworked in the last year and works really fine here. And it is *very* fast for searching and downloading a stack. Such wonderful stacks go (somehow) lost in the list or the forum. ___

Re: Release 9.0.0 RC-1

2018-03-14 Thread hh via use-livecode
Special thanks for the detailed documentation of changes in the release notes and also the compact listing here. > Panos/LCTeam wrote: > > 1. New libraries added: > > - Amazon Web Services (AWS) Library > - Android Audio Recorder Library > - Android Background Audio Library > - Command-line

Re: Still looking into HTML5 app

2018-03-14 Thread hh via use-livecode
There is a new feature "new window/another canvas" that may help with the 'splash' problem (library stacks). Regarding audio/video: LC player is not supported. But everything is possible what's possible in the supported browsers, because you have the "do as javaScript" feature. Sadly you need

Re: LC 9 and Icon Families

2018-03-14 Thread hh via use-livecode
Thanks. Please put this on "Sample Stacks" (there are more visitors there). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Stupid Question Again - Proportional Scaling

2018-03-18 Thread hh via use-livecode
Never tried to script that. It's *eventually* simple -- as always with LC. Here again a little bit optimised, changing the size also by the scrollWheel: -- 1. Don't use a resizestack handler -- 2. Set resizable of the stack to FALSE local l0, t0, ff on mouseDown put the long id of the target

Re: Stupid Question Again - Proportional Scaling

2018-03-18 Thread hh via use-livecode
@Peter You could try the following (doesn't need a shiftkey down). Put the following into the stack's script and drag anywhere the image to resize it and the stack proportionally (topLeft fixed). -- 1. Don't use any resize stack handler -- 2. set resizable of the stack to FALSE local l0, t0, ew,

Re: Stupid Question Again - Proportional Scaling

2018-03-18 Thread hh via use-livecode
[Sorry lost above half of my answer.] You could try the following with user's interaction: For proportional resizing a stack window hold the shiftkey down when resizing. And in card's script add on resizestack w,h set rect of img 1 to (0,0,w,h) end resizestack

Re: Stupid Question Again - Proportional Scaling

2018-03-18 Thread hh via use-livecode
For proportional resizing a stack window hold the shiftkey down when resizing. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Hyphenator

2018-03-05 Thread hh via use-livecode
Just uploaded a LiveCode Hyphenator. The stack uses Hyphenator.js (by M. Nater, MIT licensed) in a browser widget with your input. It runs using LC 8/9 on Mac/ Win 7+10/ Ubuntu. You get as plain text 1. The hyphenated text (using the selected language patterns) displayed in a browser widget, the

Re: Rotating PNG images

2018-03-05 Thread hh via use-livecode
> Richmond M. wrote: > Not much. > Luckily I am building images where the part that needs > rotating is monochrome so that can > be rendered as an SVG and imported into a widget. > This is, however, quite beside the point . . . > The inability of LiveCode to do something that nearly > every other

Re: Rotating PNG images

2018-03-05 Thread hh via use-livecode
> Richmond M. wrote: > There's no "instead", I set the angle on PNG images and they deteriorate. Did you already try hhMockUp (from "sample stacks")? I just tried with the LCC 1024x1024 logo. Simply use the images menu there to import and then select it from that menu. Works fine: skewing,

Trace_to_SVG

2018-03-05 Thread hh via use-livecode
Just uploaded "Trace_to_SVG" (MIT license from Potrace). The stack uses Potrace (by P. Seliger, the "lite" JavaScript version) in a browser widget with your input. It runs using LC 8/9 on Mac/ Win 7+10/ Ubuntu. I changed the JavaScript a little bit to use better the power of the "LC-GUI". You

Re: send "keyUp" / "rawKeyUp" ?

2018-02-28 Thread hh via use-livecode
If I understand correctly what you have in mind then you could try the following. Clicking the button will place one copy of numToCodepoint(M) into both fld 1 and fld 2. Type into the fields as usual, especially you can delete. Typing outside the fields ("blind") will put one copy of space into

Re: send "keyUp" / "rawKeyUp" ?

2018-02-28 Thread hh via use-livecode
Read again. Got it now. What you effectively want is the (current) foreign keyMapping. This is done by the OS, not gettable by LiveCode AFAIK. Apple even doesn't has a file to check, Linux and Win have. Look what they do: https://wiki.archlinux.org/index.php/Keyboard_configuration_in_console

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

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

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

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

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: 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 for the help

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
>> 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: 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
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
> 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. I am not Geoff (who played with the simple array methods I

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 something. > > I can't decide whether you are being

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: 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: 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: 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: 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: Numbering lines

2018-10-27 Thread hh via use-livecode
1. Besides removing scroll-update, which takes most of the time, you could try the following array-methods (which are essentially from my stack http://forums.livecode.com/viewtopic.php?p=101301#p101301 , see there card "LineNums, tab "Nb2"). This needs here on a medium fast machine (Mac mini,

Re: Do javascript function in browser widget?

2018-11-06 Thread hh via use-livecode
Most examples of that link assume that you have control of the pages. And most use the js of the browser widget as "helper" only, the widget doesn't display anything (is hidden). Now you wrote that you don't have control. So your "first experiments" method is one way to go, then you have full

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

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

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

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

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

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:

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

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

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread hh via use-livecode
> Alex T. wrote: > > put 0 into tOffset > repeat for each trueWord W in tSource >add 1 to tOffset >if W = myWord then > put tOffset & comma after tOffsetList >end if > end repeat This is (whether trueWord or word chunks used) probably the fastest method for an offset counting

SVGHandles89_v100

2018-09-02 Thread hh via use-livecode
Just uploaded SVGHandles to "Sample Stacks". This is a group of handles that is attachable to a SVG display. All you have to do (after copying the group to your stack): send "setTarget " to group "hhSVGPoly" The field's name will usually end with ".svg" and contain any valid SVG source. The

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

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

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

<    1   2   3   4   5   6   7   8   9   >