Re: Lock moves is not working when objects are moved to the points of an other graphic

2016-11-08 Thread hh
Tore. Did you notice the difference in Craig's post? We can't use 'from point A to the points of' but either 'from point A to point B' or 'to the points of'. Hermann ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Lock moves is not working when objects are moved to the points of an other graphic

2016-11-08 Thread hh
'Lock moves' or 'set lockmoves to true' works here as it should with LC 8.1.1 and 9.0.0-dp1 on MacOS 10.12.1. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: export snapshot

2016-11-06 Thread hh
Tested to work here in LC 9.0.0-dp1 on MacOS 10.12.1 Win 7/10 Linux (Mint173) on mouseUp put specialfolderPath(home)&"/test.png" into sph export snapshot from img "test" to file sph as PNG end mouseUp So you could test whether you have write permission in the folder where you wish to

Re: Recoding: search and replace

2016-11-06 Thread hh
I'm so tired, but there is an exit from my typos: function numToCode n return numToCodePoint(n) end numToCode ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Recoding: search and replace

2016-11-06 Thread hh
> Richmond M. wrote: > *put (numToCodePoint(107) & numToCodePoint(104)) into \ > fld "fDECODE"* where /(numToCodePoint(107) & numToCodePoint(104))/ vary? You could try put "107,104" & "104,107" & ... into myNums repeat for each line L in myNums put numTocode(item 1 of L) & numToCode(item 2

Re: curioser and curioser

2016-11-06 Thread hh
> Richmond M. wrote: > .. put numToCodePoint(107) into fld "TRANZ" which worked > perfectly OK in 4.5 does NOT work in 8.1 HOWEVER; if I > rename fld "TRANZ" to "fTRANZ" this works: > put numToCodePoint(107) into fld "fTRANZ" Such effects usually indicate that there was more than one field named

Re: Scripting style: Verbs in function names

2016-11-03 Thread hh
> Monte wrote: > Peter has asked me to "Please name this function with a verb" Perhaps he simply meant: set property "name" of this function to "a verb"? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Adding Effects to widgets

2016-11-02 Thread hh
> > BR wrote: > > Drop Shadow Not Available on SVG widget > Jeanne D. wrote: > Can you put it in a group and set a drop shadow for the group? This is a real smart trick: Grouping (one or more) widgets. Not only for "adding" bitmap-effects to the widget, also for astounding visual effects by

Re: short name broken?

2016-11-01 Thread hh
If documents/stacks titled "Untitled" is OK, why not objects (short) named "Unnamed"? ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: [ANN] calendar widget updated

2016-10-31 Thread hh
Mike, you have a good and clear concept (and LC will have probably soon one too?). What I can't see in this discussion is the "mass of widgets". This sounds as if there were already close to 1000(!) in the folks. What I can find is below 40, not such a mass. I started a community thread, nobody

Re: [ANN] calendar widget updated

2016-10-31 Thread hh
I know Bernd better than he is aware of ;-) The one and only reason of this 'unlucky' naming was the desire, to retain Elanor's authorship, acknowledging her fundamental work not only with that widget. Monte's proposal is much better, but it could read metadata version is

Re: Drop Shadow Not Available on SVG widget

2016-10-31 Thread hh
DropShadow can be made available in LCB, just extend the widget with your code for that and rebuild it. Or: Use the SVGText-widget, which has (fixed) dropshadow. For that do in the Property Inspector of the SVGText-widget [1] check "useShadow" in section "Colors", [2] copy the iconPath of the

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-25 Thread hh
send in -the seconds seconds ? Job has to be done in 1970 ... When I was a young man with curly hair. Monte, please build a time machine. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-25 Thread hh
... [3] Or try to use send doIt to stack worker in 0 millisecs this is 16 times faster than 0 ticks ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-25 Thread hh
[1] There is also Jacque's recent(?) info: send may also be called with a negative argument in order to overtake the current queue: send doIt to stack worker in -1 millisecs [2] Or try to use "call" that has one big advantage: "call" preserves the target, not "send", not "dispatch" see

Re: conversion of field margins from older version to 8

2016-10-25 Thread hh
The text measurement of LC 8 was a lot improved for using 'modern' fonts. The _only_ disadvantage to see is the 'topmargin-bug' depending also on the font used (has it 'good' font metrics?). With my standard field-settings (LC's default) I use in preopenCard or preopenStack or ... preopenControl

Re: Clipboard problem

2016-10-25 Thread hh
The problem may come from the Unicode paragraph separator (0x2029). You could use Stephen's stack for inspecting the clipboard, see thread "Special paste". Possibly also MacOS 10.9.6 and later have a better clipboard-'conversion' support ... > Michael J.L. wrote: > I’ve just installed LiveCode

Re: Special Paste

2016-10-25 Thread hh
@Stephen. This is really a great stack. TMHO, it should become a 'standard' plugin for LC 8/9 (the 'old' clipboardData-version for LC 6/7). In the meantime, please upload it to "Sample Stacks" (livecodeshare)? > Stephen B. wrote: > I've updated my clipboard data exploring stack to include RAW

Re: Special Paste

2016-10-24 Thread hh
@Bob. After your answer I read Charles' question again. Probably he asks for the other way: how to match the styled text of the 'paste-target' *in LC*? @Charles. If this is correct, then you could try to insert the clipboardData["text"] or use menu Edit > Paste Unformatted. This has no style and

Community widgets

2016-10-21 Thread hh
Made my first 'stable' versions of community widgets: #42: widget SVGText v1.0.0 #43: widget ClockAround v1.0.1 #44: widget BezierClock v1.0.1 #46: widget DigitClock v1.0.1 #47: widget hhPolygon v1.0.0 See 'Community widgets' (in the LC Builder-subforum):

Re: Widgets, Types, and the Periodic Table

2016-10-19 Thread hh
@Dave I wrote a (long) snippet as answer to your question in the LC-Builder forum. If you prefer to stay here or don't like that then tell me and I'll delete that post. Hope this is approximately what you asked for. @ Craig Sounds impressive. Could you please show as a photograph of that "jewel"?

Re: Widgets, Types, and the Periodic Table

2016-10-19 Thread hh
Hi Dave. Me and probably others are willing to help you, but me not here. Because = I wish to have the chance to edit the code, = I wish to have the the chance to attach files or pictures. There is a LC Builder subforum http://forums.livecode.com/viewforum.php?f=93 that has, by the way, already

Re: [ANN] calendar widget

2016-10-18 Thread hh
[Transmission error:] I recompiled the library using 8.1.1rc2. Then I had success with the widget on Win 7/10 using 8.1.1 and 9.0.0. On Linux(Mint 173) and MacOS 10.12 it worked without recompiling, on both using LC 8.1.1 and 9.0.0. *** This seems to be a problem whenever the widget format

Re: Pasting to Powerpoint

2016-10-13 Thread hh
Very good and interesting stack. Hopefully you do think about extending that to the rawClipboardData? On Mac there is a ClipboardViewer (https://developer.apple.com/library/content/samplecode/ClipboardViewer/) that shows even more entries in the clipboard than the rawClipboardData reports, after

Re: Pasting to Powerpoint

2016-10-13 Thread hh
Sadly this may depend more on user's OS than on the LC version or your compiling OS. I had a similar issue with pasting to Mail on Mac OS > 10.10. This disappeared when I used the rawClipboardData[key] (exactly to such "plainText"-encodings there is an example for different platforms). >

Re: OT: Type on Background - Contrast Ratios

2016-10-07 Thread hh
Typo, sorry: In the usage example read put the foreColor of fld "Text" into fC instead of put the backColor of fld "Text" into fC ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: OT: Type on Background - Contrast Ratios

2016-10-07 Thread hh
Below are two functions on base of the ones mentioned in the W3C's Accessibility Recommendations. They work fine here for me. To test these, I made a stack for the Raspi collection in the forum. This stack contains also a _simple_ algorithm for _trying_ to get a textColor on base of the current

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread hh
Peter M.B. wrote: > But isn’t there something more fundamentally wrong with this measure, > with the criteria outlined by Sannyasin: >> * Small text should have a contrast ratio of at least 4.5:1 against > its background. A ratio of 7:1 is preferred. >> * Large text (at 14 pt bold/18 pt

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread hh
> Jacqueline L.G. wrote: > Does this work well enough?: > > function luminanceRatio c1,c2 -- pass two RGB triplets >put calcLuminance(c1) into tL1 >put calcLuminance(c2) into tL2 >return max(tL1,tL2) / min(tL1,tL2) > end luminanceRatio > > function calcLuminance pRGB >--

Re: 9.0???

2016-10-02 Thread hh
Mike K. wrote: > Perhaps you should have a look at what's coming in 9 before you laugh at it. > The last three major versions brought major changes. 9 is kinda important. Hi Mike, as far as I can see nobody really laughed at the possible contents of 9. The matter of 'jokes' was the speed of

Re: Error in mouseUp in SVG widgets

2016-10-02 Thread hh
Tore N. wrote: > I think I have come across an error in the SVG icon widget. If the mouse > is released outside of the widget, the mouseUp handler is trigged even if > the user has moved the pointer outside of the rect of the widget. > The mouseLeave handler is correctly triggered before the

Re: 9.0???

2016-10-01 Thread hh
Richmond M. wrote: > Why do I get a funny feeling that those numbers (6,7,8,9 ...) > get closer and closer together. The relative growth of the version numbers is strictly decreasing, for example from 5 to 6 there was an increase of 20%, from 8 to 9 there will be an increase of 12.5% only. So, in

Re: Setting text in the prop inspector - bug

2016-09-28 Thread hh
Devin A. wrote: > It’s been there a few days but is still unconfirmed. AFAIK Panos has a holiday break. > I have seen this in LC 8 and above. I can confirm it for LC 8 but I couldn't find LC 9 for download on any page ;-) ___ use-livecode mailing list

Re: Fast Algorithm to Determine Average Brightness of an Image

2016-09-21 Thread hh
@BR I adjusted your function a litte bit (and it works now here). There is a new parameter for testing the upper/lower half of the image (this param = empty tests the full image). The mouseUp is my suggestion for a first testing. On base of these two values you could develop a decision rule for a

Re: Fast Algorithm to Determine Average Brightness of an Image

2016-09-20 Thread hh
There is still one option that uses a weighted grayLevel-mean (I use these weights in imageJIT). This would reflect more than simple averaging that one wants a dark/light decision. return (0.1*byteToNum(byte 2 of iData) \ + 0.6*byteToNum(byte 3 of iData) \ + 0.3*byteToNum(byte 4 of

Re: Fast Algorithm to Determine Average Brightness of an Image

2016-09-20 Thread hh
> So is there a fast, efficient way to analyze a 1200 X 800 px > image to get this average brightness value. You could try the following function. It is "dirty" (the definition of 'brightness' is also unsharp!), but it is very fast. local ii="tmp-1.414214" -- uses the average color intensity of

Re: "lightening" a color

2016-09-10 Thread hh
Yet another option could be to set the ink of the object to "blendLighten". ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: clickChunk discrepancy

2016-09-10 Thread hh
> Richmond M. wrote: > 'Twould be nice . . . if: > clickChunk always yielded a 'word', and clickLine always yielded a line. This works for here in a field's script (also listField). function clickWord return word clickWordNum() of me end clickWord function clickWordNum if the clickChar is

Re: Resolving an imageSource object reference

2016-09-06 Thread hh
> Jeanne DeV. wrote: > I need to take an imageSource (short ID or short name) and > figure out a full object reference to the image in question. If I understand your question correctly: The HTMLtext of the field holds the source info that is used to set the imageSource. For example or . or .

Re: OS an HTML5 application in running in?

2016-09-05 Thread hh
> Peter Bogd. wrote: > > I’m planning an HTML5 application that will use audio files ... AFAIK audio is not (yet) implemented in the HTML5 standalone builder. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote: > I wasn't sure it would work on the others (not tested) but > cool that it does. I've been wondering how things are shoved > together in the builder... If there just happens to be a > match in someones properties, fields, labels.. whatever.. > Is there a chance that the wrong

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
Correction (forgot "+" after "]"): > Mike B. wrote (summarised): > put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring > get matchtext url ("binfile:" & \ >"path/to/standalone.exe",tstring,tMatch) > put tMatch My first example "6.7.11" was pure fun because your 'old' script finds of course the

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote (summarized): > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch My first example "6.7.11" was pure fun because your 'old' script finds of course the substring "6.7.1". But know we are even

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote: > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch This is admirable insight. But why don't you like 6.7.11? ;-) ___ use-livecode mailing list

Re: Logic Flow Chart App

2016-08-29 Thread hh
Of course the eight cases are A and B and C A and B and not C A and not B and C not A and B and C A and not B and not C not A and B and not C not A and not B and C not A and not B and not C You know: There are three kinds of mathematicians: A first kind is able to count, the second one is not

Re: Logic Flow Chart App

2016-08-29 Thread hh
One may look at that as a logic flow chart, the most compact view I know. For example: for booleans A,B,C you have the pairwise disjoint cases (ready for a switch) A and B and C A and B and not C A and not B and C not A and B and C A and not B and not C A and not B and not C not A and B and not

Re: Logic Flow Chart App

2016-08-29 Thread hh
> Bob S. wrote: > Anyone know of a good logic flow chart editor? I am having difficulty > whenever building complex control structures. When I have 3 or 4 > conditions that can be true or false, affecting whether or not I even > check for conditions further down the line, I get lost pretty

Re: Back to the Garden of Eden

2016-08-23 Thread hh
> Richmond M. wrote > Back to the Garden of Eden The big problem may be that you already bit into (the) apple. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
Thank you all very much for the detailed and patient information. Yes, there was a big misunderstanding about RTL/LTR by me, because language-script directions can be deliberately mixed ('bidirectional', as I read in an LC 7 introductory blog). >From that I concluded erroneously a wrong in-memory

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
Ali, probably it's about time that you give at RTL-lesson/blog/tutorial? Would be very appreciated. > Ali wrote: > the number of items in 'ab' is not an invariant of its read order, > unless you reverse the characters in the delimiter too. > When the item delimiter is 'aa', the items of 'baaa'

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
> Monte wrote: > Hmm... I've got to say I'm a little on the ignorant > side of things with regard to RTL text in LiveCode but > my understanding is it's only a field thing and any > chunk references are always LTR. Happy to be educated > though! Sorry Monte, I thought (erroneously?) that

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
> > Hermann wrote: > > Why is the number of items or having the property "item" > > of a string dependent on the writing/reading direction > > of the string? > Monte wrote: > Hmm… I’ll answer your question with a question: Which item is item 1? The string "a," has currently .. [RTL] ..

Re: Backwards compatibility or sanity? help

2016-08-20 Thread hh
Why is the number of items or having the property "item" of a string dependent of the writing/reading direction of the string? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: list field question

2016-08-15 Thread hh
> jbv wrote: > but I was wondering if there was a property or something similar... > For instance, this would be very handy : > disable line 2 of fld "listField" Not exactly what you want, but a similar property works for me: set hidden of line 2 of fld "listField" to true

Re: A Silly Question

2016-08-15 Thread [-hh]
> Roger G. wrote: > What do you monitor to determine if the user > clicked one or the other of these [little] arrows? The 'Little Arrows' control works for me via scrollbarLineDec and scrollbarLineInc -- View this message in context:

Re: put one array after another

2016-08-10 Thread [-hh]
> Matt Maier wrote: > Is there a command to merge two array variables into one? This works for me: union array1 with array2 [recursively] -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/put-one-array-after-another-tp4707393p4707398.html Sent from the

Re: Polygon Smoothing

2016-07-31 Thread [-hh]
Smoothing-(Bezier-)Algorithms. the usability depends on what you want to do: [1] Smooth draw or [2] approximate a few polygon lines by a smooth curve. HTML5 version (check "smoothing"). http://hh.on-rev.com/html5/krikelKrakel2a-8.0.0-dp-15X.html Runs much faster in the IDE, see how to download

Re: typo

2016-07-30 Thread [-hh]
ou hire a the right new LiveCode developers onto your team" Regrds, Hermnn Klaus major-k wrote > Hi Hermann, > >> Am 30.07.2016 um 17:00 schrieb [-hh] > hh@.on-rev > : >> >> [1] As to the sentence you cite: >> Why should have "your team" no &

Re: typo

2016-07-30 Thread [-hh]
[1] As to the sentence you cite: Why should have "your team" no "a"? Or: What means "your tem?" [2] The sentence you cite is not there. https://livecode.com/services/ Matt Maier wrote > It's off topic, but in the spirit of wanting Livecode to be as good as it > can be, this sentence shouldn't

Re: styles for lines in a list

2016-07-30 Thread [-hh]
What you wish for chunks of a field may be partially intended to develop with the 'text-field-extension' of the last pledging. The possible 'bug': Did you check the threeD setting (true) of the field, that is *conditional* for the field's bottomColor to be affected? It's similar with the

Re: Move to the points

2016-07-27 Thread [-hh]
This kind of a points list is a typical application for "repeat with .. step", we had it here recently ... on mouseUp repeat with j=0.1 to 12.5 step 0.1 put cr & (sin(j)*cos(j)*300 + 400, cos(j)*300 + 400) after pts end repeat set points of grc "g1" to char 2 to -1 of pts end mouseUp

Re: Slip, sliding away

2016-07-25 Thread [-hh]
Script your grouped image with the following. local iAmDragged=false on mouseDown set lockloc of me to true put the loc of me into iL put item 1 of iL into i1 put item 2 of iL into i2 lock cursor; set cursor to hand put true into iAmDragged dragMeInGrp i1,i2,the mouseH-i1,the

Re: Find & Replace

2016-07-23 Thread [-hh]
Richmond: > but as I have a vast number of controls to work through > that is still going to be extremely tedious One click? on mouseUp repeat ... stacks ... repeat ... cards of stack repeat ... parts of card replaceMyThings(the script of part ...) end repeat end

Re: Find & Replace

2016-07-23 Thread [-hh]
Nabble interprets somehow the chars "q u o t". So replace the rubbish around "fProc". -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706940.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Find & Replace

2016-07-23 Thread [-hh]
A simple (quick and dirty) non-regex solution (use LC 7 or LC 8) on mouseUp put replaceMyThings(fld 1) into fld 2 end mouseUp function replaceMyThings LL set itemdelimiter to "set the unicodeText of fld "& \ quote&"fPROC"&" to numToCodePoint(" repeat for each line L in LL

Re: Dictionary: repeat

2016-07-23 Thread [-hh]
; repeat until x > 20 > --do something > add 1 to x > end repeat > on mouseUp > > R. > > On 23.07.2016 18:02, [-hh] wrote: >> Richmond wrote >>> "not recommended". If someone can explain in >>> a way that

Re: Dictionary: repeat

2016-07-23 Thread [-hh]
Richmond wrote > "not recommended". If someone can explain in > a way that makes reasonable sense ... Predict the result of the following loop and remove or not the "shiftkey-exit": on mouseUp repeat with x = 1 to 20 -- add -1 to x -- not recommended add -4/3 to x -- not recommended

Re: UN-FullScreen a Stack?

2016-07-23 Thread [-hh]
Paul_Hibbert wrote > ... setting the liveResizing of the stack to false does exit fullscreen > mode, > although the stack grows in height by 22px! The most useful bug of the year! Works in LC 6/7/8 and also this way: set liveresizing of this stack to the liveresizing of this stack Sadly

Re: [ANN] Updates to LiveCode's platform support policy

2016-07-22 Thread [-hh]
Being a naive user I created a new stack with LC 8.0.1 and scripted it: on resizestack set rect of widget "browser" to the rect of this card end resizestack Then dragged the browser widget to the stack, pasted http://livecode.com/updated-platform-support-policy/ into the URL-field and

Re: Sharing Stacks

2016-07-16 Thread [-hh]
ately the menu bar > is OK, so it's easy to Quit and restart. > > 4. Worrying. > > The "status" display says "431 stacks online" - but selecting "All / > All" says "showing 10 of 362 results". > > Where are the other 71 ? > > &

Re: Sharing Stacks

2016-07-16 Thread [-hh]
The revonline stacks *ARE* on github. Last change revonlinelibrary.rev: a year ago Last change revonline.rev: 3 months ago I wonder why Richard speaks of work-"load" of the core team by revOnline? Who did it last did it *very* good, runs stable. The database handling is a well working script.

Re: New(ish) option on the filter command

2016-07-15 Thread [-hh]
Usually one would do put cr & resultOfFilter2 after resultOfFilter1 So the problem could be: What should "filter .. after tVar" exactly do? Simply concatenate? Or use the current linedelimiter as "connector"? Alex Tweedly wrote > OK, so it's not that new - it was added in 6.1 :-) > > filter

Re: Using the files() function

2016-07-15 Thread [-hh]
It's connected to that. You could add your enhancement request there? http://quality.livecode.com/show_bug.cgi?id=18010 Alex Tweedly wrote > I've always just used the 'english' version, i.e. > > put the files into tVar > > rather than the function version, > >put files() into tVar >

Re: Sharing Stacks

2016-07-15 Thread [-hh]
w a method to upload (zipped) widgets to revOnline. *** p.s. How about a *control* that is a 'scripted zip container'? As part of 'PowerTools'? mwieder wrote > [-hh] hh@... writes: > >> zipContainer is a "utility"-stack (I uploaded yesterday) that >> sets a zip as prope

Re: Sharing Stacks

2016-07-15 Thread [-hh]
to extract the zip. mwieder wrote > [-hh] hh@... writes: > >> That's not true, you can upload zips. Simply use the zipContainer there: >> Drag your zip to the stack (=zipContainer) and upload the stack > > I don't understand this. > The three options are Stack, Co

Re: Sharing Stacks

2016-07-14 Thread [-hh]
AndyP wrote > I still often browse through the stacks and scripts on RevOnline and have > found them in many cases very useful. I have added a fair number of items > myself (and have a few more to add) but do get frustrated at not being > able to add zips which I believe would be the first item to

Re: Pass multiple strings as params via "command"

2016-07-14 Thread [-hh]
I don't have errors with LC 6/7/8 from a script (not msg). >From msg box I have also no errors when using LC 6 and 7. But from msg box with LC 8. This is probably a bug in LC 8, that msg box command tries to *evaluate* the second param. You can see this if you use for example

Re: Sharing Stacks

2016-07-14 Thread [-hh]
Give revOnline another chance. *** Kill all prefs *** and (re-)set the revOnline prefs tabs to your needs. I have always very fast displays and downloads here. Auto-login works, editing, download and upload. Meanwhile tested on LC 6/7/8 and virtual and 'real' OS: Mac

Re: Sharing Stacks

2016-07-14 Thread [-hh]
> Searching revOnline is awkward at best. I have a hard enough > time trying to find stacks that I have uploaded, and that's starting > from the point that I know they exist. I wonder about that. If I type "Wieder" and click "GO" I have immediately a list or grid of 10 stacks, sorted by date

Re: Sharing Stacks

2016-07-14 Thread [-hh]
Richard G. wrote: > Among the many venues our community uses for sharing stack files are > Dropbox, Github, the forum DB, and web sites. > But all the while we have a stack-sharing resource built into the IDE, > RevOnline. Also http://livecodeshare.runrev.com/(what a name!) (links to

Re: Windows Equivalents for Shell: cp (copy)

2016-07-12 Thread [-hh]
The interesting question about that is now: What is in memory after [1] save? [2] save as? [3] save copy as (not yet implemented)? If I'm correct then it is ALWAYS the same, NOTHING is changed in memory. Only with [2] the file on disk is changed to which the object in memory links (and which is

Re: Windows Equivalents for Shell: cp (copy)

2016-07-12 Thread [-hh]
Jacqueline LG wrote: > The problem with "save as" is that you end up working in the backup > copy instead of the original. Roger E. wrote > How about modifying the save option to automatically copy and rename > as a versioned file. Yes, one can simply decide which one to use as backup. I use it

Re: Windows Equivalents for Shell: cp (copy)

2016-07-12 Thread [-hh]
Or simply (works on each supported platform): save stack as -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-Equivalents-for-Shell-cp-copy-tp4706590p4706598.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Parsing a PDF file

2016-07-11 Thread [-hh]
Sorry, an essential line is missing: replace "" with f0 in fScript Here the full (correct) button-script: local PDFfolder="/Users/admin/Downloads/precincts" on mouseUp set defaultfolder to PDFfolder put the files into ff filter ff with "*.pdf" put field "AS" into aScript

Re: Parsing a PDF file

2016-07-11 Thread [-hh]
> Roger E. wrote: > > Since this seems to be Mac only, why not "do as Applescript" then select > > all, and Copy? Kay C. L. wrote > Because Preview isn't properly scriptable and you can't "Select All" > or "Copy". As Richard said, the answer is with Automator. Automator is a GUI to "bundled"

Re: LC 8 on Windows

2016-07-09 Thread [-hh]
Usually I use more MacOS and Linux, but recently I tested a lot with LC 8 on both Win7 and Win10 for a contribution to "Sample Stacks". I had problems only with "windowshape" but these disappeared after enforcing a redraw just before unlocking the screen. Tried now again the actions you

Re: Getting Library Stacks into Memory

2016-07-09 Thread [-hh]
RG wrote: > One might even say it becomes the "parent script" of the control. > If only we had a word to describe that unique role clearly... ;) Why not simply "the boss script"? This would also save JLG's "b"-prefix. -- View this message in context:

Re: Parsing a PDF file

2016-07-08 Thread [-hh]
[Description for MacOS, works on Win/Linux similar.] The best results for extracting tables from PDF I had with the free "RAW" method: = Open the file with Preview. = Select All (menu Edit). Copy. = Go to a LC stack with a field "INCOMING" = Use by a button or the message box the line put

Re: [ANN] Release 8.1.0 DP 2

2016-07-06 Thread [-hh]
Mark Wieder wrote: > The dictionary "works" for me in 64-bit linux, but only thusly: > > open the dictionary > you get a blank pane > close the dictionary > open it again Mark, honestly, for what else than opening and closing do *you* need the dictionary? :-) -- View this message in context:

Re: Applying scripts that don't compile

2016-07-02 Thread [-hh]
> Under what circumstances would someone > prefer to set a script that can't be executed? The 'not-compiling' could be a severe bug. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Applying-scripts-that-don-t-compile-tp4706289p4706321.html Sent from the

Re: Mac app compiled on Windows does not want to start

2016-07-01 Thread [-hh]
If it's a newer MacOS (system integrity protection) he/she could try to rightClick the icon and then select "open" and choose again "open" in the "unknown-dev-dialog". -- View this message in context:

Re: Having major Livecode problems

2016-07-01 Thread [-hh]
Did you check for differences of the LC-prefs files? They are in /Users/pink/Library/Preferences/RunRev and probably not 'synced'. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247p4706249.html Sent from the Revolution -

Re: Vertical progress bar

2016-06-28 Thread [-hh]
There is also progress display available along slightly more complicated objects than rotated lines, for example as HTML5 standalones (also as Raspi-stacks #65-#68): = Along a free polygon http://hh.on-rev.com/html5/progressPoly2-8.0.0-dp-15X.html = Along a regular polygon (choose 2 at top right

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

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

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

<    5   6   7   8   9   10   11   12   13   >