Re: IP address and Country

2022-11-15 Thread harrison--- via use-livecode
Hi Alex, Sorry, it’s been a really busy day here. I can’t get back to this problem until tomorrow. Don’t drag out your C code just yet, I have some ideas to try. Thanks, Rick > On Nov 15, 2022, at 1:35 PM, Alex Tweedly via use-livecode > wrote: > > Hi Rick, > > I had missed the fact that y

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi all, looks like this is a known bug: > Am 15.11.2022 um 20:17 schrieb Klaus major-k via use-livecode > : > > Hi Brian, > > I now have the proof that mergAV DOES in fact needs global coordinates. > Thanks for that, Matthias! > > This (as

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi Brian, I now have the proof that mergAV DOES in fact needs global coordinates. Thanks for that, Matthias! This (as found in the dictionary) gives you the offset: ... mergAVCamSet "rect",the rect of graphic "qr_ios" ... However THIS is neccessary to make it work correctly: ... put the topleft

Re: IP address and Country

2022-11-15 Thread Alex Tweedly via use-livecode
Hi Rick, I had missed the fact that you said you already had the database - that makes it a much easier problem :-) While I don't have any Livecode code for this, I do have some C code for a (probably) very similar problem. If you can describe the format of your database, and the query you

Re: IP address and Country

2022-11-15 Thread harrison--- via use-livecode
Hi Martin, Thanks for the information, but what I really want is a LiveCode solution that doesn’t depend on third parties. I have the database. I was asking if other people here had come up with a fast LiveCode solution. If all else fails, I will look into one of the third party suggestions, but

Re: itemoffset & wholematches

2022-11-15 Thread jbv via use-livecode
Again guys, thank you for your suggestions. But finally I gave up using itemoffset and worked with arrays instead, which is much much faster : my script processes the 6 variables in less than 15 secs. ___ use-livecode mailing list use-livecode@list

Re: itemoffset & wholematches

2022-11-15 Thread Bob Sneidar via use-livecode
If the data always contains the same number of items, I again highly recommend pushing everything to a memory based sqLite file then doing queries on it. Bob S On Nov 15, 2022, at 04:50 , Alex Tweedly via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi, I don't know if this wil

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi Brian, > Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode > : > > I know that inside any native control, things are drawn at native resolution. > A good way to see this is a browser widget. So I’m thinking that that is > going to apply in the other direction too. You will need

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Brian Milby via use-livecode
I know that inside any native control, things are drawn at native resolution. A good way to see this is a browser widget. So I’m thinking that that is going to apply in the other direction too. You will need to convert your card coordinates to native coordinates to place the control. I might

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi Brian, > Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode > : > > What fullscreenmode are you using on that card? I use "showall". However I resized the stack proportionally to the aspect ration of the device, so it "behaves" like fullscreenmode "exactfit". > Brian Milby > br...@

Re: itemoffset & wholematches

2022-11-15 Thread Alex Tweedly via use-livecode
Hi, I don't know if this will be faster, slower, or what !?! Something like   put myVar into tCopy   replace CR with TAB in tCopy   put itemoffset("incertain", tCopy) into tmp   put the number of chars in item 1 to (tmp-1) of tCopy into tCharCount   put the number of items in char 1 to tCh

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Brian Milby via use-livecode
What fullscreenmode are you using on that card? Brian Milby br...@milby7.com > On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode > wrote: > > Hi all, > > I do not won an iPhone, but some users told me that > scanning a barcode will show the previewarea way off > from where I defin

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Tore Nilsen via use-livecode
> 15. nov. 2022 kl. 11:38 skrev Klaus major-k via use-livecode > : > > Hi Tore, > >> Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode >> : >> >>> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode >>> : >>> I do not OWN an iPhone, … >> But you won one? And you have not

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi Tore, > Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode > : > >> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode >> : >> I do not OWN an iPhone, … > But you won one? And you have not received it yet? And therefore you cannot > make any tests yourself? no, no and no

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Tore Nilsen via use-livecode
> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode > : > > I do not OWN an iPhone, … But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? Best regards Tore Nilsem ___ use-livecode mailin

mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi all, I do not OWN an iPhone, ... Sorry. -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage you

mergAV uses GLOBAL coordinates?

2022-11-15 Thread Klaus major-k via use-livecode
Hi all, I do not won an iPhone, but some users told me that scanning a barcode will show the previewarea way off from where I definde it. Here part of my script: on mergAVMediaAccess pType, pGranted mergAVCamSet "microphone", empty mergAVCamCreate ## Se

Re: itemoffset & wholematches

2022-11-15 Thread jbv via use-livecode
Hi guys, Thank you all for your answers. Actually I thought that some "hierarchy"remained (items inside lines) when using itemoffset, but obviously I was wrong. I have about 6 variables to check, so I need my script to be as fast as possible. I use "replace CR with TAB & CR & TAB in ...", but