Re: How do I shorten this script? Use 'repeat with'?

2020-11-13 Thread J. Landman Gay via use-livecode
Here's another way: set the loc of grc "k1" to the loc of this cd repeat with x = 2 to 4 set the topleft of grc ("K" & x) to the topright of grc ("k" & x-1) set the left of grc ("k" & x) to the left of grc ("k" & x) - 1 end repeat I find it easier to move the graphic one pixel in

Anyone heard of "App Clips"?

2020-11-13 Thread Dan Friedman via use-livecode
I have a client asking for us to implement a "App Clip". Anyone know if LC can deal with this? https://developer.apple.com/app-clips/ -Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Sensor questions

2020-11-13 Thread Graham Samuel via use-livecode
A couple of more general questions about mobile sensor functions in LC. 1. The dictionary seems to offer messages only from those sensors which are associated with native sensors in the device such as an accelerometer. Suppose I have an external sensor, for example a heart monitor connected via

Re: Reading key values in info.plist file iOS or Mac using XML library?

2020-11-13 Thread Paul Dupuis via use-livecode
On 11/12/2020 8:32 PM, matthias rebbe via use-livecode wrote: Are you using the xml library for that? Anyway, would you like to share your handler? Yes, and yes (below). tDocTypes contains a cr delimited list of addition document types to add to the pList file. Also, the old use of

Re: How do I shorten this script? Use 'repeat with'?

2020-11-13 Thread Håkan Liljegren via use-livecode
Great! For me it works without adding 'the name of grc ”k1”‘. This works perfectly:    set the loc of grc "k1" to the width of this card/2, the height of this card/2    put "k1" into tPrevious    repeat with i = 2 to 5       put "k" & i into tName       set the topleft of grc tName to item 1 of