resizing and rescaling an object: Is this math/logic ok?

2018-01-18 Thread Nicolas Cueto via use-livecode
Given these values... original STACK-width is tOSW original stack-height is tOSH resized stack-width is tRSW resized stack-height of stack is tRSH original OBJECT rect is tOOR (i.e., left,top,right,bottom) ... and assuming I'm right that ... ratio of stack's width change is tRSWC and equals

Re: gradient selectors

2018-01-18 Thread Mark Wieder via use-livecode
Bug report 20885 submitted. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: gradient selectors

2018-01-18 Thread Mark Wieder via use-livecode
On 01/17/2018 07:43 PM, Paul Hibbert via use-livecode wrote: Both fill and stroke gradients work fine on Mac High Sierra, no delays that I can see and definitely no hang, so it may be a Linux related bug. Thanks for checking, Paul. Yeah, I just confirmed they're working on OSX as well. And

Changes to Google Play submissions

2018-01-18 Thread J. Landman Gay via use-livecode
From the blog: "We’re giving Android developers a heads up about changes coming to Google Play to increase app security and performance. In the second half of 2018, new apps and app updates will be required to target a recent API level. In 2019, new apps and app updates with native libraries

Re: Roadmap: "Automated REST API wrapping"?

2018-01-18 Thread Richard Gaskin via use-livecode
Thanks, Mike. Where do I find the LG 2017 videos? -- Richard Gaskin Fourth World Systems Mike Kerner wrote: I think it was part of a two-fer that Mark and Kevin were doing during the keynote in either July or August or September or October or November On Thu, Jan 18, 2018 at 12:12 PM,

Re: Roadmap: "Automated REST API wrapping"?

2018-01-18 Thread Mike Kerner via use-livecode
I think it was part of a two-fer that Mark and Kevin were doing during the keynote in either July or August or September or October or November On Thu, Jan 18, 2018 at 12:12 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Mark Waddingham wrote: > > > On 2018-01-17

Re: Reading from xls or xlsx - with style

2018-01-18 Thread Ben Rubinstein via use-livecode
Thanks all for the suggestions. In fact I found that although the docs for xlsx (aka OpenXML aka ECMA-376 aka ISO/IEC 29500) are a dense nightmare*, simply taking a close look at the format shows it's pretty simple to parse by reading the files directly, at least for my needs (just text and

Re: Roadmap: "Automated REST API wrapping"?

2018-01-18 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > On 2018-01-17 04:29, Richard Gaskin via use-livecode wrote: >> The LC Roadmap at includes >> under "Planned": >> >> Automated REST API wrapping >> >> Sounds enticing. What is it? > > This is referring to LiveCode Connect -

Re: How do I delete cloned images with the same name all at once?

2018-01-18 Thread Tore Nilsen via use-livecode
Correction of previous script: on deleteImage put the number of images of this card into tImages repeat with x = sImages down to 1 if last char of the short name of image x is an integer then — you will then keep the image you use as basis for the clones delete image x end if end repeat end

Re: How do I delete cloned images with the same name all at once?

2018-01-18 Thread Tore Nilsen via use-livecode
You do need to count down to 1, otherwise the counter x will become greater than the number of images you have on the card, halfway through the repeat loop. There is also no need to get the ID (neither the long or short ID) as you can simply refer to the image by its number (the counter x). The

Re: How do I delete cloned images with the same name all at once?

2018-01-18 Thread Bob Sneidar via use-livecode
Rather use the long id. Just the id means your statement resolves to "delete 456" or some such thing. The other thing you can do is rename the clones as soon as you create them so you can reference them later. Bob S > On Jan 17, 2018, at 14:42 , Tore Nilsen via use-livecode >

Re: accessing 2 databases in 1 sql query

2018-01-18 Thread Lagi Pittas via use-livecode
Hi Thanks MIke Your a saviour - I read about attach over a year or so ago when I was looking at how pragma works and other stuff like that but had no need till now so totally forgot . Thanks again Lagi On 18 January 2018 at 14:14, Mike Bonner via use-livecode <

Re: accessing 2 databases in 1 sql query

2018-01-18 Thread Mike Bonner via use-livecode
Does this help? http://www.sqlitetutorial.net/sqlite-attach-database/ Short version.. attach database lets you attach another db file to the current connection. So if you have db "contacts" open, and you attach a file AS contacts2 (which is an alias defined during the attach) then you can

Re: post to httpS?

2018-01-18 Thread Klaus major-k via use-livecode
Hi Paul, > Am 18.01.2018 um 14:18 schrieb Paul Richards via use-livecode > : > > I think you might be looking for: libURLSetSSLVerification false YES, that was it, thank you! :-) > regards, > Paul > > -Original Message- > From: use-livecode

RE: post to httpS?

2018-01-18 Thread Paul Richards via use-livecode
I think you might be looking for: libURLSetSSLVerification false regards, Paul -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Klaus major-k via use-livecode Sent: 18 January 2018 13:13 To: How to use LiveCode

Re: post to httpS?

2018-01-18 Thread Klaus major-k via use-livecode
Hi Matthias, > Am 18.01.2018 um 14:06 schrieb Matthias Rebbe via use-livecode > : > > Klaus, > > just tried it here with LC9 DP11 (tsNet) with success. ah, yes tsNet, thank you! Anyone remembers what to set (to false) BEFORE we post something to an HTTPS in

Re: post to httpS?

2018-01-18 Thread Matthias Rebbe via use-livecode
Klaus, just tried it here with LC9 DP11 (tsNet) with success. Regards, Matthias Matthias Rebbe Tel +49 5741 31 ‌https://matthiasrebbe.eu ‌ > Am 18.01.2018 um 13:28 schrieb Klaus major-k via use-livecode >

post to httpS?

2018-01-18 Thread Klaus major-k via use-livecode
Hi friends, I did not POST something to an URL for a long time, so what is the current state, can we POST to HTTPS urls with LC 8/9? Thanks for any hint! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing

accessing 2 databases in 1 sql query

2018-01-18 Thread Lagi Pittas via use-livecode
Hi Sorry if this counts as a double post but I thought I'd cast my net Wieder after no bytes in the forums (both puns intended). https://forums.livecode.com/viewtopic.php?f=12=30481 Basically I want to copy (migrate) a table in 1 database to another with exactly the same number of records and

Re: How do I delete cloned images with the same name all at once?

2018-01-18 Thread Lagi Pittas via use-livecode
Hi William First off - the send is outside the repeat but I assume that's an error in transcribing to the email. but this works on mouseUp local gone, x repeat with x= 1 to the number of images of this card if the short name of image x is "ticket" then put the id of image x

Re: How do I delete cloned images with the same name all at once?

2018-01-18 Thread William de Smet via use-livecode
@Tore and @Mark Thanks! Works fine now. greetings, William 2018-01-18 0:13 GMT+01:00 Mark Wieder via use-livecode < use-livecode@lists.runrev.com>: > On 01/17/2018 02:42 PM, Tore Nilsen via use-livecode wrote: > > Use short name instead of name, this will script will work: >> > >