Re: LC Server - Check for Screen size?

2021-03-20 Thread Rick Harrison via use-livecode
Hi Matthias, So you are thinking something like: Your Screen: var txt = ""; txt += "

Total width/height: " + screen.width + "*" + screen.height + "

"; txt += "

Available width/height: " + screen.availWidth + "*" + screen.availHeight + "

"; txt += "

Color depth: " +


Re: LC Server - Check for Screen size?

2021-03-20 Thread matthias rebbe via use-livecode
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.

LC Server - Check for Screen size?

2021-03-20 Thread Rick Harrison via use-livecode
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

Re: Help! I'm stuck

2021-03-20 Thread ELS Prothero via use-livecode
Thank you, Matthias! I’ll try that. Best, Bill William Prothero https://earthlearningsolutions.org > On Mar 20, 2021, at 1:39 PM, matthias rebbe via use-livecode > wrote: > > Bill, > > i've just checked the release notes of 9.0.x > The release notes of 9.0.2 contain updated information

Re: Help! I'm stuck

2021-03-20 Thread matthias rebbe via use-livecode
Bill, i've just checked the release notes of 9.0.x The release notes of 9.0.2 contain updated information about this topic and an enhanced script example. opencard scripts should also be adjusted. https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf Please excuse me for

Re: numberformat question

2021-03-20 Thread Paul Dupuis via use-livecode
I don't have an answer, other than to say there has been a LOT of discussion over the years about the limits of number precision in LiveCode and a number of enhancement requests and 3rd party libraries that have attempted to provide a framework for high precision math. You might search the

numberformat question

2021-03-20 Thread jbv via use-livecode
Hi list, I am a bit lost : set numberformat to ".#" put -0.007347880794884118999 / 1000 -- returns -0.07347880794884119 which is ok put -0.007347880794884118999 / 100 -- returns -0.7347880794884 -> also ok put

Re: Help! I'm stuck

2021-03-20 Thread William Prothero via use-livecode
Matthias: I see that openstack and closestack messages are inhibited during application build, using: on closeStack if the mode of stack “revStandaloneProgress” > 0 then exit closeStack end if end So, before I start adding this to all openstack, closestack,

Re: LC Bug: Copying an Image fails

2021-03-20 Thread e.beugelaar--- via use-livecode
Hi Curry, It's always fun to read your comments and conclusions that can be somethimes interpreted in Dutch as: "de redding is nabij". So, a solution is near to come! Nice weekend, Erik Met vriendelijke groet, Erik Beugelaar From: use-livecode on behalf of