Re: [ANN] Release 9.0.2 RC-1

2018-11-14 Thread hlowe via use-livecode
BR,

After you upload the app for review using the Xcode Application Loader tool
it may take a while for the app to to available in the submission form.  If
I recall correctly, a small plus sign ('add' icon) appears at the top left
of the Build section. Clicking that icon allows you to add the uploaded app
to the form.

Hope your app gets through this time.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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: [ANN] Release 9.0.2 RC-1

2018-11-14 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! SA Builder had a 6.1.target, if you click the popup menu it starts
at 8.0 + as the only option.

Perhaps we need SA Builder not have a "sticky" old build target that is
below range.

I uploaded again with Application Loader; all went well.

Do you see the latest build in iTune submissions form right away? Or
does it take time, or is it only after review?

Well, we will know tomorrow. It past hour on the mainland

Thanks for this tip, checking the target was "one easy fix."

BR

On 11/14/18 12:04 PM, hlowe via use-livecode wrote:
> Apparently Xcode 10.x doesn't support deployment targets lower than 8.0. We
> selected 10.3 or later for the update.
>
> Hope this helps.
>
> Henry



___
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: NSURLErrorDomain error -999

2018-11-14 Thread Ralph DiMola via use-livecode
Yes, This can be safely ignored. I reported this in 2014 QCC 12575. I did
some research at the time and found a code snippet in objective C that shows
it to be the only error that can be safely ignored. The code is documented
in the QCC report.

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 Trevor DeVore via use-livecode
Sent: Wednesday, November 14, 2018 4:31 PM
To: How to use LiveCode
Cc: Trevor DeVore
Subject: Re: NSURLErrorDomain error -999

On Wed, Nov 14, 2018 at 8:57 AM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Any idea what the error means, before I fire up the sniffer?
>

I ran into that same error when implementing Single Sign-on in my app (which
has a lot of redirects). I found the same article that Colin pointed to. I
tried to troubleshoot it for a while but eventually I just implemented the
following workaround. In browserNavigateFailed I have this
code:

```
if pError contains "NSURLErrorDomain error -999" then
  browserNavigateComplete pURL
else
  ...
end if
```

--
Trevor DeVore
ScreenSteps
www.screensteps.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: Reading data from Google Sheets

2018-11-14 Thread Colin Holgate via use-livecode
On a Google Sheets page there is a Share button in the upper right. If it has a 
padlock it hasn’t been set up for sharing. Once you click on it you can set 
various options, including one where anyone with the link can view without 
having to sign in.
___
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: Reading data from Google Sheets

2018-11-14 Thread dunbarxx via use-livecode
Hi.

Thanks for taking the time with me.

I did indeed paste the url into a separate private window in Safari, and it
asked me to sign in. I did, and the sheet popped up. A standard window goes
directly, without issue.

This is not a forum for teaching me how to use google sheets. But do you
know how I change the sharing properties?

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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: Reading data from Google Sheets

2018-11-14 Thread Pi Digital via use-livecode
I’m a big fan of Monte’s mergGoogle for reading sheets. With the exception of 
an exceptional failure in service midway through this year due to an oAuth 
issue (now fixed) it made reading and writing sheet data remarkably easy. I’d 
thoroughly recommend adopting this if you are able. 

Sean Cole
Pi Digital

> On 14 Nov 2018, at 22:15, Andre Alves Garzia via use-livecode 
>  wrote:
> 
> Craig,
> 
> Check the sharing options on the spreadsheet. Remember LiveCode is not logged 
> as your user, so it can only access spreadsheets that are viewable by anyone 
> with the link. In doubt, pick the link you used, open a private window on 
> your favorite browser and check to see if you can view it as an unlogged user.
> 
> best
> 
>> On 11/14/2018 10:08 PM, dunbarxx via use-livecode wrote:
>> All.
>> 
>> I tried the sample stack on a simple google sheet, and it returns a universe
>> of tags, not the actual contents of the sheet.
>> 
>> What am I doing wrong? I only changed the target url to point to the sheet I
>> created.
>> 
>> Craig Newman
>> 
>> 
>> 
>> --
>> Sent from: 
>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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
> 
> ___
> 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: Reading data from Google Sheets

2018-11-14 Thread Andre Alves Garzia via use-livecode

Craig,

Check the sharing options on the spreadsheet. Remember LiveCode is not 
logged as your user, so it can only access spreadsheets that are 
viewable by anyone with the link. In doubt, pick the link you used, open 
a private window on your favorite browser and check to see if you can 
view it as an unlogged user.


best

On 11/14/2018 10:08 PM, dunbarxx via use-livecode wrote:

All.

I tried the sample stack on a simple google sheet, and it returns a universe
of tags, not the actual contents of the sheet.

What am I doing wrong? I only changed the target url to point to the sheet I
created.

Craig Newman



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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


___
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: Reading data from Google Sheets

2018-11-14 Thread dunbarxx via use-livecode
All.

I tried the sample stack on a simple google sheet, and it returns a universe
of tags, not the actual contents of the sheet. 

What am I doing wrong? I only changed the target url to point to the sheet I 
created.

Craig Newman



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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: [ANN] Release 9.0.2 RC-1

2018-11-14 Thread hlowe via use-livecode
@BR,

Sorry to hear about your problems with the iOS App Store.

We had an iOS app update approved this morning by the App Store using:

LC 9.0.2 - RC1 (Indy)
Mac OS 10.14.1
Xcode 10.0

I did find this link, which may be helpful:

https://stackoverflow.com/questions/52427687/invalid-architectures-xcode-10

Apparently Xcode 10.x doesn't support deployment targets lower than 8.0. We
selected 10.3 or later for the update.

Hope this helps.

Henry




--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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: NSURLErrorDomain error -999

2018-11-14 Thread Trevor DeVore via use-livecode
On Wed, Nov 14, 2018 at 8:57 AM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Any idea what the error means, before I fire up the sniffer?
>

I ran into that same error when implementing Single Sign-on in my app
(which has a lot of redirects). I found the same article that Colin pointed
to. I tried to troubleshoot it for a while but eventually I just
implemented the following workaround. In browserNavigateFailed I have this
code:

```
if pError contains "NSURLErrorDomain error -999" then
  browserNavigateComplete pURL
else
  ...
end if
```

-- 
Trevor DeVore
ScreenSteps
www.screensteps.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


updating to 64bit for Macs: standalones vs stacks opened by a standalone

2018-11-14 Thread Curt Ford via use-livecode
A few years ago I did a project for a client that involved a standalone 
that was basically just a menu of modules. When you clicked on an item, 
it downloaded the module, which was a Livecode stack (not standalone); 
after downloading, clicking on an item in the menu app would open the 
downloaded module.


I'm now updating Mac versions of other projects for 64bit compatibility, 
and I'm wondering how to approach this one. I'm assuming the standalone 
menu app will need to be repackaged with LC 9; is the same true of the 
downloaded stacks (which were done in LC 7)? Or is the engine in the 
standalone the only thing that needs to be 64bit?


Curt
--
Sent from Postbox 


___
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: map widget

2018-11-14 Thread hh via use-livecode
[Dictionary/map]

set the region of widget "Map" to "55.9533,-3.1883, 10, 10"

The region of a map widget is a tuple describing the map region
currently displayed; the first two items are the centerCoordinates and
the second two the span.

set the centerCoordinates of widget "Map" to "55.9533,-3.1883"
first item is latitude, second item is longitude



___
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


map widget

2018-11-14 Thread Mike for GDC via use-livecode
Does anyone have an example of using the "map widget"?  I got my current
location of lat/long and now want to display it on a map.  I have set up my
api key but have not seen any example of how to implement the map..  what I
really want to do is to show my location and also any nearby restaurants,
gas stations nearby.   I have seen some livecode examples of this but not
the code of how to accomplish it.  Any help would be much appreciated.
Thanks.

___
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: NSURLErrorDomain error -999

2018-11-14 Thread Colin Holgate via use-livecode
I took the iOS part of the problem as being incidental, even if it was where 
the problem showed up. Are you doing something that affects a web view, and 
then doing something else before that first change has happened?
___
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: How to diagnose browser widget JS handlers failing silently?

2018-11-14 Thread hh via use-livecode
You can use the params to see what arrives.

Most probably you didn't convert the parameters of the handler
in the JavaScript to arrays or strings.

LiveCode expects strings or arrays as params of javaScriptHandlers.

So "combine" on the LC side and/or ".toString()" on the JS side are
your friends.

Example test:

-- script of the widget (or above it in the message path)
on JS u,v,w -- a javaScriptHandler of widget "browser"
  if u is an array then combine u with ":"
  put u & cr & v & cr & w
end JS

on mouseUp
  do "var x=[1,2,3], y='hello'; " & \
"liveCode.JS(x, y, x.toString())" in widget "browser"
end mouseUp



___
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: NSURLErrorDomain error -999

2018-11-14 Thread Mike Kerner via use-livecode
however since it's macos i'm sure it's similar to ios.  I'll stick a
try/catch in.
It's weird because the file that it's complaining about isn't even one
that's being loaded.

On Wed, Nov 14, 2018 at 11:20 AM Mike Kerner 
wrote:

> mac not ios
>
> On Wed, Nov 14, 2018 at 10:23 AM panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Do you see this on the (mobileControlCreate) iOS browser?
>>
>> I think you can just ignore it.
>>
>> https://quality.livecode.com/show_bug.cgi?id=12575
>>
>> Best,
>> Panos
>> --
>>
>> On Wed, Nov 14, 2018 at 5:02 PM Colin Holgate via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > Mr Google suggested this page:
>> >
>> >
>> >
>> https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
>> > <
>> >
>> https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
>> > >
>> >
>> > "This error may occur if an another request is made before the previous
>> > request of WebView is completed."
>> > ___
>> > 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
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: NSURLErrorDomain error -999

2018-11-14 Thread Mike Kerner via use-livecode
mac not ios

On Wed, Nov 14, 2018 at 10:23 AM panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Do you see this on the (mobileControlCreate) iOS browser?
>
> I think you can just ignore it.
>
> https://quality.livecode.com/show_bug.cgi?id=12575
>
> Best,
> Panos
> --
>
> On Wed, Nov 14, 2018 at 5:02 PM Colin Holgate via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Mr Google suggested this page:
> >
> >
> >
> https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
> > <
> >
> https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
> > >
> >
> > "This error may occur if an another request is made before the previous
> > request of WebView is completed."
> > ___
> > 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: NSURLErrorDomain error -999

2018-11-14 Thread panagiotis merakos via use-livecode
Do you see this on the (mobileControlCreate) iOS browser?

I think you can just ignore it.

https://quality.livecode.com/show_bug.cgi?id=12575

Best,
Panos
--

On Wed, Nov 14, 2018 at 5:02 PM Colin Holgate via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mr Google suggested this page:
>
>
> https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
> <
> https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
> >
>
> "This error may occur if an another request is made before the previous
> request of WebView is completed."
> ___
> 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: NSURLErrorDomain error -999

2018-11-14 Thread Colin Holgate via use-livecode
Mr Google suggested this page:

https://stackoverflow.com/questions/1024748/how-do-i-fix-nsurlerrordomain-error-999-in-iphone-3-0-os
 


"This error may occur if an another request is made before the previous request 
of WebView is completed."
___
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


NSURLErrorDomain error -999

2018-11-14 Thread Mike Kerner via use-livecode
Any idea what the error means, before I fire up the sniffer?


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Reading data from Google Sheets

2018-11-14 Thread Mike Kerner via use-livecode
There's also the mergGoogle external.

On Wed, Nov 14, 2018 at 12:37 AM Kaveh Bazargan via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thank you so much to both. And Andre, if you could write a blog post for
> every question I have it would help me a lot. ;-)
>
> Actually I think I had looked at the very helpful StackExchange page before
> for reading Google Sheets directly in R. I will try it and report back with
> any follow ups.
>
> Regards
> Kaveh
>
> On Wed, 14 Nov 2018 at 02:12, Andre Alves Garzia 
> wrote:
>
> > Kaveh,
> >
> > There is a much easier way. I've just posted about it since it can be of
> > interest for others (there is a demo stack included):
> >
> >
> >
> http://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.html
> >
> > Basically, there are special URLs for retrieving a Google Sheet as a CSV
> > or a JSON. Much easier than parsing HTML or visible text.
> >
> > Cheers
> >
> > andre
> >
> > On 11/14/2018 12:46 AM, dunbarxx via use-livecode wrote:
> > > Hi.
> > >
> > > well the (very) short answer is that you can:
> > >
> > > put url "yourWebpageAddressHere" into temp
> > >
> > > What you get is the entirety of the html contents of a page. Others
> will
> > > tell both of us how to get the "visible" text, that is, the tab and
> > return
> > > delimited data, buried in all those tags.
> > >
> > > Craig Newman
> > >
> > >
> > >
> > > --
> > > Sent from:
> >
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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
> >
>
>
> --
> Kaveh Bazargan
> Director
> River Valley Technologies  • Twitter
>  • LinkedIn
> 
> ___
> 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



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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

How to diagnose browser widget JS handlers failing silently?

2018-11-14 Thread Keith Clarke via use-livecode
Folks,
Is there any way to see the raw message that arrive in LC from javascripts in a 
browser widget?

I’m getting silent failures on some JSHandlers and would like to determine 
whether it’s JS failing to send (unlikely as they’re variations on working 
themes) or LC rejecting the inbound message due to syntax, unescaped quotes, 
etc.
Thanks
Keith







___
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