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 actually attempted to create SVG, and the first 
attempt I made to open one in  text editor revealed a huge file in which I 
couldn’t find the numbers.

I also haven’t got any software for creating SVG.

So.

1/ Would I just be better sticking with bitmaps?

2/  If not, what vector graphics program is good for (very simple) objects.  
Mac preferred, but hey ho.

and

3/ Is there a work flow for idiots somewhere?


Best wishes,

David Glasgow




> On 29 Nov 2016, at 6:30 pm, Richmond Mathewson  
> wrote:
> 
> 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 "fuss".
> 
> Richmond.
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode

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/mailman/listinfo/use-livecode


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
>  scriptFormat "handler"
>   end if
>

Monte pointed me to this thread as I was looking for a way to format the
entire script. I submitted a PR for this:

https://github.com/livecode/livecode-ide/pull/1494

Thanks Richard.

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com-www.clarify-it.com
___
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/mailman/listinfo/use-livecode


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 the webpage DOM.

How could we run one of these scripts
in the LiveCode Browser Widget?

Al

___
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/mailman/listinfo/use-livecode


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 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,
> 
> Mark Schonewille
> http://economy-x-talk.com
> https://www.facebook.com/marksch
> 
> Buy the most extensive book on the
> LiveCode language:
> http://livecodebeginner.economy-x-talk.com
> 
> Op 30-Nov-16 om 01:12 schreef 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 Bogdanoff
>> ___
>> 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/mailman/listinfo/use-livecode
>> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


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,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 30-Nov-16 om 01:12 schreef 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 Bogdanoff
___
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/mailman/listinfo/use-livecode



___
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/mailman/listinfo/use-livecode


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 Bogdanoff
___
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/mailman/listinfo/use-livecode


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.livecode.com/show_bug.cgi?id=18934

Al

___
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/mailman/listinfo/use-livecode


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 archive at Nabble.com.

___
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/mailman/listinfo/use-livecode


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 the same engine so if you add a handler 
for a message sent to an IDE stack but unhandled or passed to a library or 
backScript then it will get it. Having said that I think the IDE should 
probably have an event trapper backScript we apply to all the stacks so that 
they don’t pass through to user stacks lower in the message path so please open 
a report about this.

Cheers

Monte
___
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/mailman/listinfo/use-livecode

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 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 "polygon"
>   -- 7 vertices, 1 vertix at 12 o'clock, radius 42, loc (100,100)
>   set points of grc "poly" to regularPoints(7,42,100,100)
>   set foreColor of grc "poly" to "0,128,128" -- teal
>   set lineSize of grc "poly" to 2 
> end mouseUp
> 
> -- 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 of rotation in degrees
> -- (positive b turns clockwise, negative b turns ccw)
> function regularPoints n,r,x0,y0,b
>   put 2*pi/n into cn
>   -- n vertices --> n+1 points if 'closed' polygon
>   -- usually done by setting last=first
>   -- This is here true as sin(0)=sin(2*pi) and cos(0)=cos(2*pi)
>   put empty into pts
>   if b=0 or b is empty then
>  ## compute unrotated n+1 vertices of the n-sided regular polygon
>  repeat with j=0 to n
> put CR & (round(r*sin(j*cn)+x0),round(-r*cos(j*cn)+y0)) after pts
>  end repeat
>   else
>  ## compute *rotated* n+1 vertices of the n-sided regular polygon
>  put sin(pi*b/180) into s; put cos(pi*b/180) into c 
>  repeat with j=0 to n
> put round( r*sin(j*cn)) into sx; put round(-r*cos(j*cn)) into sy
> put CR & ( (round(x0+c*sx-s*sy),round(y0+c*sy+s*sx)) ) after pts
>  end repeat
>end if
>return char 2 to -1 of pts
> end regularPoints
> 
> 
> ___
> 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/mailman/listinfo/use-livecode

___
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/mailman/listinfo/use-livecode


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 pass if the stack name begins with rev
. . .

Did a setting flip somewhere? (I've noticed preferences, particularly
strict compilation, changing on their own occasionally).

This is 8.1.2 RC2

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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/mailman/listinfo/use-livecode


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 simple test, I made a stack with a field and a button. the following
code is in the button.
local sRunning

on mouseUp
if sRunning is empty then put false into sRunning
put not sRunning into sRunning
loopit
end mouseUp

command loopit
if sRunning then
   if the keysdown is not empty then
  put keysdown() into field 1
   else
  put empty into field 1
   end if
   if the mouse is down then
  set the backgroundcolor of field 1 to red
   else
  set the backgroundcolor of field 1 to empty
   end if
   send loopit to me in 100 millisec
end if
end loopit

Placing the window where its visible but not focused and work with another
program.  Every click the field turns red, every keypress and the keys that
are down show up in the field.  With a delay of 100 seconds its possible to
miss an event, but if a person were actually working actively most
keypresses and clicks will be caught.  It should be possible to use either
applescript or vbscript to note what window is focused, though im not sure
how to tell if one is working in a facebook tab or not.

On Tue, Nov 29, 2016 at 1:14 PM, J. Landman Gay 
wrote:

> 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. But ideally I would want to integrate what makes the
>> other two apps great. I want the activity detection that MacBreakZ
>> has and the distraction-restriction (hey)Focus offers. Would an app
>> made in LiveCode be able to do that? If so, how?
>>
>
> The problem I see here is that LC has no knowledge of what other apps are
> in use, and provides no feedback when it isn't the frontmost app. There may
> be shell calls you could use to get some of the information, but I kind of
> doubt there's a way to monitor keystrokes and that sort of thing.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> 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/mailman/listinfo/use-livecode
>
___
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/mailman/listinfo/use-livecode


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. But ideally I would want to integrate what makes the
other two apps great. I want the activity detection that MacBreakZ
has and the distraction-restriction (hey)Focus offers. Would an app
made in LiveCode be able to do that? If so, how?


The problem I see here is that LC has no knowledge of what other apps 
are in use, and provides no feedback when it isn't the frontmost app. 
There may be shell calls you could use to get some of the information, 
but I kind of doubt there's a way to monitor keystrokes and that sort of 
thing.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/mailman/listinfo/use-livecode


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=28384
I hope that developers more experienced take notice
and fix these early drafts...

About SVGL plus Gradients, I found the main issue
to complete this stack:
Flattening (or applying) all transforms in the SVG
before drawing the vectors inside LiveCode

If you look in the web for a tool or script that could
do these simple math operations, there is none...
This Javascript tool do not seems to work with Matrix Transforms
(precisely the most common transformations):
https://gist.github.com/timo22345/9413158

Richmond, Do you want to help to create (and test)
code to flattening (or applying) all transforms in a
SVG using LiveCode?

Al

___
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/mailman/listinfo/use-livecode


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 "polygon"
   -- 7 vertices, 1 vertix at 12 o'clock, radius 42, loc (100,100)
   set points of grc "poly" to regularPoints(7,42,100,100)
   set foreColor of grc "poly" to "0,128,128" -- teal
   set lineSize of grc "poly" to 2 
end mouseUp

-- 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 of rotation in degrees
-- (positive b turns clockwise, negative b turns ccw)
function regularPoints n,r,x0,y0,b
   put 2*pi/n into cn
   -- n vertices --> n+1 points if 'closed' polygon
   -- usually done by setting last=first
   -- This is here true as sin(0)=sin(2*pi) and cos(0)=cos(2*pi)
   put empty into pts
   if b=0 or b is empty then
  ## compute unrotated n+1 vertices of the n-sided regular polygon
  repeat with j=0 to n
 put CR & (round(r*sin(j*cn)+x0),round(-r*cos(j*cn)+y0)) after pts
  end repeat
   else
  ## compute *rotated* n+1 vertices of the n-sided regular polygon
  put sin(pi*b/180) into s; put cos(pi*b/180) into c 
  repeat with j=0 to n
 put round( r*sin(j*cn)) into sx; put round(-r*cos(j*cn)) into sy
 put CR & ( (round(x0+c*sx-s*sy),round(y0+c*sy+s*sx)) ) after pts
  end repeat
end if
return char 2 to -1 of pts
end regularPoints


___
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/mailman/listinfo/use-livecode


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.
>
> But when I selected 'Polygon Graphic' from the Menu/Object/New
> Control/Polygon Graphic
> (Mac OS 10.7.5: yeah, yeah, I know, 'tisn't supported for LC 9: go
> and try it on a newer Mac running Mac OS Rocky Mountain) and no
> polygon graphic appeared on my stack.
>
> To contextualise this: there is no problem if I select 'regualr
> polygon graphic'.

An irregular polygon has no inherent shape; its points must be drawn 
by the user.


When I choose that menu item (in v9.0 dp3 on Ubuntu) the tool changes 
to graphic polygon, and allows me to draw it out as expected.



Not over "here" I'm afraid.

Richmond.

___
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/mailman/listinfo/use-livecode


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 Menu/Object/New
> Control/Polygon Graphic
> (Mac OS 10.7.5: yeah, yeah, I know, 'tisn't supported for LC 9: go
> and try it on a newer Mac running Mac OS Rocky Mountain) and no
> polygon graphic appeared on my stack.
>
> To contextualise this: there is no problem if I select 'regualr
> polygon graphic'.

An irregular polygon has no inherent shape; its points must be drawn by 
the user.


When I choose that menu item (in v9.0 dp3 on Ubuntu) the tool changes to 
graphic polygon, and allows me to draw it out as expected.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/mailman/listinfo/use-livecode


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" or "Line".
(A grc "Line" is handled as "Polygon" if you set more points than 2).

But you can set the points of a graphic of type "Polygon". This is
the only type of graphic that has settable points (or relativePoints).

___
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/mailman/listinfo/use-livecode


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 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, change its style to "polygon", then set the points 
and adjust them however you like:


   put the effective points of grc 1 into tPts
   set the style of grc 1 to "polygon"
   set the points of grc 1 to tPts




___
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/mailman/listinfo/use-livecode


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 on the existing field
> >> object IMO that's just a bug.
> >
> > 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. It is my personal
> > opinion that a text field that I drag into a stack should behave as
> > a native mac field on the mac and a native 'scroller' on iOS. And as
> > a programmer in livecode I should benefit from the code-once-deploy-
> > everywhere features of livecode.
> > I understand that the implementation of fields in livecode is not yet
> > at this point.
> 
> But it should be.  Simplicity of multi-platform deployment is why we choose 
> LiveCode.
> 
> And that's why I consider this a bug.
> 
> And thankfully this (along with a few other refinements) is among the funded 
> goals the team is working on:
> 
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


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 Graphic
(Mac OS 10.7.5: yeah, yeah, I know, 'tisn't supported for LC 9: go and 
try it on a newer Mac running

Mac OS Rocky Mountain) and no polygon graphic appeared on my stack.

To contextualise this: there is no problem if I select 'regualr polygon 
graphic'.


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 first create a regular polygon, get its 
effective points, change its style to "polygon", then set the points 
and adjust them however you like:


   put the effective points of grc 1 into tPts
   set the style of grc 1 to "polygon"
   set the points of grc 1 to tPts




___
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/mailman/listinfo/use-livecode


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 of rotation in degrees
-- (positive b turns clockwise, negative b turns ccw)
function regularPoints n,r,x0,y0,b
   put 2*pi/n into cn
   -- n vertices --> n+1 points if 'closed' polygon
   -- usually done by setting last=first
   -- This is here true as sin(0)=sin(2*pi) and cos(0)=cos(2*pi)
   put empty into pts
   if b=0 or b is empty then
  ## compute unrotated n+1 vertices of the n-sided regular polygon
  repeat with j=0 to n
 put CR & (round(r*sin(j*cn)+x0),round(-r*cos(j*cn)+y0)) after pts
  end repeat
   else
  ## compute *rotated* n+1 vertices of the n-sided regular polygon
  put sin(pi*b/180) into s; put cos(pi*b/180) into c 
  repeat with j=0 to n
 put round( r*sin(j*cn)) into sx; put round(-r*cos(j*cn)) into sy
 put CR & ( (round(x0+c*sx-s*sy),round(y0+c*sy+s*sx)) ) after pts
  end repeat
end if
return char 2 to -1 of pts
end regularPoints


___
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/mailman/listinfo/use-livecode


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 first create a regular polygon, get its 
effective points, change its style to "polygon", then set the points 
and adjust them however you like:


   put the effective points of grc 1 into tPts
   set the style of grc 1 to "polygon"
   set the points of grc 1 to tPts




___
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/mailman/listinfo/use-livecode


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 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. It is my personal
> opinion that a text field that I drag into a stack should behave as
> a native mac field on the mac and a native 'scroller' on iOS. And as
> a programmer in livecode I should benefit from the code-once-deploy-
> everywhere features of livecode.
> I understand that the implementation of fields in livecode is not yet
> at this point.

But it should be.  Simplicity of multi-platform deployment is why we 
choose LiveCode.


And that's why I consider this a bug.

And thankfully this (along with a few other refinements) is among the 
funded goals the team is working on:



--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/mailman/listinfo/use-livecode


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, change its style to "polygon", then set the points and 
adjust them however you like:


   put the effective points of grc 1 into tPts
   set the style of grc 1 to "polygon"
   set the points of grc 1 to tPts

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/mailman/listinfo/use-livecode


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.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 be really very grateful indeed if someone could exlplain in
> very simple terms what including Infinite LiveCode capability
> actually means.

I did a quick Google search for "infinite livecode" and the first 
result was this page, which offers both a high-level summary and some 
technical details:



Included in those search results were these blog posts which offer 
more info:


 



...along with this link I provided for you in a recent forum thread:
 






___
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/mailman/listinfo/use-livecode


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 "fuss".


Richmond.

___
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/mailman/listinfo/use-livecode


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
> actually means.

I did a quick Google search for "infinite livecode" and the first result 
was this page, which offers both a high-level summary and some technical 
details:



Included in those search results were these blog posts which offer more 
info:




...along with this link I provided for you in a recent forum thread:


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/mailman/listinfo/use-livecode


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 grateful if anyone has any experience with this if they could give me 
some feedback.


I intend to examine the disks with the Free version, and if it finds 
something pay for the forensic version.


http://www.cleverfiles.com/

Richmond.

On 11/29/16 1:01 am, Mike Bonner wrote:

My english skills are degrading at a high rate of speed apparently.  Fixes:
  "set it up clean and up to date"  and "at the end of each day, multicast
the clean image to all computers to prep for the next day"

On Mon, Nov 28, 2016 at 3:59 PM, Mike Bonner  wrote:





___
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/mailman/listinfo/use-livecode


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. It is my personal opinion that a text field that I drag 
into a stack should behave as a native mac field on the mac and a native 
'scroller' on iOS. And as a programmer in livecode I should benefit from the 
code-once-deploy-everywhere features of livecode. 
I understand that the implementation of fields in livecode is not yet at this 
point. And to be fair: it has come a long way in very short time. The fact that 
I can build an app for iOS with livecode is amazing. 
However I use text fields a lot and I find the process of creating, scrolling 
and updating them for iOS way to complex. So I was hoping that someone else 
things so to and had a widget built for it :)
Best regards
John. 

> Op 29 nov. 2016 om 17:15 heeft Richard Gaskin  
> het volgende geschreven:
> 
> 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 just
> > put the plain text into this field.
> >
> > Most often, the field does not scroll, does not show up, won’t
> > display all the content, runs over the boundaries that I’ve set or
> > is just badly positioned.
> >
> > The last few apps I made, I worked around this problem by designing
> > my app around it. (splitting the text in chunks that are big enough
> > to display and using swipes to go to the next card with more content)
> > but this has been annoying me ever since.
> >
> > I was wondering if someone had, or was willing to make, a livecode
> > widget for a scrolling field. That way we can all just drag it in the
> > project, fill it with text and get some sleep again :)
> 
> 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.
> 
> Has it been reported?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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/mailman/listinfo/use-livecode

___
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/mailman/listinfo/use-livecode

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, 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 easily 
scripted), and then I’d like to find the loc of each of the vertices…

Is the answer to finding the points of the vertices still no?

It’s yes!

   put the effective points of graphic “foo”

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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/mailman/listinfo/use-livecode



___
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/mailman/listinfo/use-livecode

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 of things, there may be other people "out there" who don't 
really understand that either.


Richmond.

On 11/29/16 3:25 pm, Tiemo Hollmann TB wrote:

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

- If we add anything new or make any backward-incompatible change:
increment first number, reset second number to 0

- If we fix bugs in a backwards-compatible way: keep first number, increment
second number

I explained this in the blog post that I wrote about the LiveCode 9 DP 1
release: https://livecode.com/whats-new-in-livecode-9-dp-1/

The new features in LiveCode 9 will include Infinite LiveCode capability,
with _at least_ the ability to integrate LCB code directly with Java
libraries (such as Android APIs).

Peter

--
Dr Peter Brett  LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode



___
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/mailman/listinfo/use-livecode


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' 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 easily 
> scripted), and then I’d like to find the loc of each of the vertices… 
> 
> Is the answer to finding the points of the vertices still no?
> 
> be well,
> randy
> www.classroomFocusedSoftware.com
> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode

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 want to set the the number of sides of the regular polygon (which is easily 
> scripted), and then I’d like to find the loc of each of the vertices… 
> 
> Is the answer to finding the points of the vertices still no?

It’s yes!

  put the effective points of graphic “foo”

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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/mailman/listinfo/use-livecode

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 easily 
scripted), and then I’d like to find the loc of each of the vertices… 

Is the answer to finding the points of the vertices still no?

be well,
randy
www.classroomFocusedSoftware.com



___
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/mailman/listinfo/use-livecode

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 url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 just
> put the plain text into this field.
>
> Most often, the field does not scroll, does not show up, won’t
> display all the content, runs over the boundaries that I’ve set or
> is just badly positioned.
>
> The last few apps I made, I worked around this problem by designing
> my app around it. (splitting the text in chunks that are big enough
> to display and using swipes to go to the next card with more content)
> but this has been annoying me ever since.
>
> I was wondering if someone had, or was willing to make, a livecode
> widget for a scrolling field. That way we can all just drag it in the
> project, fill it with text and get some sleep again :)

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.


Has it been reported?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/mailman/listinfo/use-livecode

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.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 
>> 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.
>> 
>> Regards
>> Tore
>> 
>> 
>>> 29. nov. 2016 kl. 16.04 skrev 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 system date
>>> 
>>> Before LC server i  used a php script to get the current date in my Flash 
>>> Advent calendar.
>>> 
>>> Regards,
>>> 
>>> Matthias
>>> 
>>> 
>>> 
>>> Matthias Rebbe
>>> Bramkampsieke 13
>>> 32312 Lübbecke
>>> Tel +49 5741 31
>>> +49 160 5504462
>>> Fax: +49 5741 310002
>>> eMail: matth...@m-r-d.de  
>>> > 
>>>  
>>> >>
>>> 
>>> BR5 Konverter - BR5 -> MP3 >>  
>>> >> >>
 Am 12.01.2017 um 15:58 schrieb 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 
 looking for, but it is just another way to format the internal date as set 
 by the user. Therefore, getting the internet date does not bypass any 
 changes to the machines local settings. 
 
 Information about the proper date for each event is stored as a custom 
 property of different images in the application. This property is in the 
 form of localized date, and is converted to seconds for comparison with 
 the actually date, which of course is also converted to seconds. 
 Everything here works as expected, but changing the computers date 
 settings will allow the user to override the restraints in the script. I 
 therefore need to get the date from a source outside the control of the 
 user. (The application is a desktop standalone.)
 
 I am in a bit of a hurry (deadline on Thursday this week) and I can not 
 seem to find any solutions searching for it in the usual places. I am 
 unfamiliar with retrieving data from servers and services, so I am 
 unfortunately stuck at the moment. Any help will much appreciated.
 
 Regards 
 Tore Nilsen
 ___
 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/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> 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/mailman/listinfo/use-livecode 
>>>  
>>> >> >
>> 
>> 
>> ___
>> 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/mailman/listinfo/use-livecode 
>> 

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 
> 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.
> 
> Regards
> Tore
> 
> 
>> 29. nov. 2016 kl. 16.04 skrev 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 system date
>> 
>> Before LC server i  used a php script to get the current date in my Flash 
>> Advent calendar.
>> 
>> Regards,
>> 
>> Matthias
>> 
>> 
>> 
>> Matthias Rebbe
>> Bramkampsieke 13
>> 32312 Lübbecke
>> Tel  +49 5741 31
>>  +49 160 5504462
>> Fax: +49 5741 310002
>> eMail: matth...@m-r-d.de  
>> >
>> 
>> BR5 Konverter - BR5 -> MP3 > >
>>> Am 12.01.2017 um 15:58 schrieb 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 
>>> looking for, but it is just another way to format the internal date as set 
>>> by the user. Therefore, getting the internet date does not bypass any 
>>> changes to the machines local settings. 
>>> 
>>> Information about the proper date for each event is stored as a custom 
>>> property of different images in the application. This property is in the 
>>> form of localized date, and is converted to seconds for comparison with the 
>>> actually date, which of course is also converted to seconds. Everything 
>>> here works as expected, but changing the computers date settings will allow 
>>> the user to override the restraints in the script. I therefore need to get 
>>> the date from a source outside the control of the user. (The application is 
>>> a desktop standalone.)
>>> 
>>> I am in a bit of a hurry (deadline on Thursday this week) and I can not 
>>> seem to find any solutions searching for it in the usual places. I am 
>>> unfamiliar with retrieving data from servers and services, so I am 
>>> unfortunately stuck at the moment. Any help will much appreciated.
>>> 
>>> Regards 
>>> Tore Nilsen
>>> ___
>>> 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/mailman/listinfo/use-livecode
>> 
>> ___
>> 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/mailman/listinfo/use-livecode 
>> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode 
> 
___
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/mailman/listinfo/use-livecode

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.
>
> thanks, Richard, to confirm this - the cgi thing of course appears
> to still be the best way.

I don't understand: AFAIK with LiveCode Server, CGI is the only way it 
can interface with web servers like Apache.


Is there another way?


> Do you have a lesson or page that describes this method?
> This topic comes up often.

Somehow I've missed that.

I just read the file and hand the file's data back to Apache.

What problems have people had with reading and returning binary data 
with LiveCode Server?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/mailman/listinfo/use-livecode


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.

Regards
Tore


> 29. nov. 2016 kl. 16.04 skrev 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 system date
> 
> Before LC server i  used a php script to get the current date in my Flash 
> Advent calendar.
> 
> Regards,
> 
> Matthias
> 
> 
> 
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel   +49 5741 31
>   +49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de 
> 
> BR5 Konverter - BR5 -> MP3 
>> Am 12.01.2017 um 15:58 schrieb 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 
>> looking for, but it is just another way to format the internal date as set 
>> by the user. Therefore, getting the internet date does not bypass any 
>> changes to the machines local settings. 
>> 
>> Information about the proper date for each event is stored as a custom 
>> property of different images in the application. This property is in the 
>> form of localized date, and is converted to seconds for comparison with the 
>> actually date, which of course is also converted to seconds. Everything here 
>> works as expected, but changing the computers date settings will allow the 
>> user to override the restraints in the script. I therefore need to get the 
>> date from a source outside the control of the user. (The application is a 
>> desktop standalone.)
>> 
>> I am in a bit of a hurry (deadline on Thursday this week) and I can not seem 
>> to find any solutions searching for it in the usual places. I am unfamiliar 
>> with retrieving data from servers and services, so I am unfortunately stuck 
>> at the moment. Any help will much appreciated.
>> 
>> Regards 
>> Tore Nilsen
>> ___
>> 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/mailman/listinfo/use-livecode
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode

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

Before LC server i  used a php script to get the current date in my Flash 
Advent calendar.

Regards,

Matthias



Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
> Am 12.01.2017 um 15:58 schrieb 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 looking for, 
> but it is just another way to format the internal date as set by the user. 
> Therefore, getting the internet date does not bypass any changes to the 
> machines local settings. 
> 
> Information about the proper date for each event is stored as a custom 
> property of different images in the application. This property is in the form 
> of localized date, and is converted to seconds for comparison with the 
> actually date, which of course is also converted to seconds. Everything here 
> works as expected, but changing the computers date settings will allow the 
> user to override the restraints in the script. I therefore need to get the 
> date from a source outside the control of the user. (The application is a 
> desktop standalone.)
> 
> I am in a bit of a hurry (deadline on Thursday this week) and I can not seem 
> to find any solutions searching for it in the usual places. I am unfamiliar 
> with retrieving data from servers and services, so I am unfortunately stuck 
> at the moment. Any help will much appreciated.
> 
> Regards 
> Tore Nilsen
> ___
> 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/mailman/listinfo/use-livecode

___
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/mailman/listinfo/use-livecode

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 looking for, but 
it is just another way to format the internal date as set by the user. 
Therefore, getting the internet date does not bypass any changes to the 
machines local settings. 

Information about the proper date for each event is stored as a custom property 
of different images in the application. This property is in the form of 
localized date, and is converted to seconds for comparison with the actually 
date, which of course is also converted to seconds. Everything here works as 
expected, but changing the computers date settings will allow the user to 
override the restraints in the script. I therefore need to get the date from a 
source outside the control of the user. (The application is a desktop 
standalone.)

 I am in a bit of a hurry (deadline on Thursday this week) and I can not seem 
to find any solutions searching for it in the usual places. I am unfamiliar 
with retrieving data from servers and services, so I am unfortunately stuck at 
the moment. Any help will much appreciated.

Regards 
Tore Nilsen
___
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/mailman/listinfo/use-livecode


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 release
notes carefully.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB
Gesendet: Dienstag, 29. November 2016 14:25
An: 'How to use LiveCode' 
Betreff: AW: LC 9 has all the improvements of the LC 8.1 series, yes?

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

- If we add anything new or make any backward-incompatible change: 
increment first number, reset second number to 0

- If we fix bugs in a backwards-compatible way: keep first number, increment
second number

I explained this in the blog post that I wrote about the LiveCode 9 DP 1
release: https://livecode.com/whats-new-in-livecode-9-dp-1/

The new features in LiveCode 9 will include Infinite LiveCode capability,
with _at least_ the ability to integrate LCB code directly with Java
libraries (such as Android APIs).

   Peter

--
Dr Peter Brett  LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


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 list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

- If we add anything new or make any backward-incompatible change: 
increment first number, reset second number to 0

- If we fix bugs in a backwards-compatible way: keep first number, increment
second number

I explained this in the blog post that I wrote about the LiveCode 9 DP 1
release: https://livecode.com/whats-new-in-livecode-9-dp-1/

The new features in LiveCode 9 will include Infinite LiveCode capability,
with _at least_ the ability to integrate LCB code directly with Java
libraries (such as Android APIs).

   Peter

--
Dr Peter Brett  LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


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:

- If we add anything new or make any backward-incompatible change: 
increment first number, reset second number to 0


- If we fix bugs in a backwards-compatible way: keep first number, 
increment second number


I explained this in the blog post that I wrote about the LiveCode 9 DP 1 
release: https://livecode.com/whats-new-in-livecode-9-dp-1/


The new features in LiveCode 9 will include Infinite LiveCode 
capability, with _at least_ the ability to integrate LCB code directly 
with Java libraries (such as Android APIs).


  Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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/mailman/listinfo/use-livecode


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? 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 James Hale
> Gesendet: Dienstag, 29. November 2016 14:10
> An: use-livecode@lists.runrev.com
> Betreff: LC 9 has all the improvements of the LC 8.1 series, yes?
>
> 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 subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> 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/mailman/listinfo/use-livecode
>



-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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/mailman/listinfo/use-livecode

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 James Hale
Gesendet: Dienstag, 29. November 2016 14:10
An: use-livecode@lists.runrev.com
Betreff: LC 9 has all the improvements of the LC 8.1 series, yes?

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 subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


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, 2016 at 1:09 PM, James Hale  wrote:

> 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 subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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/mailman/listinfo/use-livecode


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 subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 
text into this field. 

Most often, the field does not scroll, does not show up, won’t display all the 
content, runs over the boundaries that I’ve set or is just badly positioned. 

The last few apps I made, I worked around this problem by designing my app 
around it. (splitting the text in chunks that are big enough to display and 
using swipes to go to the next card with more content) but this has been 
annoying me ever since. 

I was wondering if someone had, or was willing to make, a livecode widget for a 
scrolling field. That way we can all just drag it in the project, fill it with 
text and get some sleep again :)

Any help would be greatly appreciated!
best regards,
John.
___
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/mailman/listinfo/use-livecode

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 of the _same_ engine.
Recall the engine is different with each LC version. Slow-down-factors
for different browsers as given in the forum post (link below).

I never wait more than 20 seconds for a standalone, except the content is
announced as 'HUGE' (usually meaning that additional 20-50 MByte are to
download for stack resources before the page is fully ready).

There are several possible reasons for a 'not-working-as-expected' with
download or performance. I wrote this down in some detail for 'newcomers'
to HTML5-standalones in the forum
http://forums.livecode.com/viewtopic.php?p=148982#p148982

Also,
you have always the possibility to download the source and test it locally,
without internet connection. Safari and Firefox can test from html-file,
Chrome and Opera need a local fileserver running. With the new JS extension
there may be JS modules that need to load a resource from elsewhere or from
the webserver. So in the future all browsers may need a local webserver
running. [ For downloading the sources (if no community link is already
there), see http://forums.livecode.com/viewtopic.php?p=139080#p139080 ].

For testing the JS-demo one needs also the html-file and the js script
resources called there. In case someone doesn't know how to get these I'll
add them soon to the forum post about the JS-demo.

*** This shows once more, how important Todd Fabacher's engagement for
building soon a good LC-JS-library is. ***

Although, these early experiments are far from being optimal for enclosure
in such a library. But I'm already collecting snippets to be ready to
support him and his team as soon as they start. 


___
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/mailman/listinfo/use-livecode