Re: Cubist's first bug report

2016-06-05 Thread [-hh]
What's the culprit for that? I dare say: = It's not the random (as Mark S. proved with his example) = It's not a random-incompatible "add" (see example below) It is the basic problem that LC has with counting items, lines, words or other chunks. The number of is defined in a logically

Re: OT: Once more

2016-06-08 Thread [-hh]
A simple TP-Link TL-WN823N v1 DRAM, up to 300 MBit Connectivity 11,54,300 802.11B, 802.11G, 802.11n [was at about 9 Euro] See https://wikidevi.com/wiki/TP-LINK_TL-WN823N_v1 The older TL-WN725N V1 also worked V2 had an extra driver (had problems). I use it as a wifi-repeater. Mike B. wrote >> I

Re: OT: Once more

2016-06-07 Thread [-hh]
Mike Bonner wrote > Has anyone had trouble connecting to a pi that is running hostapd with a > mac? And if so, was it fixable? Yes and yes. I have it now running on a Raspi 2B (and it runs also with the on-board WIFI of Raspi 3). On Raspi 2 the fix was to try all WIFI dongles I could find in my

Re: Uninstalling Livecode

2016-06-08 Thread [-hh]
If you install "for this user": Go to user's directory /home/.runrev/components. Execute in each directory of a version you want to remove the "setup". Some older versions don't work or don't work fully with that. Then delete the directory (the rest and links to it) 'manually'. If you install

Re: Raspberry Pi GPIO

2016-06-11 Thread [-hh]
Perhaps the best "library" to Raspi-GPIO, that may also answer most of your technical questions (in the C-part). http://elinux.org/RPi_GPIO_Code_Samples Note the line in the C example that explains how to make this "Raspi 1"-code working on a Raspi 2. Especially for you the WebIOPi may be also

Re: Raspberry Pi GPIO

2016-06-09 Thread [-hh]
Using the GPIO is nothing else than writing zeros or ones to a file. Nobody needs a library for that? [Also there was a talk about that at the last LC US-conference.] The problem is to use the *correct* files or pins numbering respectively. This is hardware dependent, not a problem of using LC or

Widgets and the Dictionary

2016-05-25 Thread [-hh]
I wonder who will manage (and how) the description of 1000 widgets/externals in the dictionary? A menu with 1000 entries? And all the updates? Perhaps it would be better if each widget/external had his own help file/demo stack? Or if the dictionary will be split into LiveCodeScript and

Re: Infinite Livecode Pledge

2016-05-25 Thread [-hh]
Peter TB Brett wrote > Without counting bug reporting [1], approximately 98% of the changes to > the LiveCode engine and IDE are made by the core dev team, and most of > this work is funded by subscriptions. Almost all of those changes go > directly into the open source edition. > >

Re: Raspberry Pi GPIO

2016-06-11 Thread [-hh]
Forgot to mention, in case you are interested in WebIOPi, there is a patch: WebIOPi-0.7.1 Patch for Raspberry B+, Pi2, and Pi3 https://github.com/doublebind/raspi/ I had it running on Raspi2, but not yet on Raspi3. -- View this message in context:

Re: Raspberry Pi GPIO

2016-06-11 Thread [-hh]
Currently I ran = Lubuntu 15.10 on Raspi2, runs LC 6.5.1 and 7.0.4 without any problem = Xubuntu 16.04 on Raspi3, runs LC 6.5.1 and 7.0.4 without any problem installed from here: https://ubuntu-pi-flavour-maker.org/download/ There is also Ubuntu Server Minimal 16.04 for Raspi3 ... -- View

Re: [OT-ish] WWDC things of interest

2016-06-14 Thread [-hh]
Sadly LC is not OK with 10.12 here: Menu file > Open stack ... *crashes* LC immediately. Tested with LC 6/7/8 latest releases. [I'm running MacOS 10.12 beta (16A201w) from an external disk]. Is that system dialog working in LC with you? -- View this message in context:

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread [-hh]
Yet another option could be: [1] Shift each control down and right, so that the negative coords become non-negative and enlarge also the stack size so that the rectangle fits into the stack window (and hide img X) [2] Take your snapshot from the 'shifted' rect to img X. I use 'export snapshot

Forcing redraw of a LC window

2016-06-06 Thread [-hh]
I remember some discussions here about screen refresh and how to force the redraw of a (possibly resized) LC window. I recently found a method that works all the time for me, even for cards that are 'overloaded' in some sense. I couldn't find it mentioned until now, so I should share it. I use

Re: OT: Once more

2016-06-08 Thread [-hh]
Forgot to mention in case of using DHCP: Newer OS on Mac Desktop enforces me after each WIFI change (on a Raspi) in the local net to = delete the corresponding entries in ~/.ssh/known_hosts = sometimes even empty the file ~/.ssh/known_hosts or any connection that uses internally a line of

Re: [ANN] This Week in LiveCode 38

2016-06-20 Thread [-hh]
Jerry D. wrote: > 'Focusing' has only one 's'. Not two. This is true, of course. And just the same: 'Focussing' has two 's'. Not only one. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-This-Week-in-LiveCode-38-tp4705958p4705975.html Sent from the

Re: Get url "file:///..."

2016-06-21 Thread [-hh]
Hi all, the task of Jim is, as I understand, that he wants a correct actual browser interpretation of the file, that is, what Safari displays, some say HTMLtoTEXT to such a conversion. LC's status for 'the htmltext' is HTML of before 2005 ... The applescript is probably instable because of

Re: Get url "file:///..."

2016-06-21 Thread [-hh]
> -- Outputs to an input-file with the ending changed to format > -- "textutil -convert format Should better read -- Outputs an input-file of format1 to a file of format2 -- with the ending changed to format2: -- "textutil -convert format2 " Example HTMLtoTEXT on Mac: textutil -convert txt

hhImageJIT

2016-06-21 Thread [-hh]
If you are interested in FFI and/ or image processing then you may have a look to here http://forums.livecode.com/viewtopic.php?f=16=27518 I wrote a GUI for using the LuaJIT-FFI (here for processing images) that goes into the direction that LC will give us with its new FFI interface. There are

Re: Get url "file:///..."

2016-06-20 Thread [-hh]
Assuming you are on a Mac: The following should work from 10.4 to 10.12 with LC 5/6/7/8. on mouseUp put "/Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm" into f put "source" into sOrT --> one of "source", "text", "URL" do iScript(f, sOrT) as applescript put the

Re: Windows 10 script editor problem

2016-06-17 Thread [-hh]
Disappearing property inspector and script editor windows happen often here in latest desktop versions of LC 6/7 on all three, Mac/Win/Linux. I had then always a lot of windows open or too many (closed) stacks in memory. That's why I cannot fix a situation for a bug report. == The hidden property

Re: Windows 10 script editor problem

2016-06-17 Thread [-hh]
> Disappearing property inspector and script editor > windows happen often here in latest desktop versions > of LC 6/7 on all three, Mac/Win/Linux. Should read "LC 6/7/8". -- View this message in context:

Re: Getting textShift To Shift Down?

2016-01-15 Thread [-hh]
Tested now and it works here: LC 's textshift does exactly what it *can* do (with the primitive typesetting system of HTML which it uses): [1] It takes the baseline, moves the chunk relative to that up or down, leaving the surrounding text on that baseline. [2] After that it gives the whole

Re: Getting textShift To Shift Down?

2016-01-14 Thread [-hh]
Right out from my head, can not test at the moment. The hard way: The direct input of the htmltext should always work (as long as your on one line with the chunk). wordOne put me down wordThree" -- down wordOne put me down wordThree" -- up If I remember right "sup" instead of "sub" (what

Re: Move to the points.

2016-06-26 Thread [-hh]
You could also have a look to the forum: moving multiple objects (SOLVED) http://forums.livecode.com/viewtopic.php?p=137583#p137583 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-to-the-points-tp4706104p4706110.html Sent from the Revolution - User mailing

Re: LC 6.7.8 won't load

2016-02-06 Thread [-hh]
This is a bug, reported for LC 6-8 (not by me). I have it frequently, about 50% of all startups are crashes on Mac 10.11 Especially when I have several versions running. If LC is asking too often for license data it helps mostly here to simply cancel. The error message is for "Ignoring" the

Re: LC 6.7.8 won't load

2016-02-06 Thread [-hh]
This is a great advantage of the forum (at least for me): One can edit a post and correct typos and wrong wording. You have please simply to overlook such things here ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: html5 & liveCode

2016-02-10 Thread [-hh]
John D. wrote: > Is there a list somewhere about what is working and what is not > with html 5 ? Hello John, perhaps it's too early to maintain such a listing. I already asked for insights into a "To-Do-List" in order to add "enhancement requests" (#16252). We could/should do that by ourselves

Re: lock and unlock files from script? - Mac options

2016-02-10 Thread [-hh]
alog about the "execution error" of the original script [1] above and he found the culprit: If you give an alias that starts with a colon (or a POSIX path that starts with a slash) then the Applescript Script Editor puts "startup disk" in front of this and it's OK). We

Re: When is a GIF Finished Playing?

2016-02-10 Thread [-hh]
Scott R. wrote: > If you want the GIF to stop playing when it reaches the last frame, why > wouldn't you set the repeatCount to 1? > > If your GIF can play multiple times through (repeatCount = -1), then I > believe the only way you can track its frames is to poll it, with a > frequency that

Re: When is a GIF Finished Playing?

2016-02-10 Thread [-hh]
Scott R. wrote: > -HH makes a good point that I forgot about: if you control the playback > yourself, setting the GIF's currentFrame every so many millisecs, you'll > always know which frame you're on in the GIF. This will work for most > GIFs, but can mess up playback of GIFs that

Re: snapshot and animation capture

2016-02-06 Thread [-hh]
Sorry, forgot the link to the shaped-screenShot stack, here it is http://forums.livecode.com/viewtopic.php?p=137640#p137640 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: IDE stack names

2016-02-06 Thread [-hh]
@Peter B. The "Live Code UI elements..." check button is in Preferences/General line 3. @Matt M. Here an info community-stack (works on Mac/Win/Linux/Raspi) "summary6.livecode" http://forums.livecode.com/viewtopic.php?p=105550#p105550 that shows: RevLoadedStacks, mainStacks, openstacks and

Re: snapshot and animation capture

2016-02-06 Thread [-hh]
[Fits best into that thread, better than creating a new one] Here another community stack, mainly prepared for Raspi, but works (much faster, of course) also on Mac/Win/Linux. The stack is a resizable transparent window-masked stack. = Choose shapes to be created on-the-fly from menu: ...

Re: Question About Resolution Independence

2016-02-07 Thread [-hh]
Out of curiosity, if that's not a typo: > my stack has a size of 1025*768 Is it the same if you use 1024*768 (exactly 4:3)? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: HTML5 "Features" Library Substacks and "send ### in time"

2016-02-07 Thread [-hh]
Ciao, [1] Firefox does NOT work any more since version 44.0 with LC's HTML5-standalones. Sadly, because Firefox was up to 5 times faster with the standalones (with loading AND playing) than other browsers. ALL standalones are affected, no matter the dp version. This is reported at

Re: Accessing handler in LC resource stack

2016-02-07 Thread [-hh]
James H. wrote: > Hi, I am using the GLX framework with LC7 and have hit a snag. > Its application builder calls a handler in an LC resource stack > "revStandaloneSettings.rev" which no longer exists. Looking at > the LC package I think it has been replaced by >

Re: LC 6.7.8 won't load

2016-02-07 Thread [-hh]
> Peter H. wrote: > ... Surprised it hasn't been fixed yet since 6.7.8 is dead in the water for > me. Sadly it's all the same on MacOS**, from LC 6.7 to LC 8.0, also with newest rc- or dp-releases. I don't report repeatedly, because probably MacOS/SIPS is (more) the culprit. __ ** Mac

Re: How to launch a stack from a file.

2016-02-07 Thread [-hh]
Mike D. wrote: > I am trying to build a simple launcher app and I am stumped as to how to > load a stack from a file. I have no problem loading it from my dropbox, > but not from a local file. > > put > /Users/mike/Library/Preferences/CueSheets/ridewithgps_cuesheets.livecode > into localpath

Re: LC 6.7.8 won't load

2016-02-07 Thread [-hh]
. Rick H. wrote: > I have told my Mac to never sleep because of weirdness > like that over many years. I use the screen saver instead, > or shut it down if I’m not going to use it for a few hours. Rick > > On Feb 7, 2016, at 2:28 PM, [-hh] wrote: > > Related to that > &g

Re: LC 6.7.8 won't load

2016-02-07 Thread [-hh]
> Sounds like you may be experiencing something different. 6.7.8 is the only > version that won't run for me. I've tried a half dozen time with the same > result. Is there some sort of system logfile I can look at and include > with a QCC report? > On Sun, Feb 7, 2016 at 3:54

Re: LC 6.7.8 won't load

2016-02-07 Thread [-hh]
Related to that (seems to be a well-known "random"-occurrence problem) #16112 8.0.0-dp6 Crash at startup #14264 7.0.1-GM1 Crash on startup Also, for me: The probability increases if it is the first startup of LC after a machine sleep. ___ use-livecode

Re: Black icons in LC 8 DP 14

2016-02-08 Thread [-hh]
black, lightgray, darkgray, white, red , yellow, blue and "102,255,204" :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: lock and unlock files from script? - Mac options

2016-02-09 Thread [-hh]
>From terminal/LC's shell() use: lock with . $ chflags uchg unlock with ... $ chflags nouchg What is interesting in this connection: I got also a "compile error" from LC's "do as applescript" using a script that works from Applescript's Script Editor. MacOS 10.11.3

Re: lock and unlock files from script? - Mac options

2016-02-09 Thread [-hh]
Hi all, these flowers are not for me. Here's my secret: Simon Sheppard’s website ss64.com Extremly fast and *very* competent. === Hermann ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: lock and unlock files from script? - Mac options

2016-02-09 Thread [-hh]
Phil D. wrote: > I looked at the web site below and it makes sense now. Guess I'm not > used to such flowery language. Phil > > On 2/9/16 4:59 PM, Phil Davis wrote: > > I can smell them from here... smells fishy. Or maybe rotten, if > > Hermann is in Denmark. > > ;

Re: Set textfont color in IDE? LC8DP14

2016-02-11 Thread [-hh]
I'm used to set the 'global' text color of a field by the Property Inspector by setting the textColor (synonym foreColor) and set the color of chunks of text by script or menu. I've never been able to set the color of text (or parts of text) in Project Browser or Application Browser. Please

Re: Set textfont color in IDE? LC8DP14

2016-02-11 Thread [-hh]
Hi Klaus, wrong number? Report 16843 is not about "textColor/ForeColor" but abut setting the textfont. Hermann ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Set textfont color in IDE? LC8DP14

2016-02-11 Thread [-hh]
William P. wrote: > But, why not call it what it is? Since this is an app for "everybody" why not > just call it textcolor? That’s what it actually is. If we can use syntax > like: “put 3 into x” instead of “x=3”, why not try to carry through the > entire system with the same philosophy and

Re: snapshot and animation capture

2016-01-29 Thread [-hh]
Hi, I've made a stack for the Raspi collection, that does the following: Creates a *resizable* rectangle frame (window shape of a non-opaque rectangle), currently set as systemWindow. You can drag that around the screen and trigger a small button on the frame. Then a screenshot of the visible

Re: Explicit Variables

2016-01-29 Thread [-hh]
What about the following? on mouseUp do "local tvar=1.2" put 2*tvar end mouseUp Should NOT work. But this should work (as do recompiles?): on mouseUp do "local tvar=1.2" do "put 2*tvar" end mouseUp ___ use-livecode mailing list

Re: launch document problem

2016-01-28 Thread [-hh]
This may be related to the fact we know from HTML5-standalones. (Newest) Goggle Chrome and Opera want a (local) web server for more than 'simple' html documents, Safari and Firefox launch everything from local files. Anyway, comparing to the behaviour when launching from alocal web server could

Re: Can Handler Know What Params It Should Have

2016-02-02 Thread [-hh]
Bernard wrote: > I know the params can be called to find out what parameters were > passed to the handler when it is called. However, I'm wondering > if a handler has a way of knowing what parameters it had at the > time it was defined. I don't think so. Regards Bernard Yes, that's my opinion

Re: snapshot and animation capture

2016-01-29 Thread [-hh]
wish to have a local coords shot of 'border.png', else you'll get a *global* coords shot (from the tools window or whatever). Thanks again for your "throwing a spanner in the works" (I like your unusual phrasing and wording), indeed you did exactly the opposite. hh _

Re: Richmond gets into drag

2016-02-01 Thread [-hh]
Richmond, 1. Can you "click through" the transparency to desktop on Linux? I couldn't manage that (what works on Mac/Win). 2. Be aware of a nasty resize problem with Linux + LC6. When you are done you could compare with a solution that's fast enough for Raspi (runs also, faster, on newer MacOS

Re: AW: How to create a hyperlink within a text field?

2016-02-03 Thread [-hh]
Hi, Bernd and I had once a long thread in the forum about selecting text where we found *the selectedLoc* to be very useful. Means here: [1] When writing the chapters mark their offset in your text in a separate list, one line per mark [or as metadata of each link]. [2] Then walk once through

Re: snapshot and animation capture

2016-01-29 Thread [-hh]
Richmond wrote: > At the risk of throwing a spanner in the works I want to refer you to this: > http://lists.runrev.com/pipermail/use-livecode/2014-January/196782.html > "Hi all, Some weeks ago, > I reported that windowShape was not working in my Lubuntu Linux setup. > After looking around and

Re: [ANN] Release 8.0.0 DP 15

2016-02-22 Thread [-hh]
> Peter B. wrote: > Dear list members, We are pleased to announce the release of > LiveCode 8.0.0 DP 15 ... and 45 bug fixes! What a british understatement for a preview, that's more a release candidate (we are still in dot-dot state). Especially the HTML5 part. I'm testing since three hours: =

Re: Players in HTML5 - ETA for Full Functionality?

2016-02-26 Thread [-hh]
> Dirk wrote: > I still hope that a niche can be created for the less demanding hobby > group. Not all of us want to feel like freeloaders. > jacque wrote: > It isn't that there is no path forward, but rather that he thinks the > current licensing model is costing the company some sales. I don't

Re: Math question

2016-02-26 Thread [-hh]
to width 40 This would scale the **INPUT** (=the x-axis), what is possible to achieve, but you then have to script your own "showValue" field. The current approaches of Kay and me scale the **OUTPUT** (= y-axis), usually quite different. @Kay C. Do you agree with t

Re: Open Process, Interactive Shell on OS X

2016-02-28 Thread [-hh]
Each 'shell' opens it's own "terminal" session. You have to do your own housekeeping (stdin, stdout). Why don't you use (secure) sockets? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Min function

2016-02-28 Thread [-hh]
Nice comparison. In 8.0.0-dp15 I have here with the large example 2.13 - 4.45 - 2.90. **So case 1 wins. Clearly.** Interesting. And good to know. p.s. min and max work also on arrays containing only numbers. Has at about the speed of case 3. hh

Re: Possible enhancement

2016-02-28 Thread [-hh]
n you could exit from a > loop by specifying its name. > > Dr. Ha. wrote: > Yes; this is how modern Fortran does it. Worth an enhancement request? Of course, both variants would be valuable. I wonder which "workaround" you use until now for that in LC? hh __

Re: Players in HTML5 - ETA for Full Functionality?

2016-02-28 Thread [-hh]
> BR wrote: > This could work for me also. I think that we are talking about > Javascript interactions ... It's all said, but not yet by all ... ;-) "Es ist schon alles gesagt, nur noch nicht von allen." (Karl Valentin) ___ use-livecode mailing list

Look positive at HTML5 now

2016-02-25 Thread -hh
Here a constructive post to HTML5. CLUSTER-6: ** Six HTML5 standalones running smoothly together in one window. ** hh.on-rev.com/html5/ (the cyan button "CLUSTER" is at bottom). I don't hesitate at all to criticize if appropriate, but much the same I don't hesitate to praise: Have fun and try

Re: Open source, closed source, and the value of code

2016-02-29 Thread [-hh]
>>> Monte G. wrote: >>> One of the issues of course is that there really might only be a handful >>> of users that can't afford Indy and can't or won't use Community. >> Sent from my iPhone >> Roger G. wrote: >> Do you include those who might want to publish to the Mac App Store and >> IOS in

Re: Open source, closed source, and the value of code

2016-02-29 Thread [-hh]
My email wasn't displayed, perhaps because a suspected iPhone? No, No - I didn't sent this from anybody's iPhone ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Math question

2016-02-26 Thread [-hh]
>> Peter Bo. wrote >> How would one modify this to return tOffset as a smaller change when tData >> is near zero, and the opposite when tData is near the maximum? > Kay C. Lan wrote: > I think what you need is use x to the power of. ie x*x, x*x*x, or x*x*x*x Yes K.C., that's my proposal too.

Re: Players in HTML5 - ETA for Full Functionality?

2016-02-26 Thread [-hh]
eper'. Except LC would allow to attach js handlers alike the browser objects do. Hope that was not too theoretical, the HTML5 people in general have their own special wording what builds (intentionally?) a barrier to simple HTML3 users like me and, as you wrote, also you ... hh _

Re: LiveCode for the Hobbyists

2016-02-26 Thread [-hh]
Really good points, Roland. Let me add explicitly this one. Build on the next generation, who will become decision maker in a few years. And, if they *know* the software, may also become possible buyers of LC-related products: Give teachers and their students in class FREE copies. Give

Re: LiveCode for the Hobbyists

2016-02-26 Thread [-hh]
> Matt M. wrote: > But, if you're a hobbyist, and not charging for what you distribute, > why would you need to close the source? Because, not always but sometimes, you would like to share the code with some people only, not with all. And at the same time you are willing to share your product

Re: Math question

2016-02-26 Thread [-hh]
Peter, now I got it ... You could use finer steps for the whole scrollbar. The use, say between -2 and 2 these finer steps, may be steps of size 0.1, and if the value is greater smaller than -2 or greater than 2 use a value rounded to the next integer or fraction of an integer. Example:

Re: LiveCode for the Hobbyists

2016-02-26 Thread [-hh]
> Monte wrote: > > On 27 Feb 2016, at 9:28 AM, [-hh] wrote: > > Build on the next generation, who will become decision maker in a few > > years. And, if they *know* the software, may also become possible > > buyers of LC-related products: > > Give teachers and th

Re: Math question

2016-02-26 Thread [-hh]
Peter, now I got it ... You could use finer steps for the whole scrollbar. The use, say between -2 and 2 these finer steps, may be steps of size 0.1, and if the value is greater smaller than -2 or greater than 2 use a value rounded to the next integer or fraction of an integer. Example:

Re: LiveCode for the Hobbyists

2016-02-26 Thread [-hh]
> Monte wrote: > Apples/oranges you are comparing proprietary extensions with something created > just for the fun of it with no intent to commercialise. Cheers Monte > Sent from my iPhone > > hh wrote: > > Why are you hiding your externals code? Could it be that a sim

Re: Math question

2016-02-26 Thread [-hh]
> hh wrote: > function f n,x > return x*abs(x^(n-1)) > end f Sorry that's wrong. Should read function f n,x return x*abs(x)^(n-1) end f ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Image Scaling Problem

2016-01-19 Thread [-hh]
Let me add my 1.414214 cents to this. Connected to "scaled and original size of images" (whether imported as control or by setting the filename): The *old* property inspector shows in the size & location tab the "fit content" buttons which allow to restore the original width and/or height even

Re: changing the size of the image that's combined with text

2016-02-16 Thread [-hh]
> I've been doing some php coding recently and it allows the us > of single or double quotes as string delimiters so you can use > single quotes around a string that includes double quotes. Would > be nice to have that in LC. Yes, this is so comfortable! I miss it in LC since years. Please make

Re: Free BasicClock desktop clock for OSX

2016-02-16 Thread [-hh]
Howard, two hints to your clock: = If user hasn't installed (or disabled) the few fonts you make available then it always has the same 'system font'. = The colour chooser may be fully hidden by the clock window and then 'blocks' the app. ___

Re: Free BasicClock desktop clock for OSX

2016-02-16 Thread [-hh]
Howard B. wrote: > Did you not have any of these fonts installed at the time? > Had you explicitly removed them? What version of OSX are > you running? I have > 800 fonts on my Mac (and use newest OSX developer preview). Of course I enable only a small subset, what I currently need. Your's are

Re: Mac window fullscreen widget

2016-02-16 Thread [-hh]
Monte G. wrote: > We need ways to programmatically enter and leave fullscreen > mode along with ways to enable and disable the availability > of the mode. > Anyone have any hints where I look for those things. This is what I use on MacOSX. The windowLevel should *always* be set lower than the

Re: local and do - what NOT to do

2016-02-18 Thread [-hh]
Kay C. L. wrote: > Moving right along, for those Slack Moders, if you run the same statements: > > repeat with x=1 to 20 > do "local tVar_" & x > do "put x*x into tVar_" & x > end repeat > put tVar_5 into msg --not hidden in > > For reasons I do NOT understand, you get a runtime error: >

Re: local and do - what NOT to do

2016-02-18 Thread [-hh]
> Peter B. wrote: > > The Dictionary entry for 'local' has this Example: > > > > -- To make a numbered list of variables: > > repeat with x=1 to 20 > > do "local tVar_" & x & "; put empty into tVar_" & x > > end repeat > > > > Which 'apparently' runs fine if you copy and paste it into the msg

Re: local and do - what NOT to do

2016-02-18 Thread [-hh]
Mark Wadd. wrote: > > [-hh] wrote: > > local a1=1, a2=false > > -- local a[1]=1, a[2]=false #<-- currently not allowed > > > > For such default-constructs variable names and using "do" > > are really helpful. > > Although you can do

leap to future

2016-02-18 Thread -hh
Kevin M. wrote: > see in detail https://livecode.com/leap-to-future/ Yes, LC is great, worth its pricing, even if one is not using any of Monte's iOS externals: The other core-developers will have more time for their valuable work by that personal expanding. But sadly your explanations to the

Re: Programmatically determine the average greyscale

2016-02-18 Thread [-hh]
, weighted means are again options. This is not at all trivial. The designers here will have extremely diverging examples for different 'averaging'. Perhaps it is much easier (and much faster) to simply set the ink of the button to give a high contrast? hh

Re: Programmatically determine the average greyscale

2016-02-18 Thread [-hh]
R: Here's a formula for a weighted mean close to that some professional apps use when converting an image to grayLevel. This is derived from "perception" values (note: .6 is close to goldenRatio) of the human eye: ## g = (1*r + 6*g + 3*b) div 10 for each r,g,b-pixel used for full

Re: Programmatically determine the average greyscale

2016-02-19 Thread [-hh]
BR and jacques, it's kind of a 'LC-mania' of me to put a fully working solution, if available, near the end of a thread. Here's one I made for converting to grayLevel colours and adapted to your case. Tell us your solution also, please. The following is pretty fast, I wrote it after learning

Re: Programmatically determine the average greyscale

2016-02-19 Thread [-hh]
gion. You could do for that: set randomseed to (char -8 to -1 of the millisecs) put 19+random(120) into pX ; put 19+random(175) into pY == hh p.s. Sorry for giving this advice, but "randomness" was my job's field and is still my passion.

Re: Programmatically determine the average greyscale

2016-02-20 Thread [-hh]
> BR wrote: > HH You are right of course. one pixel was an expediency and certainly > does not cover all cases. In fact it is a rather weak algorithm ... > ... Musings: > A random algorithm also does not help us out either. BR, [1] I didn't say a single random pixel is the way

Re: Finding UTC

2016-02-20 Thread [-hh]
You could think about showing the internet date (=full information). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Programmatically determine the average greyscale

2016-02-20 Thread [-hh]
BR uses or wants to use button labels. Where then do you apply this effect? To a button label? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: How do I enable scrolling of a group ?

2016-02-20 Thread [-hh]
This is essentially the same technique that Scott R. suggested. New is the MOVE-TO-SCROLL-FACTOR, in case you prefer that. ** The scroll respects here the group's relative to card's size. ** ** Thus scrolling becomes "parallel" to the mouseMove distances. ** For example if you move your

Re: Programmatically determine the average greyscale

2016-02-20 Thread [-hh]
> > hh wrote: > > BR uses or wants to use button labels. > > Where then do you apply this effect? To a button label? > > jacque wrote: > Shadows work on button names/labels the same as they do for fields > if the button is transparent. The shadow affects

Re: How do I enable scrolling of a group ?

2016-02-21 Thread [-hh]
Alex, sorry, I know from your posts which I read long before writing to this list that you don't need help for the scrolling per se. I just wanted to add my MOVE-TO-SCROLL-FACTOR as a whole. inside of a working script. I don't like to scroll with 5 long moves until the targeted loc is reached and

Re: Finding UTC

2016-02-21 Thread [-hh]
the internet date" respects **daylight saving offsets** of the dates. You can see that with a HTML5 standalone http://hh-onrev.com/html5/countUpOrDown-8.0.0-dp-9X.html that counts up to the LC meeting. Click at the bottom field to change the date from August to March and you(?) will see the UTC offset ch

Re: Finding UTC

2016-02-21 Thread [-hh]
Sorry, typo in link, should read http://hh.on-rev.com/html5/countUpOrDown-8.0.0-dp-9X.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Not able to use the clipboard with HTML5 deployment

2016-02-21 Thread [-hh]
is downloadable. [Use Chrome, Opera or Safari. Firefox: yes < v44, NO v44, yes > v44 (coming soon)] hh ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscripti

Re: Finding UTC

2016-02-21 Thread [-hh]
> Peter H. wrote: > I don;t have the link to hand but there's a Youtube video that's been > posted on this list before about what a nightmare it is to handle all > the scenarios involving what date and time it is in different parts of > the world and keeping up to date with changes. Pete > Kay

Re: Not able to use the clipboard with HTML5 deployment

2016-02-21 Thread [-hh]
> Terry J. wrote: > OK, thanks hh. It’s probably a little too clunky for my purpose > (I don’t think I can expect users to manually replace placeholder > characters with returns) but nice to know that there is a > workaround of sorts. If the webpage that receives the text (page)

Re: Problems creating a field in LC8 DP16

2016-03-18 Thread -hh
William, meanwhile I tested this in depth and must say that you are right with that: The formattedWidth and formattedHeight don't show the exact boundaries, as you wish. But from my knowledge of TeX I know, that this isn't obtainable for fonts that don't have an extremely optimized metric. This

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