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