Re: PDF Viewer widget - how to enable interaction?

2021-12-08 Thread Monte Goulding via use-livecode
Hi Keith

I think you want the `linkClicked` message. Navigation via links is under 
script control so possibly what you want is:

on linkClicked pAction
   if pAction[“type”] is “goto” then
   set the currentDestination of me to pAction
   end if
end linkClicked

> On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode 
>  wrote:
> 
> Hi folks,
> Can anyone share any experiences with the PDF Viewer widget that’s available 
> via the old Business Edition or Pro Pack subscription?
> 
> I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following 
> the PDF guide https://livecode.com/resources/guide/ I’ve been able to load 
> various PDF documents into the viewer widget and view, paginate, scroll, etc. 
> I can select text, as per the example code in the guide and this ability to 
> select toggles with the autoHighlight property on the widget - as expected. 
> However, I’m struggling to get much else.
> 
> The widget seems to be rendering the PDF documents in a passive ‘preview’ 
> mode, in that they seem to lack any of the interactive behaviour available 
> when opened in Preview or Adobe reader. There are no hovers or navigation on 
> obvious links or bookmarks. Furthermore, other than documentPages and 
> documentMetadata, all of the arrays that should handle these navigation 
> elements are empty - documentBookmarks, documentNamedDestination, linkStyles.
> 
> Maybe I’ve missed another property that needs to be set to enable 
> interaction? I don’t see any obvious setting to change in the dictionary, the 
> LC guide doc, LC forums or online sources of documentation.
> 
> Any clues gratefully received...
> Best,
> 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


___
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: Ghost in the Machine?

2021-12-08 Thread Dan Brown via use-livecode
If it's a simple html form then you could POST the form data to the server
directly from within livecode. There is a short guide for doing so here
https://livecode.byu.edu/internet/aboutForms.php and here
https://livecode.byu.edu/internet/postMethodSteps.php

  put urlEncode(fld "fullname") into tName
  put the hilitedButtonName of group "genderGrp" into tGndr
  put urlEncode(the label of btn "colorChoice") into tColor
  put fullname=" & tName & "=" & tGndr & "=" & tColor into tArgList
  post tArgList to URL "http://my.web.site/sampleform.html;
  put it into tFormResults

You may need to log in to the website from within livecode (using the above
form method) to authenticate and retrieve a cookie or session token to
include in the headers of your form request

On Wed, Dec 8, 2021 at 2:06 PM Peter Reid via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I'm trying to provide an upload facility for an existing on-line club
> membership app. This app has a bulk loading facility for initial set up and
> is designed for whole database configuration. In addition the app provides
> a manual on-line form with 20+ fields making up a member's record.
>
> Ideally my user would use a facility to upload 1 or more files with rows
> of details , each row containing a collection of all the inputs for my user
> to use. Sadly, there's no bulk loading facility, so the user has to type in
> most of the details from the membership form.
>
> So here comes the 'Ghost' bit, is it possible to make an LC app that
> mimics keyboard and mouse inputs as if the user was there interacting with
> the on-line form? If I can do this my user would have a file of inputs
> which they could send to the membership database, sit back and watch the
> ghostly app 'type' and 'mouse click' their way through completing the
> on-line form.
>
> Any suggestions please?
>
> Peter
> --
> Peter Reid
> Loughborough, UK
>
>
> ___
> 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: Android SDK

2021-12-08 Thread J. Landman Gay via use-livecode
And...now I can't build a standalone again. No changes to the SDK config, just a warning that 
the SDK isn't valid. It hasn't been 20 minutes since I built the first one.


On 12/8/21 3:06 PM, J. Landman Gay via use-livecode wrote:
Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my 
phone, which also worked yesterday. So I tried again to build an apk and that now works too, 
though the prefs still show red and report the SDK is invalid (LC 9.6.5.)


There is something weird going on though. I can only build directly to my phone if I choose 
Test from the Development menu. If I just click the Test button in the toolbar I get a dialog 
that says "Android " which is the ID of my phone. Occasionally the menu item does 
the same, but usually it works.


I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could 
you leave the RC versions up for a few weeks so we could backtrack if necessary?



On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote:
I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app 
since I installed Big Sur.


I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 
30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have 
some older installations still in place.


In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for 
the entire SDK folder and all its contents.


LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 
but now all my LC apps say the folder is invalid.


So now what?






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


Re: APK and an idsig file?

2021-12-08 Thread Klaus major-k via use-livecode
Hi Jaqueline,

> Am 08.12.2021 um 22:08 schrieb J. Landman Gay via use-livecode 
> :
> 
> On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote:
>> Hi all,
>> I just created an APK with LC 9.6.5 and found
>> another file beneath the actual APK file in the folder.
>> Like this:
>> Name of app.apk
>> Name of app.apk.idsig -> ca. 160 KB
>> Is this new? And what is it good for?
>> Thanks for any hints!
> It's new since LC implemented app bundles.

AHA! :-)

> I looked it up, but aside from info about app signing, I didn't find a real 
> use for it.
> I leave it in place in the folder and ignore it. You don't need to distribute 
> it with the apk.

OK, thanks for the hints, much appreciated!

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

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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: APK and an idsig file?

2021-12-08 Thread J. Landman Gay via use-livecode

On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote:

Hi all,

I just created an APK with LC 9.6.5 and found
another file beneath the actual APK file in the folder.

Like this:
Name of app.apk
Name of app.apk.idsig -> ca. 160 KB

Is this new? And what is it good for?
Thanks for any hints!


It's new since LC implemented app bundles. I looked it up, but aside from info about app 
signing, I didn't find a real use for it. I leave it in place in the folder and ignore it. You 
don't need to distribute it with the apk.


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


Re: Android SDK

2021-12-08 Thread J. Landman Gay via use-livecode
Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my 
phone, which also worked yesterday. So I tried again to build an apk and that now works too, 
though the prefs still show red and report the SDK is invalid (LC 9.6.5.)


There is something weird going on though. I can only build directly to my phone if I choose 
Test from the Development menu. If I just click the Test button in the toolbar I get a dialog 
that says "Android " which is the ID of my phone. Occasionally the menu item does 
the same, but usually it works.


I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could 
you leave the RC versions up for a few weeks so we could backtrack if necessary?



On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote:
I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app 
since I installed Big Sur.


I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 
(28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older 
installations still in place.


In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for 
the entire SDK folder and all its contents.


LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but 
now all my LC apps say the folder is invalid.


So now what?



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


RE: LC 9.5.6, Android and JSONToArray

2021-12-08 Thread Ralph DiMola via use-livecode
Dan,

Same problem with tsNet. The pro was the second license and as in previous 
version I just blew past the licensing dialog without reading. After I 
re-licensed and clicked the right arrow and selected the pro license(clearly 
marked) I was good to go. Although I assumed... Maybe the highest level of 
license should be the default? 

Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
panagiotis m via use-livecode
Sent: Wednesday, December 08, 2021 4:52 AM
To: Dan Friedman
Cc: panagiotis m; How to use LiveCode
Subject: Re: LC 9.5.6, Android and JSONToArray

Hello Dan,

I reply here so that other affected users can see it. So, the culprit was that 
Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated 
with a license that did not include this feature.

Dan had another license that did include the "pro" features (i.e. remote 
debugger, pdf widget etc), and once he relicensed LC with this license,
JSONToArray() worked as expected.

What happened under the hood was that an error was thrown when the standalone 
was trying to load the Remote Debugger library on startup, and this error 
prevented all the other included libraries (including mergJSON) to load. This 
is a bug we should fix - i.e. the standalone builder should only include 
libraries that are licensed.

You can check if your current license has the pro features using "put the 
editionType". If it returns "professional", you do have them. If it returns 
"commercial", you do not.

Hope this helps.

Kind regards,
Panos
--

On Mon, 6 Dec 2021 at 17:48, Dan Friedman  wrote:

> Panos,
>
> Thank you for the reply.  Sorry about the typo... the versions are:
>
> 9.6.4 -- WORKING
> 9.6.5 -- NOT WORKING
>
> And, yes.  I have "mergJSON" selected (as well as "JSON Library").
>
> FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 
> might be resolved in 9.6.5.  (
> http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.htm
> l)
>
>
> - Dan
>
>
>
> On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> Hello Dan,
>
> Could you please confirm the working and non-working versions? 
> There is no
> 9.5.6 or 9.5.4 version of LiveCode.
>
> Also, to use JSONToArray() you have to include "mergJSON" in the
> Inclusions, not  "JSON Library". The  "JSON Library" is needed for
> "JSONImport" and "JSONExport" functions.
>
> Hope this helps.
>
> Cheers,
> Panos
>
> On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I just built an app for Android in 9.5.6.  I am finding that
> JSONToArray()
> > isn't working.   I built the same app in 9.5.4, and JSONToArray()
> works
> > just fine.  (Yes, I have "JSON Library" selected in the 
> Inclusions in the
> > Standalone Application Settings).   Is this a bug or is
> JSONToArray() no
> > longer supported in 9.5.6?
> >
> > Any advice or knowledge would be appreciated.
> >
> > -Dan
> >
> > ___
> > 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: PDF Viewer widget - how to enable interaction?

2021-12-08 Thread doc hawk via use-livecode

keith kayaked,

> Hi folks,
> Can anyone share any experiences with the PDF Viewer widget that’s available 
> via the old Business Edition or Pro Pack subscription?

I had great hopes and excitement.

I rearranged my project to use it.

All looked great on screen.

And then I found that it turns its output of pdfs to 72dpi.

And cried.



___
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


APK and an idsig file?

2021-12-08 Thread Klaus major-k via use-livecode
Hi all,

I just created an APK with LC 9.6.5 and found 
another file beneath the actual APK file in the folder.

Like this:
Name of app.apk
Name of app.apk.idsig -> ca. 160 KB

Is this new? And what is it good for?
Thanks for any hints!


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


Android SDK

2021-12-08 Thread J. Landman Gay via use-livecode
I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app 
since I installed Big Sur.


I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 
(28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older 
installations still in place.


In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for 
the entire SDK folder and all its contents.


LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but 
now all my LC apps say the folder is invalid.


So now what?
--
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


Re: Ghost in the Machine?

2021-12-08 Thread Alex Tweedly via use-livecode

Hi Peter,

just checking if I have understood this right.

I think you have a website / webpage which allows the user to view / 
update a single entry (i.e. "manual on-line form with 20+ fields").


If that is the case, I'd consider writing an app to take in the file of 
rows of details, and insert that using a browser widget. See 
https://forums.livecode.com/viewtopic.php?t=33074 or other similar 
discussions.  (Not done it myself, but looks reasonably straightforward).


Alex.

On 08/12/2021 14:05, Peter Reid via use-livecode wrote:

I'm trying to provide an upload facility for an existing on-line club 
membership app. This app has a bulk loading facility for initial set up and is 
designed for whole database configuration. In addition the app provides a 
manual on-line form with 20+ fields making up a member's record.

Ideally my user would use a facility to upload 1 or more files with rows of 
details , each row containing a collection of all the inputs for my user to 
use. Sadly, there's no bulk loading facility, so the user has to type in most 
of the details from the membership form.

So here comes the 'Ghost' bit, is it possible to make an LC app that mimics 
keyboard and mouse inputs as if the user was there interacting with the on-line 
form? If I can do this my user would have a file of inputs which they could 
send to the membership database, sit back and watch the ghostly app 'type' and 
'mouse click' their way through completing the on-line form.

Any suggestions please?

Peter
--
Peter Reid
Loughborough, UK


___
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: Ghost in the Machine?

2021-12-08 Thread Tom Glod via use-livecode
I don't know about moving the mouse around but u can have a fake png of
a cursor move around...and then send mouseUps to buttons. and also u
can put text into a field 1 character at a time to simulate typing.

This is entirely doable in LC.

On Wed, Dec 8, 2021 at 9:06 AM Peter Reid via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I'm trying to provide an upload facility for an existing on-line club
> membership app. This app has a bulk loading facility for initial set up and
> is designed for whole database configuration. In addition the app provides
> a manual on-line form with 20+ fields making up a member's record.
>
> Ideally my user would use a facility to upload 1 or more files with rows
> of details , each row containing a collection of all the inputs for my user
> to use. Sadly, there's no bulk loading facility, so the user has to type in
> most of the details from the membership form.
>
> So here comes the 'Ghost' bit, is it possible to make an LC app that
> mimics keyboard and mouse inputs as if the user was there interacting with
> the on-line form? If I can do this my user would have a file of inputs
> which they could send to the membership database, sit back and watch the
> ghostly app 'type' and 'mouse click' their way through completing the
> on-line form.
>
> Any suggestions please?
>
> Peter
> --
> Peter Reid
> Loughborough, UK
>
>
> ___
> 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
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
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 to Datagrid

2021-12-08 Thread Tom Glod via use-livecode
JSONToArray works well for me if your JSON is correct.
Always use try when decoding from JSON to catch any errors.

On Wed, Dec 8, 2021 at 12:58 PM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> completely off the top of my head, so this might not be quite right
> jsonToArray
> set the dgData of group "datagrid 1" to 
>
> On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Skip,
> > I don’t use Datagrids but have used a two-step process to get JSON into
> > the Tree widget and a similar process may provide a direction of travel
> to
> > test…?
> >
> > 1. JSON-to-array
> >
> https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file
> > 2. Setting the array data of datagrid…
> >
> > Good luck.
> > Best,
> > Keith
> >
> > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > I have been googling a solution for this but have not found a solid
> > > solution for this.
> > >
> > > Can anybody lead me in the right direction on this?
> > >
> > > SKIP
> > > ___
> > > 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
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
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 to Datagrid

2021-12-08 Thread Mike Kerner via use-livecode
completely off the top of my head, so this might not be quite right
jsonToArray
set the dgData of group "datagrid 1" to 

On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Skip,
> I don’t use Datagrids but have used a two-step process to get JSON into
> the Tree widget and a similar process may provide a direction of travel to
> test…?
>
> 1. JSON-to-array
> https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file
> 2. Setting the array data of datagrid…
>
> Good luck.
> Best,
> Keith
>
> > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have been googling a solution for this but have not found a solid
> > solution for this.
> >
> > Can anybody lead me in the right direction on this?
> >
> > SKIP
> > ___
> > 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: JSON to Datagrid

2021-12-08 Thread Keith Clarke via use-livecode
Hi Skip,
I don’t use Datagrids but have used a two-step process to get JSON into the 
Tree widget and a similar process may provide a direction of travel to test…?

1. JSON-to-array 
https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file
 
2. Setting the array data of datagrid…

Good luck.
Best,
Keith

> On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode 
>  wrote:
> 
> I have been googling a solution for this but have not found a solid
> solution for this.
> 
> Can anybody lead me in the right direction on this?
> 
> SKIP
> ___
> 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: Android: Sign for development only

2021-12-08 Thread Klaus major-k via use-livecode
Hi Jaques,

> Am 08.12.2021 um 17:34 schrieb J. Landman Gay via use-livecode 
> :
> 
> I did answer but you may not have received it.

yes, didn't receive this one!?

> I miss occasional posts too sometimes.
> 

aha, OK, thank you! :-)

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

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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: Android: Sign for development only

2021-12-08 Thread J. Landman Gay via use-livecode
I did answer but you may not have received it. I miss occasional posts too 
sometimes.




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 8, 2021 4:07:20 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode 
:


Hi friends,

does it have any limitations if I "Sign for development only"?

I mean, once the user defined the URL to the APK as "trustworthy"
in his security settings on his/her cellphone, he/she can download
and install the app without any problems and dialogs.

I tried with a "selfsigning certificate", worked fine, but the user gets
two warning dialogs:
1. Unknown developer...
2. Upldoad app for checking to GOOGLE...

Not as nice as an unsigned app, see above. :-)

Too bad you can ONLY pay the developer fee via a CREDITCARD!
Big fun, Google!

OK, any hints welcome!


any takers or impossible to answer?


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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 to Datagrid

2021-12-08 Thread Skip Kimpel via use-livecode
To functions actually needed... need to be able to convert to a datagrid
and I will be also pumping this data into a SQL server.

SKIP

On Wed, Dec 8, 2021 at 11:15 AM Skip Kimpel  wrote:

> I have been googling a solution for this but have not found a solid
> solution for this.
>
> Can anybody lead me in the right direction on this?
>
> SKIP
>
___
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


JSON to Datagrid

2021-12-08 Thread Skip Kimpel via use-livecode
I have been googling a solution for this but have not found a solid
solution for this.

Can anybody lead me in the right direction on this?

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


PDF Viewer widget - how to enable interaction?

2021-12-08 Thread Keith Clarke via use-livecode
Hi folks,
Can anyone share any experiences with the PDF Viewer widget that’s available 
via the old Business Edition or Pro Pack subscription?

I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the 
PDF guide https://livecode.com/resources/guide/ I’ve been able to load various 
PDF documents into the viewer widget and view, paginate, scroll, etc. I can 
select text, as per the example code in the guide and this ability to select 
toggles with the autoHighlight property on the widget - as expected. However, 
I’m struggling to get much else.

The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, 
in that they seem to lack any of the interactive behaviour available when 
opened in Preview or Adobe reader. There are no hovers or navigation on obvious 
links or bookmarks. Furthermore, other than documentPages and documentMetadata, 
all of the arrays that should handle these navigation elements are empty - 
documentBookmarks, documentNamedDestination, linkStyles.

Maybe I’ve missed another property that needs to be set to enable interaction? 
I don’t see any obvious setting to change in the dictionary, the LC guide doc, 
LC forums or online sources of documentation.

Any clues gratefully received...
Best,
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


Ghost in the Machine?

2021-12-08 Thread Peter Reid via use-livecode
I'm trying to provide an upload facility for an existing on-line club 
membership app. This app has a bulk loading facility for initial set up and is 
designed for whole database configuration. In addition the app provides a 
manual on-line form with 20+ fields making up a member's record.

Ideally my user would use a facility to upload 1 or more files with rows of 
details , each row containing a collection of all the inputs for my user to 
use. Sadly, there's no bulk loading facility, so the user has to type in most 
of the details from the membership form.

So here comes the 'Ghost' bit, is it possible to make an LC app that mimics 
keyboard and mouse inputs as if the user was there interacting with the on-line 
form? If I can do this my user would have a file of inputs which they could 
send to the membership database, sit back and watch the ghostly app 'type' and 
'mouse click' their way through completing the on-line form.

Any suggestions please?

Peter
--
Peter Reid
Loughborough, UK


___
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: Android: Sign for development only

2021-12-08 Thread Klaus major-k via use-livecode
Hi friends,

> Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> does it have any limitations if I "Sign for development only"?
> 
> I mean, once the user defined the URL to the APK as "trustworthy" 
> in his security settings on his/her cellphone, he/she can download 
> and install the app without any problems and dialogs.
> 
> I tried with a "selfsigning certificate", worked fine, but the user gets
> two warning dialogs:
> 1. Unknown developer...
> 2. Upldoad app for checking to GOOGLE...
> 
> Not as nice as an unsigned app, see above. :-)
> 
> Too bad you can ONLY pay the developer fee via a CREDITCARD!
> Big fun, Google!
> 
> OK, any hints welcome!

any takers or impossible to answer?


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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.5.6, Android and JSONToArray

2021-12-08 Thread panagiotis m via use-livecode
Hello Dan,

I reply here so that other affected users can see it. So, the culprit was
that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was
activated with a license that did not include this feature.

Dan had another license that did include the "pro" features (i.e. remote
debugger, pdf widget etc), and once he relicensed LC with this license,
JSONToArray() worked as expected.

What happened under the hood was that an error was thrown when the
standalone was trying to load the Remote Debugger library on startup, and
this error prevented all the other included libraries (including mergJSON)
to load. This is a bug we should fix - i.e. the standalone builder should
only include libraries that are licensed.

You can check if your current license has the pro features using "put the
editionType". If it returns "professional", you do have them. If it returns
"commercial", you do not.

Hope this helps.

Kind regards,
Panos
--

On Mon, 6 Dec 2021 at 17:48, Dan Friedman  wrote:

> Panos,
>
> Thank you for the reply.  Sorry about the typo... the versions are:
>
> 9.6.4 -- WORKING
> 9.6.5 -- NOT WORKING
>
> And, yes.  I have "mergJSON" selected (as well as "JSON Library").
>
> FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245
> might be resolved in 9.6.5.  (
> http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html)
>
>
> - Dan
>
>
>
> On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> Hello Dan,
>
> Could you please confirm the working and non-working versions? There
> is no
> 9.5.6 or 9.5.4 version of LiveCode.
>
> Also, to use JSONToArray() you have to include "mergJSON" in the
> Inclusions, not  "JSON Library". The  "JSON Library" is needed for
> "JSONImport" and "JSONExport" functions.
>
> Hope this helps.
>
> Cheers,
> Panos
>
> On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I just built an app for Android in 9.5.6.  I am finding that
> JSONToArray()
> > isn't working.   I built the same app in 9.5.4, and JSONToArray()
> works
> > just fine.  (Yes, I have "JSON Library" selected in the Inclusions
> in the
> > Standalone Application Settings).   Is this a bug or is
> JSONToArray() no
> > longer supported in 9.5.6?
> >
> > Any advice or knowledge would be appreciated.
> >
> > -Dan
> >
> > ___
> > 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