Re: LiveCode and Websockets

2018-11-22 Thread Tom Glod via use-livecode
ps > requires websocketd to go along with it.

On Fri, Nov 23, 2018 at 1:46 AM Tom Glod  wrote:

> Todd, this was posted here a little while ago..haven't tested it, but
> apparently its websockets for livecode.  Let us know how it goes.
>
> https://github.com/samansjukur/wslc
>
> On Fri, Nov 23, 2018 at 1:10 AM Charles Warwick via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi Todd,
>>
>> Depending on what platforms you need to support, I have a socket external
>> for LiveCode that includes the ability to use websockets.
>>
>> Cheers,
>>
>> Charles
>>
>> > On 23 Nov 2018, at 4:09 pm, Todd Fabacher via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > We have hot a wall because we have an API that is ONLY accessible via a
>> > call to Socket.io server using Websockets.
>> >
>> > Richard Gaskin, I remember you were looking into this last year, any
>> > success from your research.
>> >
>> > It seems the best way would be to open a web browser and code the
>> > communications using Javascript, which would then all a LiveCode
>> function
>> > on the callback.
>> >
>> > Any suggestions would be appreciated!!
>> >
>> > Much Thanks,
>> >
>> > --Todd
>> > ___
>> > 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: LiveCode and Websockets

2018-11-22 Thread Tom Glod via use-livecode
Todd, this was posted here a little while ago..haven't tested it, but
apparently its websockets for livecode.  Let us know how it goes.

https://github.com/samansjukur/wslc

On Fri, Nov 23, 2018 at 1:10 AM Charles Warwick via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Todd,
>
> Depending on what platforms you need to support, I have a socket external
> for LiveCode that includes the ability to use websockets.
>
> Cheers,
>
> Charles
>
> > On 23 Nov 2018, at 4:09 pm, Todd Fabacher via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > We have hot a wall because we have an API that is ONLY accessible via a
> > call to Socket.io server using Websockets.
> >
> > Richard Gaskin, I remember you were looking into this last year, any
> > success from your research.
> >
> > It seems the best way would be to open a web browser and code the
> > communications using Javascript, which would then all a LiveCode function
> > on the callback.
> >
> > Any suggestions would be appreciated!!
> >
> > Much Thanks,
> >
> > --Todd
> > ___
> > 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: LiveCode and Websockets

2018-11-22 Thread Charles Warwick via use-livecode
Hi Todd,

Depending on what platforms you need to support, I have a socket external for 
LiveCode that includes the ability to use websockets.

Cheers,

Charles

> On 23 Nov 2018, at 4:09 pm, Todd Fabacher via use-livecode 
>  wrote:
> 
> We have hot a wall because we have an API that is ONLY accessible via a
> call to Socket.io server using Websockets.
> 
> Richard Gaskin, I remember you were looking into this last year, any
> success from your research.
> 
> It seems the best way would be to open a web browser and code the
> communications using Javascript, which would then all a LiveCode function
> on the callback.
> 
> Any suggestions would be appreciated!!
> 
> Much Thanks,
> 
> --Todd
> ___
> 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


LiveCode and Websockets

2018-11-22 Thread Todd Fabacher via use-livecode
We have hot a wall because we have an API that is ONLY accessible via a
call to Socket.io server using Websockets.

Richard Gaskin, I remember you were looking into this last year, any
success from your research.

It seems the best way would be to open a web browser and code the
communications using Javascript, which would then all a LiveCode function
on the callback.

Any suggestions would be appreciated!!

Much Thanks,

--Todd
___
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: Max number of columns in a datagrid?

2018-11-22 Thread Geoff Canyon via use-livecode
It's not relevant to the current discussion, but wy back when, I worked
with a guy who had created some monster spreadsheets in Excel with
something like 9,000 columns. It was working, but it was incredibly slow --
this was running on 68k Macs. Not expecting success, I suggested he give
FileMaker a shot. He did, and amazingly, not only did it happily handle
database definitions with 9,000 fields, it was not just faster than Excel,
it was actually speedy. It had zero problems, and he built out the entirety
of his solution that way.

On Thu, Nov 22, 2018 at 1:05 PM JJS via use-livecode <
use-livecode@lists.runrev.com> wrote:

> you mean like this one:
>
>
> https://www.legamaster.com/products/product/interactive-products/e-screen-interactive-touch-monitors/ptx-9800uhd-e-screen-8713797081610/?no_cache=1=158c87c7f0527df039ce11bc76eae9ab
>
>
> But who can cope with 1500 columns, most people would stop and lost
> track before reaching the 50th
>
> What kind of data is that?
>
>
> Op 21-11-2018 om 22:39 schreef dunbarxx via use-livecode:
> > People with wide monitors?
> >
> >
> >
> > --
> > 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: Max number of columns in a datagrid?

2018-11-22 Thread JJS via use-livecode

you mean like this one:

https://www.legamaster.com/products/product/interactive-products/e-screen-interactive-touch-monitors/ptx-9800uhd-e-screen-8713797081610/?no_cache=1=158c87c7f0527df039ce11bc76eae9ab


But who can cope with 1500 columns, most people would stop and lost 
track before reaching the 50th


What kind of data is that?


Op 21-11-2018 om 22:39 schreef dunbarxx via use-livecode:

People with wide monitors?



--
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: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
Thank you all for your responses, they helped me solve the problem for my part. 
It is indeed the Adobe web Plugin that is the key to this. Although I have 
never checked that I would like to use this plugin, it seems as if just 
launching Acrobat will do this automatically. In the Acrobat preferences the 
check button for this  is set to true, and the button is disabled. I ended up 
removing Acrobat from the system, but I could probably have followed Hermans 
advice and just remove the plugin from the Internet plains folder.

Now I have to ask my student to do the same in order to have the pdf-files 
displayed without all the bells and whistles provided by the plugin.

Best regards
Tore Nilsen









> 22. nov. 2018 kl. 18:06 skrev Klaus major-k via use-livecode 
> :
> 
> Hi Tore,
> 
>> Am 22.11.2018 um 18:01 schrieb Tore Nilsen via use-livecode 
>> :
>> I don’t think so, as the default app is set to be Preview on both machines. 
>> In fact I had forgot I had Acrobat installed on my laptop.
>> Tore Nilsen
>>> Could this be related to the default app that handles PDF on your Mac?
>>> Thanks,
>>> Brian
 I have come across a puzzling phenomenon in how the browser widget handles 
 pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. 
 Here, the browser widget displays pdf-files without any hiccups. On my 
 MacBook I have Adobe Acrobat installed, and the browser widget seems to 
 use Adobe Acrobat to display pdf-files inside the widget. When I remove 
 Adobe Acrobat from the application folder, trying to view a pdf-file in 
 the browser widget will prompt me to locate either Adobe Acrobat or Adobe 
 Reader. Are there any way I can «force» the widget to ignore Acrobat or 
 Reader entirely, and will I be able to view pdf-files in the widget on 
 bothMac and Windows if I do so?
 Best Regards
 Tore Nilsen
> 
> I don't think we can do anything against this, since if a user (like you) has 
> installed Acrobat Reader and has checked "Use Web plugin"
> (or what the correct wording is) somewhere in the Acrobat preferences, that 
> will override the "default" behavior of the underlying webkit 
> on Mac, which Safari uses, too, to display PDFs "natively".
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> 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: Browser widget and PDFs

2018-11-22 Thread hh via use-livecode
If the PDF is embedded by ordinary HTML (= set url of the
browser widget or use in its htmlText ,  or
) then you can't decide for the user which plugin
to use.

But the user can force this for himself by moving the
corresponding plugin(s) in/out of the plugins-folder
(which is on Mac "/Library/Internet Plug-ins").

Controlling is fully possible because the user cannot
disable JavaScript for the browser widget. So you can
use the rendering library "pdf.js":
https://mozilla.github.io/pdf.js/
(which drives the Firefox and Opera PDF-viewer).
This isn't easy to implement if CORS isn't available, but
you can use base64-encoded data URLs without problems.

___
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: Browser widget and PDFs

2018-11-22 Thread Klaus major-k via use-livecode
Hi Tore,

> Am 22.11.2018 um 18:01 schrieb Tore Nilsen via use-livecode 
> :
> I don’t think so, as the default app is set to be Preview on both machines. 
> In fact I had forgot I had Acrobat installed on my laptop.
> Tore Nilsen
>> Could this be related to the default app that handles PDF on your Mac?
>> Thanks,
>> Brian
>>> I have come across a puzzling phenomenon in how the browser widget handles 
>>> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. 
>>> Here, the browser widget displays pdf-files without any hiccups. On my 
>>> MacBook I have Adobe Acrobat installed, and the browser widget seems to use 
>>> Adobe Acrobat to display pdf-files inside the widget. When I remove Adobe 
>>> Acrobat from the application folder, trying to view a pdf-file in the 
>>> browser widget will prompt me to locate either Adobe Acrobat or Adobe 
>>> Reader. Are there any way I can «force» the widget to ignore Acrobat or 
>>> Reader entirely, and will I be able to view pdf-files in the widget on 
>>> bothMac and Windows if I do so?
>>> Best Regards
>>> Tore Nilsen

I don't think we can do anything against this, since if a user (like you) has 
installed Acrobat Reader and has checked "Use Web plugin"
(or what the correct wording is) somewhere in the Acrobat preferences, that 
will override the "default" behavior of the underlying webkit 
on Mac, which Safari uses, too, to display PDFs "natively".


Best

Klaus

--
Klaus Major
http://www.major-k.de
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: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
I don’t think so, as the default app is set to be Preview on both machines. In 
fact I had forgot I had Acrobat installed on my laptop.


Tore Nilsen








> 22. nov. 2018 kl. 17:56 skrev Brian Milby via use-livecode 
> :
> 
> Could this be related to the default app that handles PDF on your Mac?
> 
> Thanks,
> Brian
> On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode 
> , wrote:
>> I have come across a puzzling phenomenon in how the browser widget handles 
>> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, 
>> the browser widget displays pdf-files without any hiccups. On my MacBook I 
>> have Adobe Acrobat installed, and the browser widget seems to use Adobe 
>> Acrobat to display pdf-files inside the widget. When I remove Adobe Acrobat 
>> from the application folder, trying to view a pdf-file in the browser widget 
>> will prompt me to locate either Adobe Acrobat or Adobe Reader.
>> 
>> Are there any way I can «force» the widget to ignore Acrobat or Reader 
>> entirely, and will I be able to view pdf-files in the widget on bothMac and 
>> Windows if I do so?
>> 
>> 
>> Best 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: Browser widget and PDFs

2018-11-22 Thread Brian Milby via use-livecode
Could this be related to the default app that handles PDF on your Mac?

Thanks,
Brian
On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode 
, wrote:
> I have come across a puzzling phenomenon in how the browser widget handles 
> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, 
> the browser widget displays pdf-files without any hiccups. On my MacBook I 
> have Adobe Acrobat installed, and the browser widget seems to use Adobe 
> Acrobat to display pdf-files inside the widget. When I remove Adobe Acrobat 
> from the application folder, trying to view a pdf-file in the browser widget 
> will prompt me to locate either Adobe Acrobat or Adobe Reader.
>
> Are there any way I can «force» the widget to ignore Acrobat or Reader 
> entirely, and will I be able to view pdf-files in the widget on bothMac and 
> Windows if I do so?
>
>
> Best 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

Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
I have come across a puzzling phenomenon in how the browser widget handles 
pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, 
the browser widget displays pdf-files without any hiccups. On my MacBook I have 
Adobe Acrobat installed, and the browser widget seems to use Adobe Acrobat to 
display pdf-files inside the widget. When I remove Adobe Acrobat from the 
application folder, trying to view a pdf-file in the browser widget will prompt 
me to locate either Adobe Acrobat or Adobe Reader.

Are there any way I can «force» the widget to ignore Acrobat or Reader 
entirely, and will I be able to view pdf-files in the widget on bothMac and 
Windows if I do so?


Best 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

Re: iOS sharing extension

2018-11-22 Thread David Bovill via use-livecode
Great - I was hoping that it would use the custom url stuff. Has anyone
done this? Would be great to have some demo code + plist to work of a an
example.

On Tue, 20 Nov 2018 at 18:40, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You need to do two things:
>
> - add code in your app to handle the "urlWakeUp" message, see the
> dictionary
> entry and
> http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes
>
> - add entries in the app's plist to tell the operating system what file
> types
> your app can handle, see
>
> https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685
>
> The latter is the bit you need to do for iOS - not sure what the Android
> equivalent is.
>
>
> On 19/11/2018 20:35, David Bovill via use-livecode wrote:
> > How could I create the ability for Livecode mobile apps - say iOS but
> > ideally also on Android) to add the ability for other apps to share to
> them?
> >
> > -
> >
> https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html
> >
> > I can't find any thread here or in the forums?
> > ___
> > 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