Re: Using the $_POST global in LiveCode server

2018-08-02 Thread Mike Bonner via use-livecode
engines. On Thu, Aug 2, 2018 at 6:03 PM Mike Bonner wrote: > Its been a while since I messed with sessions, but that looks right. I > seem to vaguely remember that there is some version of LC server where > sessions is broken, but I can't recall for sure. What version of server > are

Re: Using the $_POST global in LiveCode server

2018-08-02 Thread Mike Bonner via use-livecode
? And a later version was broken and later fixed) I'll see if I can relocate the info. On Thu, Aug 2, 2018 at 5:53 PM Tim Selander via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks, Mike. > > This seemed like a good hint/possible solution. > > Another though has jus

Re: Using the $_POST global in LiveCode server

2018-08-02 Thread Mike Bonner via use-livecode
I don't really understand what I've read yet, but I think what you're looking for is Post/Redirect/Get (prg) Basically.. Accept the post, process it, redirect to another page without the post. (One example I read basically placed the generated html into a session variable and displayed it after

Re: Data Persistence

2018-07-30 Thread Mike Bonner via use-livecode
> > Bob S > > > > On Jul 30, 2018, at 08:19 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Doh. Been a bit since I did it. Its-- ATTACH DATABASE pathtodb.db as > dbname > > > ___

Re: Too fundamental to be a bug, so what's wrong?

2018-07-30 Thread Mike Bonner via use-livecode
You have to declare it as a global in every script where you use it. It sounds like thats whats going on here. On Mon, Jul 30, 2018 at 2:10 PM tbodine via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > I have a global array containing the value 4. It's stored in >

Re: Home Screen Icon Not Rendered on iOS

2018-07-30 Thread Mike Kerner via use-livecode
s the needed Android icons. > > > > On Jul 30, 2018, at 8:52 AM, panagiotis merakos via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Do the icons have an alpha channel? I *think* they are not allowed to > have > > one. > > > &g

Re: Data Persistence

2018-07-30 Thread Mike Bonner via use-livecode
Doh. Been a bit since I did it. Its-- ATTACH DATABASE pathtodb.db as dbname On Mon, Jul 30, 2018 at 8:55 AM Mike Bonner wrote: > Sorry.. To elaborate, yes you can attach a disk based db to a memory db. > Then you use dot notation to specify which database you're working on. > >

Re: iOS multi-line input field

2018-07-30 Thread Mike Kerner via use-livecode
Second one: I've had a similar problem. I think there's a QR for it First one: Try moving your handler to inputEndEditing, just for giggles On Sun, Jul 29, 2018 at 6:30 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I'm looking at a stack with a multi-line input

Re: Home Screen Icon Not Rendered on iOS

2018-07-30 Thread Mike Kerner via use-livecode
Yes, I've had a similar problem, but I haven't figured it out. I went back and found a couple of icons we had used several years ago. They do work, so I'm also baffled. On Mon, Jul 30, 2018 at 10:11 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Apple continues to give us

Re: Data Persistence

2018-07-30 Thread Mike Bonner via use-livecode
, Jul 30, 2018 at 8:51 AM Mike Bonner wrote: > Yes > > On Mon, Jul 30, 2018 at 8:45 AM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Wait, you can attach a disk based database to a memory database?? >> >> Bob S >> >&g

Re: Data Persistence

2018-07-30 Thread Mike Bonner via use-livecode
Yes wrote: > Wait, you can attach a disk based database to a memory database?? > > Bob S > > > > On Jul 27, 2018, at 15:19 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > On the subject of sqLite/memory databases and

Re: Local images and the browser widget

2018-07-29 Thread Mike Bonner via use-livecode
in it, so not sure how to get it working. Actually, nevermind. If you change spaces in your baseurl to "\ " it may work? I couldn't make it work here (on windows) despite trying a whole bunch of ideas, so I cheated and made sure there were no spaces. On Sun, Jul 29, 2018 at 3:21 PM S

Re: Local images and the browser widget

2018-07-29 Thread Mike Bonner via use-livecode
Sorry, that should have been.. Set the url to "file :///Users/steve/Dropbox/I <http://users/steve/Dropbox/I> TB%20pubEngine/tempMedia/995786d6-4429-4821-8b21-8e811289e12c.jpg" On Sun, Jul 29, 2018 at 3:03 PM Mike Bonner wrote: > If you just need to see the image, you ca

Re: Local images and the browser widget

2018-07-29 Thread Mike Bonner via use-livecode
If you just need to see the image, you can do it by changing your method.. Instead of setting the htmltext, it should work to set the url to " http://Users/steve/Dropbox/ITB%20pubEngine/tempMedia/99578 6d6-4429-4821-8b21-8e811289e12c.jpg" I'm not expert, but I think there is some type of

Re: set the filename of image bug?

2018-07-29 Thread Mike Bonner via use-livecode
If you think the stack is corrupted, you might send it to supp...@livecode.com so they can look at it, and/or post a bug report and include the stack there so that it can be looked at. (assuming there is nothing sensitive in the stack) On Sun, Jul 29, 2018 at 11:24 AM Stephen MacLean via

Re: set the filename of image bug?

2018-07-29 Thread Mike Bonner via use-livecode
If it works for Klaus, and fails for you, it makes me wonder if something has gotten munged in the imgUrl variable. You might try putting an "answer imgUrl" (or use the variable inspector) to confirm that everything looks right. (worked fine for me too) On Sun, Jul 29, 2018 at 10:39 AM Stephen

Re: Problem saving image for file

2018-07-28 Thread Mike Bonner via use-livecode
oned, that I saw, in the docs. > > Thanks again! > > Steve > > > On Jul 28, 2018, at 5:52 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > If you use the path /tempMedia that forces it to the root of the > > filesystem

Re: Problem saving image for file

2018-07-28 Thread Mike Bonner via use-livecode
If you use the path /tempMedia that forces it to the root of the filesystem and if there isn't a folder /tempmedia, it'll fail. Either leave off the preceding slash, or prepend it with a . <--(a dot) which designates the current directory. On Sat, Jul 28, 2018 at 3:40 PM Peter Bogdanoff via

Re: Data Persistence

2018-07-27 Thread Mike Bonner via use-livecode
On the subject of sqLite/memory databases and preferences/data persistence, rather than using an array, and doing the encode/decode stuff, would it make sense to do the following.. 1. open an empty in memory database 2. attach a disk based database 3. copy the required table(s) from disk base to

Re: Data Persistence

2018-07-27 Thread Mike Bonner via use-livecode
Your Bran. will be assimilated. (borg zombies FTW) On Fri, Jul 27, 2018 at 3:39 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 7/27/18 12:47 PM, John McKenzie via use-livecode wrote: > > Tom, thank you for welcoming me. Much different than some online >

Re: drawing a Barcode without a Barcode font

2018-07-26 Thread Mike Kerner via use-livecode
It doesn't surprise me that the optical scanning on the iphone is performing differently than the ccd or laser scanner on the conveyor are. The laser/ccd is only going to scan in the 600-650 nm wavelength, which is both good and bad. The overall width of the barcode shouldn't matter to the

Re: drawing a Barcode without a Barcode font

2018-07-25 Thread Mike Kerner via use-livecode
What up Matthias? You're using 2 of 5, right? TT can be a little messy depending on how small you try to make the barcodes, and that Zebra isn't going to help. Start with proportionally jacking the widths and then see if you can scan. I meant to ask you this before, but since you got it running I

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Mike Bonner via use-livecode
Hey Mark (or anyone?) Feel like writing up a widget for this (with lots of comments) as an instructional? (Plus the fact that it'd be a very useful widget in its own right) BTW wow. I toss out a short little ugly hunk of code and you all make it into something so much better. On Fri, Jul 20,

Re: Help with Bug #19550: Add support for symlinks to standalone builder

2018-07-20 Thread Mike Kerner via use-livecode
A couple of thoughts: 1) There might be cases where symlinks should not be traversed, so there probably should be an option to traverse or not 2) There are probably going to be cases where the symlinks are recursive. I think there should definitely be an option to resolve those. On Fri, Jul 20,

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Mike Bonner via use-livecode
Very cool! Does it actually produce a code that can be scanned? On Fri, Jul 20, 2018 at 3:25 AM Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike > > you´re awesome. That is already an almost complete solution to my > question. Never had expect

Re: drawing a Barcode without a Barcode font

2018-07-19 Thread Mike Bonner via use-livecode
Not sure if it will work for your purpose, but as a test I created for graphic lines, 1 narrow black, 1 wider black, duplicated them and set the blendlevel of the copies so that they're transparent. Grcs are named narrowB, wideB, narrowC and wideC (b for black, c for clear) Then used the

Re: Docker

2018-07-11 Thread Mike Bonner via use-livecode
They'll be more annoyed that their car isn't where they left it. Of course if they understand sock science, maybe they'll go look for it in the dryer. On Wed, Jul 11, 2018 at 6:09 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 07/11/2018 03:18 PM, Bob Sneidar via

Re: Docker

2018-07-11 Thread Mike Bonner via use-livecode
> I'm not sure about the rest of it, but the temporally advantaged are not > eligible unless they actually find and deliver a lost sock. > Unfortunately that's a catch-22 because the list does not accept > enclosures, which is something I'd whine about if I had the chance. > > On 7/11

Re: Docker

2018-07-11 Thread Mike Bonner via use-livecode
ode@lists.runrev.com> wrote: > On 7/11/18 12:33 PM, Mike Bonner via use-livecode wrote: > > Sorry for the whine. > > You've been here long enough that you're entitled to a whine. I believe > there's a participation quotient for those. > > -- > Jacquel

Re: Docker

2018-07-11 Thread Mike Bonner via use-livecode
If I make any real progress, I'll definitely write things down. Honestly, not sure how far I'll get, seems that every time I feel good enough to resume working on projects, the bad health truck parks on my face again. *grins from underneath a wheel* Wow what a morning I've been having. Sorry for

Re: Docker

2018-07-10 Thread Mike Bonner via use-livecode
Love that its a childrens guide. Definitely my speed. On Tue, Jul 10, 2018 at 6:00 PM Mike Bonner wrote: > Thank you! > > On Tue, Jul 10, 2018 at 5:42 PM Mark Wieder via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On 07/10/2018 02:40 PM, Mike Bo

Re: Docker

2018-07-10 Thread Mike Bonner via use-livecode
Thank you! On Tue, Jul 10, 2018 at 5:42 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 07/10/2018 02:40 PM, Mike Bonner via use-livecode wrote: > > Mostly i'm looking to learn how things work, but the end goal is to a) > have > > a front lc

Re: Docker

2018-07-10 Thread Mike Bonner via use-livecode
ue, Jul 10, 2018 at 2:38 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > mike i'm really curious about what you are building to be running LC as a > (web?) service? I've done some tests with that but i have yet to gain > complete clarity that I can use it

Docker

2018-07-10 Thread Mike Bonner via use-livecode
Hoping someone can help me shortcut this.. If I start with an alpine image, what things do I need to add so that LC executables will run? (using the -ui flag) Or would I be better off starting with another base? I'm looking to end up with smallest possible docker that can do the job.

Re: What are possible reasons for memory consumption ...

2018-07-08 Thread Mike Bonner via use-livecode
Or alternatively, check the pendingmessages and only send if there is not already a message for the handler in question in queue. I've had situations (in my case, bad coding) where I thought I was starting a looping handler once ,but had left a call to that handler elsewhere accidentally during

Re: odbc "information type out of range"

2018-07-06 Thread Mike Bonner via use-livecode
Ah k. was hoping. On Fri, Jul 6, 2018 at 3:36 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > The bizarre parts are > a) No errors returned from Valentina > b) The operations succeed but I get an error, almost like LC is sending > something extra

Re: odbc "information type out of range"

2018-07-06 Thread Mike Kerner via use-livecode
No mike, That gives me revdberr,[Marxmeier][SQL/R ODBC Server]37000 - Unexpected symbol (#1) syntax error near "(" Unexpected symbol or invalid SQL/R language statement. On Fri, Jul 6, 2018 at 1:04 PM Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > I

Re: odbc "information type out of range"

2018-07-06 Thread Mike Bonner via use-livecode
I have no way to test it, but if you change your insert to.. insert into employee (empno) values (double(-1)) Does it make a difference? On Fri, Jul 6, 2018 at 10:14 AM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Hmmm. How about this: The insert is

Re: odbc "information type out of range"

2018-07-06 Thread Mike Kerner via use-livecode
Hmmm. How about this: The insert is actually succeeding, but I'm getting the error. select count (*) from employee where empno=-1 -> 0 insert into employee (empno) values (-1) -> "revdberr,[Microsoft][ODBC Driver Manager] Information type out of range" select count (*) from employee where

odbc "information type out of range"

2018-07-06 Thread Mike Kerner via use-livecode
I've got an odbc database that I'm trying to write to. From a tool like valentina it works fine, but in LC I'm getting "Information type out of range" from the driver. The line that fails is insert into employee (empno) values (-1) employee is defined as a double. Again, that very same line in

Re: Capture Keystrokes & MouseMovements without being in focus?

2018-07-06 Thread Mike Bonner via use-livecode
:53 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike, actually the main problem I was facing is getting a hotkey press > detected when another stack is in focus I think this function will > allow me to do that. > > The keystroke counter wa

Re: Capture Keystrokes & MouseMovements without being in focus?

2018-07-05 Thread Mike Bonner via use-livecode
The only way I know of is to start a relatively fast send loop and check the keysdown(). For some things it works fine but for most other things its not a good answer since you can see if a key is down, but not how long its down, or tell if it has been pressed, then pressed again before the next

Re: Script Only Stack Behaviors and Nesting

2018-07-02 Thread Mike Bonner via use-livecode
Curious if this would be useful. It occurred to me that one could use getters and setters in the behavior if one wanted a "central" location for data for objects using that behavior. Not as easy as just using an actual property set, but might end up being faster? To test I put the following

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
You all are just too darn smart. great solution. On Fri, Jun 29, 2018 at 5:54 PM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > Why not just do it directly (avoid the function call) ... > > function sortIPList2 pIPList > set the itemdelimiter to "." > try >

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
p; \ > (item 4 of each + 0) >catch theError > breakpoint >end try >return pIPList > end sortIPList2 > > With a small subset of data, it doesn't error meaning I have some cruft in > the data. Fair enough. The bad news is... IT DOESN'T SORT! LOL!!

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
eakpoint but there is nothing in theError. What version/OS > are you running? We may have uncovered an engine anomaly. > > > > Bob S > > > >> On Jun 29, 2018, at 15:00 , Mike Bonner via use-livecode < >

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
Oh, the above assumes setting the numberformat to "000" as you specified of course. On Fri, Jun 29, 2018 at 4:00 PM Mike Bonner wrote: > Thx for the clue, I see what you mean. > > I had tried to get something similar to your value(item 1 of each +0) > method to wor

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
Thx for the clue, I see what you mean. I had tried to get something similar to your value(item 1 of each +0) method to work and something wasn't clicking, but after seeing yours, I think I have it working. sort lines of tList ascending numeric by (item 1 of each +0) & (item 2 of each + 0) &

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
Actually, when using the multiple key sort, dont reverse the order since it does it all in one go. On Fri, Jun 29, 2018 at 11:29 AM Mike Bonner wrote: > Ok, now i'm curious about something.. I know its possible to designate > multiple keys to a single sort using the form.. > sort lines

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
er file. The time to do this of course would be much > longer, but it would avoid any memory constraints. > > Bob S > > > > On Jun 29, 2018, at 09:35 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > ## was writing this when you

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
, all this is likely moot unless the ip list is huge. On Fri, Jun 29, 2018 at 9:37 AM Mike Bonner wrote: > I don't know what speed differences there might be, but another option is > something like this.. > > function ipfunc pIp >set the itemdel to "." >set the nu

Re: Sort IP List

2018-06-29 Thread Mike Bonner via use-livecode
I don't know what speed differences there might be, but another option is something like this.. function ipfunc pIp set the itemdel to "." set the numberformat to "###" -- force length of each chunk to 3 -- append the numbers together sans "." with padded 0's using numberformat repeat

Re: Grabbing a widget

2018-06-27 Thread Mike Bonner via use-livecode
I haven't found a way to make it stop sticking either. And I agree with the QCC entry that basic mouse event type messages including the ability to use "grab" or whatever should be glommed on to all widgets in some way. Admittedly, the grab issue can likely be worked around (mousedown itself

tsnet dialog

2018-06-26 Thread Mike Kerner via use-livecode
I am catching lc errors, but if tsnet runs into something, it throws up a dialog, anyway. For example I have multiple wifi zones in my house. Some of those are a good distance away from where I might be. When my lappie auto-connects to one of them, the connection will naturally be slow. In

Re: Translation Service Deepl.com

2018-06-24 Thread Mike Bonner via use-livecode
Same method as yandex from a recent thread, built your query string some way and send it to the server. something like.. put urlencode("Text to translate") into tText put "https://api.deepl.com/v1/translate?text=; & tText & "target_lang=EN_key=YourAuthKeyHere" into tUrl get URL tUrl put it You

Re: [ANN] v2.2 of DB Lib

2018-06-19 Thread Mike Kerner via use-livecode
previous customers should have > > received an email from my shop with the link to the new version by now. I > > don't like to charge for upgrades for minor revisions. > > > > Mike, basically it behaves better regarding unicode characters coming > into > > LC and o

Re: [ANN] v2.2 of DB Lib

2018-06-19 Thread Mike Kerner via use-livecode
what is the difference? On Tue, Jun 19, 2018 at 8:09 AM Skip Kimpel via use-livecode < use-livecode@lists.runrev.com> wrote: > Is there an upgrade charge? > > SKIP KIMPEL > > On Mon, Jun 18, 2018 at 11:12 PM, Andre Garzia via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Friends,

Re: merge()

2018-06-15 Thread Mike Bonner via use-livecode
something. > > put the text of field 1 into tMerge > put merge(tMerge) into tDangerousUse > put merge("Field 1 contains: [[tMerge]]") into tSafeUse > > So, I think your assumption is correct. > > On Fri, Jun 15, 2018 at 8:06 PM, Mike Bonner via use-livecode < > use-

Re: Regex (matchChunk) help...

2018-06-15 Thread Mike Bonner via use-livecode
Hey cool! I'd use Jims (an marks) method. MUCH simpler. On Fri, Jun 15, 2018 at 7:06 PM Jim Lambert via use-livecode < use-livecode@lists.runrev.com> wrote: > Building on what Mark Wieder elegantly wrote: > > > MarkW wrote: > > > > filter lotsOfText with "*selkirkst*skyrider1*” > > function

merge()

2018-06-15 Thread Mike Bonner via use-livecode
I just had a thought while pondering some code from another thread. I have done things like put merge("This is a random number: [[random(tNum)]]") Since merge can do what do can, is there a way this method could be taken advantage of using an injection type of attack? I'm thinking the answer

Re: calling an api from a stack?

2018-06-15 Thread Mike Bonner via use-livecode
s, and I can > only do that if I put the returned value or it or the result into a > variable of some sort. > > Bob S > > > > On Jun 15, 2018, at 14:28 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > If you mean using me

Re: calling an api from a stack?

2018-06-15 Thread Mike Bonner via use-livecode
don't like to nest functions. You cannot tell what > the function returned without pulling it apart. > > Bob S > > > > On Jun 15, 2018, at 10:40 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > jsontoarray returns an array, yo

Re: Regex (matchChunk) help...

2018-06-15 Thread Mike Bonner via use-livecode
ode@lists.runrev.com> wrote: > Hi Mike, > > Yes this worksnever used or knew about trueword. > > thanks! > > Glen > > On Fri, Jun 15, 2018 at 1:21 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Try this.. > > >

Re: Regex (matchChunk) help...

2018-06-15 Thread Mike Bonner via use-livecode
Slightly cleaned up, and adjusted to empty tPair after a match. (on the off chance there is a second ending without a matching new beginning word) > on mouseup >put the text of field 1 into tText >put "beginning" into tstartword -- string begin >put "ending" into tEndword --

Re: calling an api from a stack?

2018-06-15 Thread Mike Bonner via use-livecode
jsontoarray returns an array, you'll have to dig through the array to find where pieces of information reside, but it pretty straightforward after you poke around. For example.. If you instead do this.. put jsontoarray(tResult) into tArray you have an array variable named tArray. If you-- put

Re: Regex (matchChunk) help...

2018-06-15 Thread Mike Bonner via use-livecode
1:03 AM Glen Bojsza via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike, I believe that you are correct in understanding what I am trying to > extract. > > I will need a bit more time to work through your solution. > > regards, > > Glen > ___

Re: Regex (matchChunk) help...

2018-06-15 Thread Mike Bonner via use-livecode
If I understand correctly.. If you find the beginning string occurrence, and then find another beginning string, you want to ignore the first, and only take strings where beginning and end have no intermediate beginnings? Like this I mean.. beginning blah blah blah blah blah *beginning blah blah

Re: calling an api from a stack?

2018-06-15 Thread Mike Bonner via use-livecode
/* A quick and dirty example of using yandex translator Fill in your key then use the 2 functions to try things out. Put this in your card or stack script, then call the desired function passing in the required parameters. */ constant kKey="put your key here" constant kGetTransURL="

Re: scancodes

2018-06-11 Thread Mike Bonner via use-livecode
Don't think of a key press and key release as if they should be 2 different can codes, instead think of them as as being state changes. Like a light. Send power to the lightbulb, the light is on. Remove power from the bulb, the light is off. The bulb is still the same bulb. Same with the

Re: Area of regular polygon triangles

2018-06-07 Thread Mike Bonner via use-livecode
Cool! On Thu, Jun 7, 2018 at 5:08 PM, David Epstein via use-livecode < use-livecode@lists.runrev.com> wrote: > While trying Mike Bonner's suggestion of "manual" measuring, I learned the > answer: a regular polygon whose official length is L and width is W is > inscribed

Re: Area of regular polygon triangles

2018-06-06 Thread Mike Bonner via use-livecode
If you need to use the box method, and the control rect isn't perfect, it might be easier to create the rect on your own. Go through the points and find the topmost, left most, rightmost, bottom most coordinates and that gives you your box. Alternatively, if you just want the area and don't

Re: SQL Help

2018-06-01 Thread Mike Bonner via use-livecode
if I understand correctly, and just off the top of my head, using "limit" is one way to do this... The sql pseudo code would be something like: select * from yourtable order by iStoreGrp descending where meterNum = 1 AND valveNum = 3 limit 1 This would grab all the rows, sort them by istoregrp

Re: UTF8 on LC server

2018-05-31 Thread Mike Bonner via use-livecode
oops, dyslexic typo on my part, sorry about that. On Thu, May 31, 2018 at 6:33 PM, Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 01/06/2018 01:17, Mike Bonner via use-livecode wrote: > >> on-rev host is 7.0.1 you can get it with version()

Re: UTF8 on LC server

2018-05-31 Thread Mike Bonner via use-livecode
on-rev host is 7.0.1 you can get it with version() On Thu, May 31, 2018 at 6:14 PM, Tim Selander via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Kee and Alex, > > The original documents I'm working with are UTF8, so that's that I've been > using. So converting them to UTF16 is

Re: LC >= 8 no more HC friendly?

2018-05-30 Thread Mike Bonner via use-livecode
Just curious, if you open with lc 5, and then save a copy as an lc stack, can you then open it with the later version? (and do the usual "messages off" thing too of course) On Wed, May 30, 2018 at 7:55 AM, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi friends, > >

Re: Graphing Solution...

2018-05-27 Thread Mike Bonner via use-livecode
+ mMaxYLabelWidth + gridPadding(),tY+20] on this canvas On Sun, May 27, 2018 at 10:05 PM, Mike Bonner <bonnm...@gmail.com> wrote: > I floundered around cluelessly with it for a bit, randomly changing a few > things till I got something that seems to work. I'm sure there are thin

Re: Graphing Solution...

2018-05-27 Thread Mike Bonner via use-livecode
I floundered around cluelessly with it for a bit, randomly changing a few things till I got something that seems to work. I'm sure there are things I still misunderstand about this, and that I've added code that probably doesn't need to be there. Also not sure if there will be issues with larger

Re: Was: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-25 Thread Mike Bonner via use-livecode
Curry- don't know if such a thing would help your situation, but i'm attaching a photo of my lift. Its simply a relatively small i-beam solidly anchored, a trolly to match, a 2000lb hoist (overkill) and a very simple, self designed sling hooked to a home made spreader bar. Lower it, sling in

Re: Was: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-25 Thread Mike Bonner via use-livecode
wish, you are welcome to send a direct email to me. Take care of yourself, Mike ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.c

Re: Update to SublimeText LiveCode Script linter

2018-05-25 Thread Mike Kerner via use-livecode
so far so good here other than the version tag being a commit early... On Fri, May 25, 2018 at 10:51 AM Trevor DeVore via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi, > > The LiveCode Script linter for SublimeText has been updated. The update > includes fixes required in order to

Re: on-rev choosing engine

2018-05-24 Thread Mike Bonner via use-livecode
> server engines were not installed again. > > Matthias > > > > Am 24.05.2018 um 21:46 schrieb Mike Bonner via use-livecode < > use-livecode@lists.runrev.com>: > > > > Thanks, I'll try this and see what I can figure out. It seems though > that > > the

Re: on-rev choosing engine

2018-05-24 Thread Mike Bonner via use-livecode
, you have to put livecode server and > .htaccess into each root folder. > > > Regards, > Matthias > > > Am 24.05.2018 um 17:32 schrieb Mike Bonner via use-livecode < > use-livecode@lists.runrev.com>: > > > > Has anyone had luck using an .htaccess to cha

on-rev choosing engine

2018-05-24 Thread Mike Bonner via use-livecode
Has anyone had luck using an .htaccess to change the engine used with onrev? I'm hoping to override 7.0.1 (the default version it seems) with a more recent version, but the information here: http://lessons.livecode.com/m/4070/l/41105-how-do-i-choose-which-livecode-server-engine-to-use-with-on-rev

Re: Would Anyone Like a Ring Tone At End of Standalone Built?

2018-05-20 Thread Mike Bonner via use-livecode
Hey that's cool! And it works well. On Sun, May 20, 2018 at 1:22 PM, Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > You could add a StandaloneSaved handler to your stack which is send to the > mainstack when it was saved as a standalone. > You could add the code for

Re: WTF Worldpay?

2018-05-17 Thread Mike Kerner via use-livecode
It might be a foreign-transaction thing. Some of my cards will not go through worldpay. On Thu, May 17, 2018 at 4:01 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > Still won't accept my credit cards. > Is this a brexit thing? > > -- > Mark Wieder >

Re: PDF

2018-05-13 Thread Mike Bonner via use-livecode
I ended up using pdftotext, it worked like a charm. (Though I had to look up how to send it a file list using find.. Too long away from the shell.) I now have a little app that can do a word search for matching files and show either the extracted text, or the original pdf using the browser

Re: PDF

2018-05-12 Thread Mike Bonner via use-livecode
Thanks Richard. This helps cut my search down considerably. I had already set up an ubuntu vm on my unraid server, so I should be able to get something going. Much appreciated. On Sat, May 12, 2018 at 2:08 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: PDF

2018-05-12 Thread Mike Bonner via use-livecode
te group "pdfViewer" > return textDecode(tUnicodeDocumentText,"UTF16") > end pdfText > > Maybe LiveCode will have a sale some day in the future that will meet > your price point. > > For other who may have a Business License or just interested in what you &

Re: PDF

2018-05-12 Thread Mike Bonner via use-livecode
com> wrote: > If you have a Business License, you can use the XPDF external available > with those editions for doing that. > > On 5/12/2018 12:58 PM, Mike Bonner via use-livecode wrote: > > I haven't needed to do this before, but is there a (relatively) easy way > to > &

PDF

2018-05-12 Thread Mike Bonner via use-livecode
I haven't needed to do this before, but is there a (relatively) easy way to extract the text from a bunch of pdf files? I'm hoping I can build some indexes for the boatload of files I want to go through. (THough, I guess I could bipass LC and just grep my heart out) Any suggestions?

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Mike Kerner via use-livecode
The sequence is return key is pressed focus is removed ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Mike Kerner via use-livecode
I personally use *on* inputReturnKey *focus* *on* nothing *end* inputReturnKey On Thu, May 10, 2018 at 6:02 PM Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > You could also try: > > on returnInField > > focus on nothing > > end returnInField > > > in the field script.

Re: Active window and mouse location

2018-05-10 Thread Mike Bonner via use-livecode
ld be able to bring your app to the front. Put the file somewhere accessible, and use launch document to run it. There are threads on this in the forum, I'll re-locate them if you are interested in the idea. On Thu, May 10, 2018 at 9:14 AM, Mike Bonner <bonnm...@gmail.com> wrote: > H

Re: Active window and mouse location

2018-05-10 Thread Mike Bonner via use-livecode
573-3935 > > > Hmm. Not sure whats up then. doing the systemwindow trick pops things > to the front for me from behind > > a browser of whatever happens to be in front, so no clue why it won't > work for you. (unless the > > window that it is behind is a system window its

Re: Active window and mouse location

2018-05-09 Thread Mike Bonner via use-livecode
Ruisaard via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks, Mike... but this doesn't make my LC screen active... it does > flicker it but leaves it in buried under the top window. > > I'll check out those links, Lagi... thanks for the research > >

Re: How to turn off editor formatting

2018-05-09 Thread Mike Bonner via use-livecode
4:07 PM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > No work. First, there does not seem to be an option for turning off > > auto-complete. Also, turning off auto-format seems to not effect anything > > much. > > > > Bob S &g

Re: How to turn off editor formatting

2018-05-09 Thread Mike Bonner via use-livecode
In the scripteditor window, click the edit menu, options, then enable/disable the things you wish. On Wed, May 9, 2018 at 1:08 PM, William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > Folks: > I know there must be a way to turn off the part of the IDE editor >

Re: imagedata and alpha byte

2018-05-09 Thread Mike Bonner via use-livecode
Already assuming that you know which pixel you wish to modify, (like if you want to modify pixel 25 in pixel row 3, that would be pixel 75.. I think..) you would need to do something like the following.. --first, put the current alphadata into a variable. put the alphadata of img "myImg" into

Re: Active window and mouse location

2018-05-09 Thread Mike Bonner via use-livecode
While the solution is not perfect, you can have your script set the systemwindow of stack "stackname" to true wait 1 tick set the systemwindow of stack "stackname" to false (Saw this on the forums at one time or another, think the thanks go to Lagi) The only negative of this method is the

Re: date libraries/routines for LCG

2018-05-09 Thread Mike Kerner via use-livecode
Thank you... On Wed, May 9, 2018 at 11:29 AM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > Is this one on your list? > > LiveCode library to handle date and time functions > https://github.com/derbrill/libdate > > On Wed, May 9, 2018 at 8:5

<    2   3   4   5   6   7   8   9   10   11   >