Re: JSON library

2015-11-18 Thread Peter Haworth
Thanks Ali, that fixed it.  I'ma little surprised I didn't get a runtime
error in the standalone though - shouldn't it have choked on the jsonImport
command?

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Wed, Nov 18, 2015 at 12:46 AM, Ali Lloyd  wrote:

> Hi Peter,
> The JSON library is an extension and so you need to include it manually (at
> least at the moment) - you'll need to select com.livecode.library.json in
> the Copy Files pane of the standalone settings.
>
> On Tue, Nov 17, 2015 at 10:55 PM Peter Haworth  wrote:
>
> > A stack that works fine in the IDE does not work when I make a standalone
> > from it.  In particular, clicking on a scrolling list doesn't have the
> > desired effect.  I think it may be because I'm using the new JSONImport
> > function in my selectionChanged handler.  It's part of the JSON library
> and
> > perhaps the JSON library is not being included in the standalone.
> >
> > I used the default setting to search for inclusions initially.  When I
> try
> > to include specific libraries, the JSON library is not listed as one of
> the
> > options.
> >
> > The above is all pure guesswork of course but should the JSON library be
> > listed as an inclusion option?
> >
> > Pete
> > lcSQL Software 
> > Home of lcStackBrowser  and
> > SQLiteAdmin 
> > ___
> > 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


LC8 Standalone field sizes.

2015-11-18 Thread Peter Haworth
I'm seeing a slight difference in the width of fields required to hold a
given amount of text in the LC8 IDE and LC8 standalone.

Using one field as an example, I displayed the effective font, size, and
formatted width in the IDE and in the standalone.  The font/size were
Helvetica Neue/14 in both cases but the formatted width is 128 in the IDE
and 138 in the standalone so the text is chopped off in the standalone.

Anyone else seeing this?

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 
___
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: diesel again

2015-11-18 Thread Mark Wieder

On 11/18/2015 11:31 AM, Ralph DiMola wrote:

Server load is high and emails are getting delayed. I reported it to David.


Apparently Volkswagen isn't the only one with diesel problems.

--
 Mark Wieder
 ahsoftw...@gmail.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: diesel again

2015-11-18 Thread Ralph DiMola
Very Funny!!

But if it followed VW's lead there should be better performance with less
power use but more heat output.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Wieder
Sent: Wednesday, November 18, 2015 2:33 PM
To: How to use LiveCode
Subject: Re: diesel again

On 11/18/2015 11:31 AM, Ralph DiMola wrote:
> Server load is high and emails are getting delayed. I reported it to
David.

Apparently Volkswagen isn't the only one with diesel problems.

-- 
  Mark Wieder
  ahsoftw...@gmail.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


diesel again

2015-11-18 Thread Ralph DiMola
Server load is high and emails are getting delayed. I reported it to David.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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: diesel again

2015-11-18 Thread Mark Wieder

On 11/18/2015 11:48 AM, Ralph DiMola wrote:

Very Funny!!

But if it followed VW's lead there should be better performance with less
power use but more heat output.


...and it would be emitting more emails than it let on about and lying 
about its status...


--
 Mark Wieder
 ahsoftw...@gmail.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: LC8 Standalone field sizes.

2015-11-18 Thread Peter Bogdanoff
I saw that when moving my application from LC 6 to LC 7, Helvetica was 
displaying wider.

My bug report on the issue had this reply:

"Unfortunately when we moved to Cocoa we were forced to move to use CoreText 
rather than the (now ancient) QuickDraw APIs for drawing text. The metrics of 
certain fonts when rendered with CoreText are different from that of QuickDraw 
and as a result, you will see a difference when jumping from < 6.7 to >= 6.7.”

But I have no knowledge why you get varied results within LC 8.

Peter


On Nov 18, 2015, at 9:43 AM, Peter Haworth  wrote:

> I'm seeing a slight difference in the width of fields required to hold a
> given amount of text in the LC8 IDE and LC8 standalone.
> 
> Using one field as an example, I displayed the effective font, size, and
> formatted width in the IDE and in the standalone.  The font/size were
> Helvetica Neue/14 in both cases but the formatted width is 128 in the IDE
> and 138 in the standalone so the text is chopped off in the standalone.
> 
> Anyone else seeing this?
> 
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 
> ___
> 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: LC8 Standalone field sizes.

2015-11-18 Thread Peter Haworth
Thanks Peter, I remember that happening too.  This is a little different
since it involves different formattedwidth in the same version of LC
depending on whether the stack is run in the IDE or in a standalone.  I
guess I should file a bug report.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Wed, Nov 18, 2015 at 12:29 PM, Peter Bogdanoff  wrote:

> I saw that when moving my application from LC 6 to LC 7, Helvetica was
> displaying wider.
>
> My bug report on the issue had this reply:
>
> "Unfortunately when we moved to Cocoa we were forced to move to use
> CoreText rather than the (now ancient) QuickDraw APIs for drawing text. The
> metrics of certain fonts when rendered with CoreText are different from
> that of QuickDraw and as a result, you will see a difference when jumping
> from < 6.7 to >= 6.7.”
>
> But I have no knowledge why you get varied results within LC 8.
>
> Peter
>
>
> On Nov 18, 2015, at 9:43 AM, Peter Haworth  wrote:
>
> > I'm seeing a slight difference in the width of fields required to hold a
> > given amount of text in the LC8 IDE and LC8 standalone.
> >
> > Using one field as an example, I displayed the effective font, size, and
> > formatted width in the IDE and in the standalone.  The font/size were
> > Helvetica Neue/14 in both cases but the formatted width is 128 in the IDE
> > and 138 in the standalone so the text is chopped off in the standalone.
> >
> > Anyone else seeing this?
> >
> > Pete
> > lcSQL Software 
> > Home of lcStackBrowser  and
> > SQLiteAdmin 
> > ___
> > 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: JSON library

2015-11-18 Thread Peter TB Brett



On 18/11/2015 11:02, Lyn Teyla wrote:

Ali Lloyd wrote:


The JSON library is an extension and so you need to include it manually (at
least at the moment) - you'll need to select com.livecode.library.json in
the Copy Files pane of the standalone settings.



On a somewhat related note, how does one utilize this JSON library (and other 
libraries implemented as extensions) on LiveCode Server?



Currently, you will need to use `load extension` to load the appropriate 
`.lcm` file(s).


 Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/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: JSON library

2015-11-18 Thread Lyn Teyla
Ali Lloyd wrote:

> The JSON library is an extension and so you need to include it manually (at
> least at the moment) - you'll need to select com.livecode.library.json in
> the Copy Files pane of the standalone settings.


On a somewhat related note, how does one utilize this JSON library (and other 
libraries implemented as extensions) on LiveCode Server?

Lyn



___
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: Special Paste

2015-11-18 Thread Peter M. Brigham
I don't know, does it? I'm a relative troglodyte, as I work in 5.5 mostly, but 
I don't see why it wouldn't work in later versions. With the newer additions to 
the language there are probably other ways to accomplish the task.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Nov 17, 2015, at 9:13 PM, Charles Szasz wrote:

> Peter,
> 
> Does this script work with LC 6.1.3?
> 
> Sent from my iPad
> 
> ___
> 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: JSON library

2015-11-18 Thread Ali Lloyd
Hi Peter,
The JSON library is an extension and so you need to include it manually (at
least at the moment) - you'll need to select com.livecode.library.json in
the Copy Files pane of the standalone settings.

On Tue, Nov 17, 2015 at 10:55 PM Peter Haworth  wrote:

> A stack that works fine in the IDE does not work when I make a standalone
> from it.  In particular, clicking on a scrolling list doesn't have the
> desired effect.  I think it may be because I'm using the new JSONImport
> function in my selectionChanged handler.  It's part of the JSON library and
> perhaps the JSON library is not being included in the standalone.
>
> I used the default setting to search for inclusions initially.  When I try
> to include specific libraries, the JSON library is not listed as one of the
> options.
>
> The above is all pure guesswork of course but should the JSON library be
> listed as an inclusion option?
>
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 
> ___
> 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: [ANN] DropboxAPI_2.livecode

2015-11-18 Thread gmcrev
I have uploaded version 1.1 to http://livecodeshare.runrev.com/.
This update has 2 cards that can be used to upload files to dropbox and
download files from dropbox.




-
Gerard
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-DropboxAPI-2-tester-tp4698445p4698851.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: ios custom URL scheme

2015-11-18 Thread John Dixon
Hi Terry...

Thank you for your reply...

The custom URL scheme works fine... though getting it to work was a little 
confusing as I started of using something like myscheme://, when the text 
message arrived on the phone the 'double slashes' were not part of the 
clickable link... After reading other peoples experiences with this, the 
solution is just to give the customURL a parameter so that the slashes become 
part of the link... as in myscheme://open ... then everything is good... :-)

An aside to Jacque Landman-gay... Sorry, looks like your 'fears' have been 
realised... as it works like a charm...:-(


> From: terry.j...@unimelb.edu.au
> To: use-livecode@lists.runrev.com
> Subject: Re: ios custom URL scheme
> Date: Fri, 13 Nov 2015 23:54:31 +
> 
> Hi John - these are a couple of things I¹ve used them forŠ
> 
> 1. Adding them to timetable events that students can sync to their
> calendars. Clicking the urls opens a custom app that provides them with
> access to all the learning resources associated with the event.
> 
> 2. Installing configuration profiles (list of students, assessors,
> questions etc) on an iPad-based assessment app - the custom url contains
> the path to an encrypted dropbox file containing the profile data
> 
> The text message thing should work just fine.
> 
> Terry...
> 
> On 14/11/2015 9:27 am, "use-livecode on behalf of John Dixon"
> 
> wrote:
> 
> >I have been thinking about the custom URL scheme... and wonder what it is
> >useful for ?
> >Has anyone employed a custom URL in an app and would you like to tell
> >what you used it to do ?
> >
> >Would it be possible to send a text message to a phone that contains a
> >custom URL that could be used to launch an app on the device ?
> >   
> >___
> >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: Special Paste

2015-11-18 Thread Geoff Canyon
I'm using 6.7.3, so the fundamental component works:

put clipboardData["text"] into the selectedchunk

On Wed, Nov 18, 2015 at 7:43 AM, Peter M. Brigham  wrote:

> I don't know, does it? I'm a relative troglodyte, as I work in 5.5 mostly,
> but I don't see why it wouldn't work in later versions. With the newer
> additions to the language there are probably other ways to accomplish the
> task.
>
> -- Peter
>
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig
>
> On Nov 17, 2015, at 9:13 PM, Charles Szasz wrote:
>
> > Peter,
> >
> > Does this script work with LC 6.1.3?
> >
> > Sent from my iPad
> >
> > ___
> > 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


Mobile Orientation

2015-11-18 Thread Ralph DiMola
If a mobile device is in portrait the do mobileSetAllowedOrientations 
"landscape left,landscape right" then
iOS phone will force screen rotation to landscape.
iOS iPad and Android do not.
Does any know if this is a bug or a limitation on iPads and Androids?

FYI: Even if the user has his iPhone locked into portrait a 
mobileSetAllowedOrientations "landscape left,landscape right" will force the 
iPhone into landscape. Then even a mobileSetAllowedOrientations 
"portrait,landscape right,portrait upside down,landscape left" will not turn 
the screen and the device is stuck in landscape. You have to do a 
mobileSetAllowedOrientations "portrait,portrait upside down" FIRST to rotate 
the screen back to portrait.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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


Mobile Resizestack handler possible bug

2015-11-18 Thread Ralph DiMola
ONLY on iOS if you do a:

put URL ("https://xx.on-rev.com/service/SomeScript.lc?function=) into 
Str2

while in a resize stack handler the app locks up. I think this is a bug and 
will put together a QCC report unless anyone knows if this is a limitation of 
iOS.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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: Mobile Resizestack handler possible bug

2015-11-18 Thread David Bovill
Resize handlers are called repeatedly with every fraction of a move - if
you out slow code inside them (like fetching a blocking url) then it jams
up.

On Thursday, 19 November 2015, Ralph DiMola 
wrote:

> ONLY on iOS if you do a:
>
> put URL ("https://xx.on-rev.com/service/SomeScript.lc?function=)
> into Str2
>
> while in a resize stack handler the app locks up. I think this is a bug
> and will put together a QCC report unless anyone knows if this is a
> limitation of iOS.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net 
>
>
> ___
> 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