Re: HTML 5 Engine Download Again (and again and again?)

2016-11-29 Thread hh
May be the on-rev-server was a bit stressed from all these links (incl. new LC-versions for download). Here on a Mac mini with Safari 10 and a 50 MBit connection I have at most 12 seconds for a first load from both servers ( hh.on-rev.com/html5/ OR hyperhh.org/html5/ ) and 3 seconds for a reload o

Widget request (native text scroller for iOS)

2016-11-29 Thread John Allijn
Hello, Most of the time when I work on an iOS app, I run into problems with scrollers, fields that scroll their contents over the screen. Usually I have just one scrollable field on a card with variable text in it. Most often this text is downloaded from a database and I just put the plain tex

LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread James Hale
Just want to confirm that all the LC 9 releases contain the bug fixes and improvements that are in the current LC 8.x rc series. Peter or Ali or anyone? James ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscri

Re: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread panagiotis merakos
Hi James, Yes, this is true. If you do not see a particular fix in LC 9 but you do see it in 8.1.x, this means that something went wrong when we merged LC 8.1.x branch into LC 9 branch. So if this is the case, please file a bug report so as we fix it asap. Best regards, Panos -- On Tue, Nov 29,

AW: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Tiemo Hollmann TB
And additionally I would like to know, what caused a new first number? Why not 8.2? What is the relevant change to make a new major version? Concerning compatibility? Thanks Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Jam

Re: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread panagiotis merakos
Hi Tiemo, Please see this blogpost that explains the change in the version numbering: https://livecode.com/whats-new-in-livecode-9-dp-1/ Best regards, Panos -- On Tue, Nov 29, 2016 at 1:15 PM, Tiemo Hollmann TB wrote: > And additionally I would like to know, what caused a new first number? Wh

Re: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Peter TB Brett
On 29/11/2016 13:15, Tiemo Hollmann TB wrote: And additionally I would like to know, what caused a new first number? Why not 8.2? What is the relevant change to make a new major version? Concerning compatibility? Hi Tiemo, From LiveCode 9 onwards, we will use a simplified numbering scheme:

AW: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Tiemo Hollmann TB
Thanks Peter & Panos -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Peter TB Brett Gesendet: Dienstag, 29. November 2016 14:21 An: How to use LiveCode Betreff: Re: LC 9 has all the improvements of the LC 8.1 series, yes? On 29/

Retrieving Browser Widget DOM

2016-11-29 Thread Alejandro Tejada
Hi All, Does exists some command or function to retrieve the Browser Widget DOM? I could see the webpage source with this code: put the htmltext of widget "Browser" but How could I see the rendered DOM? Thanks in advance! Al ___ use-livecode mailing

AW: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Tiemo Hollmann TB
Reading the release notes of LC 9 there is a major difference between 8 and 9. That is the platform backward compatibility. I know, that Windows XP is out of date and not any more patched by MS, but I still have quite a number of customers, running offline computers with XP. Good to read the releas

Retrieve the date from an external source.

2016-11-29 Thread Tore Nilsen
I need to retrieve the date from an external source, in order to bypass any changes to the date settings on the users computer. This is to ensure that a user cannot start an event until the proper date. (A digital advent calendar) I was foolishly thinking that the internet date was what I was lo

Re: Retrieve the date from an external source.

2016-11-29 Thread Matthias Rebbe
Hi tore, i am using Livecode Server for such tasks. To get the correct date in an LC app i use put URL “http://yourserver.com/whatsthetime.lc” into tCurrentDate where yourserver.com is of course my server and whatsthetime.lc contains the following put the short system time or put the syst

Re: Retrieve the date from an external source.

2016-11-29 Thread Tore Nilsen
Thank you for your quick response. And this is where my lack of experience with working with lc-scripts and servers shines through. Although I have an account with LiveCode, I do not know how to access lc-server via this account. When I try this I only get the command in return, not the date. R

Re: Serving Videos with LC/iRev

2016-11-29 Thread Richard Gaskin
Stephen Barncard wrote: > On Mon, Nov 28, 2016 at 2:45 PM, Richard Gaskin wrote: > >> In most of my server systems I even keep stack files outside of >> the web root, served up with my CGI. This keeps them safely away >> from spiders, and allows me to ensure authentication before access. > > tha

Re: Retrieve the date from an external source.

2016-11-29 Thread Matthias Rebbe
The script should be as follows You need to declare the beginning of the script with > Am 12.01.2017 um 16:26 schrieb Tore Nilsen : > > Thank you for your quick response. And this is where my lack of experience > with working with lc-scripts and servers shines through. Although I have an >

Re: Retrieve the date from an external source.

2016-11-29 Thread Tore Nilsen
Brilliant! Now I have what I need to push on! Thank you. Tore > 29. nov. 2016 kl. 16.50 skrev Matthias Rebbe : > > The script should be as follows > > put the system date > ?> > > You need to declare the beginning of the script with > and the end of the script with ?> > > >> Am 12.01.20

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread Richard Gaskin
John Allijn wrote: > Most of the time when I work on an iOS app, I run into problems with > scrollers, fields that scroll their contents over the screen. > > Usually I have just one scrollable field on a card with variable text > in it. Most often this text is downloaded from a database and I jus

Re: Retrieving Browser Widget DOM

2016-11-29 Thread hh
Hi Al, AFAIK there is no built-in DOM Inspector. In case you write one, in livecodeshare (Sample Stacks) I found once several XML-stacks containing very useful handlers. H. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Points of Regular Polygon

2016-11-29 Thread Randy Hengst
Hi All, As I’ve looked through the list archives, I know the answer to my quetion was ‘no' back in 2013… just checking to see if I’ve missed something. Is there a way to get the points (vertices) of a a regular polygon? I want to set the the number of sides of the regular polygon (which is easi

Re: Points of Regular Polygon

2016-11-29 Thread Devin Asay
> On Nov 29, 2016, at 10:52 AM, Randy Hengst wrote: > > Hi All, > > As I’ve looked through the list archives, I know the answer to my quetion was > ‘no' back in 2013… just checking to see if I’ve missed something. > > Is there a way to get the points (vertices) of a a regular polygon? > > I

Re: Points of Regular Polygon

2016-11-29 Thread Scott Rossi
Sounds like you want the effective points property (of grc “abc”)? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Nov 29, 2016, at 9:52 AM, Randy Hengst wrote: > > Hi All, > > As I’ve looked through the list archives, I know the answer to my quetion was > ‘no' bac

Re: AW: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Richmond Mathewson
At the risk of sounding mind-blowingly stupid (hey, recently I've done that several times, so one more time shouldn't hurt that much) I would be really very grateful indeed if someone could exlplain in very simple terms what including Infinite LiveCode capability actually means. Come to think

Re: Points of Regular Polygon

2016-11-29 Thread Richmond Mathewson
That's true; BUT one cannot deform a regular polygon by doing a set the points of grc "XYZ" to fld "ABC" . . . 'Tis regular, don't cha know? Richmond. On 11/29/16 7:57 pm, Devin Asay wrote: On Nov 29, 2016, at 10:52 AM, Randy Hengst wrote: Hi All, As I’ve looked through the list archives,

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread John Allijn
Hi Richard, I don't think it's a bug. It's just me not being a very skilled programmer :) Thats why I choose livecode. The thing is that native mobile objects are almost completely implemented by code. Where as desktop objects can be dragged into a stack and than be accessed and updated by code.

Re: [OT] Hosed Xubuntu system

2016-11-29 Thread Richmond Mathewson
Frankly, as long as your backups are not degraded the odd spot of degradation in your English is probably less worrying. I am planning . . . to remove the hard drives from my Linux box and stick them in external boxes and have Disk Drill look at thenm from my Mac OS 10.7.5 machine: I would be

Re: AW: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Richard Gaskin
Richmond Mathewson wrote: > At the risk of sounding mind-blowingly stupid (hey, recently I've > done that several times, so one more time shouldn't hurt that much) > I would be really very grateful indeed if someone could exlplain in > very simple terms what including Infinite LiveCode capability

SVG import

2016-11-29 Thread Richmond Mathewson
The way one has to open an SVG file in a vector editor (Inkscape, Illustrator, etc.) to extract the points to paste intil the SVG widget: 1. means that faut de meux one is dependent on an external application. 2. I would jalouse that SVG import could be "folded" intil Livecode without to much

Re: AW: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread Richmond Mathewson
Thank you very much: I'll setle down and do some serious reading. Richmond. On 11/29/16 8:30 pm, Richard Gaskin wrote: Richmond Mathewson wrote: > At the risk of sounding mind-blowingly stupid (hey, recently I've > done that several times, so one more time shouldn't hurt that much) > I would b

Re: Retrieve the date from an external source.

2016-11-29 Thread hh
Just to round up this fine solution, could also be used for LC server: I searched for ntp handlers and found this nifty stack http://lists.runrev.com/pipermail/use-livecode/2011-August/160813.html ___ use-livecode mailing list use-livecode@lists.runrev.

Re: Points of Regular Polygon

2016-11-29 Thread Richard Gaskin
Richmond Mathewson wrote: > ...BUT one cannot deform a regular polygon... ...because it would then no longer be a regular polygon. To make an irregular polygon use the polygon style. If you need it to have regular points you can first create a regular polygon, get its effective points, chang

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread Richard Gaskin
John Allijn wrote: >> Op 29 nov. 2016 om 17:15 heeft Richard Gaskin het volgende geschreven: >> Widgets are great for making new kinds of objects, but if all that's >> needed here is to fix a bug with scrolling on the existing field >> object IMO that's just a bug. > > Hi Richard, > I don't think

Re: Points of Regular Polygon

2016-11-29 Thread Richmond Mathewson
Indeed. Richmond. On 11/29/16 8:35 pm, Richard Gaskin wrote: Richmond Mathewson wrote: > ...BUT one cannot deform a regular polygon... ...because it would then no longer be a regular polygon. To make an irregular polygon use the polygon style. If you need it to have regular points you can

Re: Points of Regular Polygon

2016-11-29 Thread hh
Why not simply computing the points by yourself? Excerpt from the the main script of Raspi stack #2: RegularPolygons3 (http://forums.livecode.com/viewtopic.php?p=98716#p98716) -- N is the number of vertices -- x0,y0 is the center of the polygon -- r is the radius of the polygon -- b is the angle

Re: Widget request (native text scroller for iOS)

2016-11-29 Thread John Allijn
Good to know. Thanks! > On 29 Nov 2016, at 19:40, Richard Gaskin wrote: > > John Allijn wrote: > > >> Op 29 nov. 2016 om 17:15 heeft Richard Gaskin het volgende geschreven: > >> Widgets are great for making new kinds of objects, but if all that's > >> needed here is to fix a bug with scrolling

Re: Points of Regular Polygon

2016-11-29 Thread Richmond Mathewson
Oddly enough, that may have uncovered a bug in LC 9 dp3 . . . I thought I would set the points of a polygon graphic to the points of the regular polygon graphic that I had exported into a scrolling list field. But when I selected 'Polygon Graphic' from the Menu/Object/New Control/Polygon Graphi

Re: Points of Regular Polygon

2016-11-29 Thread Richmond Mathewson
Aha: the IDE just plonks a pointless polygon graphic in your card, so it is invisible. Setting points does no good at all. Richmond. On 11/29/16 8:35 pm, Richard Gaskin wrote: Richmond Mathewson wrote: > ...BUT one cannot deform a regular polygon... ...because it would then no longer be a r

Re: Points of Regular Polygon

2016-11-29 Thread hh
Richmond M. > Setting points does no good at all. That's not true if graphics are involved. Just follow the rules. You cannot _set_ the points of a graphic of type "regular". You can _get_ the points since LC 7 (thanks to Mark Wieder). Just the same with a graphic of type "Oval" or "Rectangle" o

Re: Points of Regular Polygon

2016-11-29 Thread Richard Gaskin
Richmond Mathewson wrote: > Oddly enough, that may have uncovered a bug in LC 9 dp3 . . . > > I thought I would set the points of a polygon graphic to the points > of the regular polygon graphic that I had exported into a scrolling > list field. > > But when I selected 'Polygon Graphic' from the

Re: Points of Regular Polygon

2016-11-29 Thread Richmond Mathewson
On 11/29/16 9:09 pm, Richard Gaskin wrote: Richmond Mathewson wrote: > Oddly enough, that may have uncovered a bug in LC 9 dp3 . . . > > I thought I would set the points of a polygon graphic to the points > of the regular polygon graphic that I had exported into a scrolling > list field. > > B

Re: Points of Regular Polygon

2016-11-29 Thread hh
I should have better used the wording "graphic of type" than "graphic of style" because we can set the style of grc 1 to "polygon" for example (the function again, just for the completeness here): on mouseUp if there is no grc "poly" then create grc "poly" set style of grc "poly" to

SVG import

2016-11-29 Thread Alejandro Tejada
Hi Richmond, I believe that the best way to use SVG ilustrations within LiveCode is converting them to PNG images. Take a look at these stacks (download draft v02) http://forums.livecode.com/viewtopic.php?f=11&t=28384 I hope that developers more experienced take notice and fix these early drafts.

Re: My own productivity app

2016-11-29 Thread J. Landman Gay
On 11/28/16 9:29 PM, Terry Vogelaar wrote: All of them help users to have productive time and leisure time. But if I would run all three, there would be no agreement between them when I should have my break. The latter app made me realise I could create my own. Any programmer could make that. B

Re: My own productivity app

2016-11-29 Thread Mike Bonner
The only way I know of to monitor keystrokes/mouse events is with a loop. Check to see if keysdown() is empty, and "if the mouse is down." Certain things won't trigger the mouse is down such as grabbing a title bar and dragging it around (on windows) but most other clicks will work fine. For a

LC suddenly sending using library stack for script editor field calls

2016-11-29 Thread Dr. Hawkins
It took a couple of wasted hours to find this . . . LC has, all of a sudden, started using my library stack when opening the script editor. So my openField handler, for example, gets called. I'm guessing that it briefly did this a long time ago, because I have commented out routines to catch and

Re: Points of Regular Polygon

2016-11-29 Thread Randy Hengst
Well, this was fun. I write a question, go teach class, and come back to a very interesting conversation. Thanks all. be well, randy www.classroomFocusedSoftware.com > On Nov 29, 2016, at 1:24 PM, hh wrote: > > I should have better used the wording >"graphic of type" than "graphic of st

Re: LC suddenly sending using library stack for script editor field calls

2016-11-29 Thread Monte Goulding
> On 30 Nov. 2016, at 8:38 am, Dr. Hawkins wrote: > > It took a couple of wasted hours to find this . . . > > LC has, all of a sudden, started using my library stack when opening the > script editor. > > So my openField handler, for example, gets called. The IDE and your stack are running in

Re: Retrieving Browser Widget DOM

2016-11-29 Thread mwieder
Warning, though... it's madness trying to treat html as valid xml. - -- Mark Wieder ahsoftw...@gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Retrieving-Browser-Widget-DOM-tp4710690p4710728.html Sent from the Revolution - User mailing list archi

Retrieving Browser Widget DOM

2016-11-29 Thread Alejandro Tejada
Hi Mark, Mark Wieder wrote: > Warning, though... it's madness trying > to treat html as valid xml. Actually, I am thinking to use this new proposed property: htmlDOM as a simpler method to retrieve data from a webpage opened in browser widget. Vote for this Enhancement Request: http://quality.l

Read from file

2016-11-29 Thread Peter Bogdanoff
When I use: read from file tURL until eof to read from a file on disk, should I expect the to always contain “eof”? I’m suspecting there could be a a file read error while reading thousands of files and I want to catch that.What should I expect to see in the result when that happens? Peter

Re: Read from file

2016-11-29 Thread Mark Schonewille
This could be a number of strings, such as "file not open for read" or "file does not exist". There is no special string that indicates a particular error, e.g. the errors don't all start with "error". You have to check that the error is unexpected and doesn't contains "eof". Kind regards, Ma

Re: Read from file

2016-11-29 Thread Peter Bogdanoff
Thanks, Mark. So I SHOULD see “eof” and NOT any other message if the file read is successful. Peter On Nov 29, 2016, at 4:26 PM, Mark Schonewille wrote: > This could be a number of strings, such as "file not open for read" or "file > does not exist". There is no special string that indicates

Retrieving Browser Widget DOM

2016-11-29 Thread Alejandro Tejada
This new proposed property: htmlDOM is like storing in a widget property the result of running one of these scripts on the Console: Choose one: copy(document.body.innerHTML); or copy(document.body.outerHTML); After running one of these scripts on the browser Console, the clipboard now contains

Re: IDE Script Editor question...

2016-11-29 Thread Trevor DeVore
On Fri, Sep 23, 2016 at 7:13 PM, Richard Gaskin wrote: > Poking around in the SE I found an even simpler solution - replace line > 3108 of "revSEEditorBehavior" > > scriptFormat "handler" > > ...with: > > if the shiftKey is "down" then > scriptFormat "script" > else >

Re: LC 9 has all the improvements of the LC 8.1 series, yes?

2016-11-29 Thread James Hale
Thanks Panos. I thought that the case but just wanted to be sure. James ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailma

Re: SVG import

2016-11-29 Thread David V Glasgow
“jalouse" sounds Scots-French, and I can’t be bothered to Google it. I jalouse I agree with Richmond though. I am just looking at a workflow for designing a number of graphics and trying to decide between SVG and oversized bitmaps. The latter would be simpler to create - in fact I haven’t act