LC Server - Check for Screen size?

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Sat Mar 20 18:10:24 EDT 2021


As Livecode Server runs on the server  there is no direct command/function in LC Server available for this task.

But you could use Javascript (document.cookie)  in your LC Server script  to write the screen resolution into a cookie and read that cookie then with your Livecode Server script.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 20.03.2021 um 22:59 schrieb Rick Harrison via use-livecode <use-livecode at lists.runrev.com>:
> 
> I was wondering if there is anyway to check for the
> device type or screen size of the connected device
> for LC Server so I can serve the correct size screen?
> 
> Thanks,
> 
> Rick
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list