Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-02 Thread Mike Bonner via use-livecode
_and_Javascript_Example.zip > > > > Any help is greatly appreciated! > > John Patten > SUSD > > > > > On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Depending on what version of

Re: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
If I recall correctly, you can SET a location now that is a fraction of a pixel.. Keep track of the decimals as your current location and use those numbers (within reason) as your start point, and continue onward. (think it was called partial pixel positioning?) While the actual location will be

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-06 Thread Mike Bonner via use-livecode
In an actual browser (at least as far as I know) one doesn't have to resort to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache On Mon, Feb 6, 2017 at 9:01 AM, Bob Sneidar via use-livecode <

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
tps://ggnome.com/forum/viewtopic.php?f=13=11663 < >> https://ggnome.com/forum/viewtopic.php?f=13=11663> >> >> There may be folks interested in what Livecode could do for their >> workflow too :) >> >> Cheers! >> >> >> On Feb 2, 2017, at 7:56

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-06 Thread Mike Bonner via use-livecode
g. > > But maybe I misunderstand the problem. > > Bob S > > > On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> > wrote: > > In an actual browser (at least as far as I know) o

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
Thx for the info. Honestly, all I want is for the example in the dictionary to work for me. (and yes, the javascript causes the lc side handler to fire, but.. No parameters passed.) I'll read through the stuff you linked and see what I can learn. Thanks! On Sun, Feb 5, 2017 at 1:41 PM,

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-05 Thread Mike Bonner via use-livecode
if just tacking on a ? at the end doesn't work, do this instead. Tack on the ?dummyvar=1234125 where 1234125 is "the seconds." That way its always a unique url and should do a fresh load. On Sun, Feb 5, 2017 at 1:44 PM, Sannyasin Brahmanathaswami via use-livecode

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
Nevermind, user error. It doesn't matter how many changes I make to local files when i'm actually pointing to an external web page. On Sun, Feb 5, 2017 at 3:08 PM, Mike Bonner wrote: > Thx for the info. Honestly, all I want is for the example in the > dictionary to work

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
.. and expecting it to change what I was getting from the server. (DOH) On Sun, Feb 5, 2017 at 7:54 PM, Sannyasin Brahmanathaswami via use-livecode <use-livecode@lists.runrev.com> wrote: > On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via > use-livecode&qu

Re: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
Yeah, I think this is due to that change a while back (the partial pixel positioning stuff) it doesn't throw an error in your face if you set to a decimal coord anymore. > > Apparently fractional coordinates work fine, rounded reasonably well - > this works: > >set the left of btn 1 to

Re: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
nvm. ignore me. :) Something else entirely. (but the whole idea of tracking the coords separately still applies) (goes to bed) On Tue, Jan 31, 2017 at 2:57 PM, Mike Bonner wrote: > Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as > alliterative as a

Re: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as alliterative as a ppp name) On Tue, Jan 31, 2017 at 2:35 PM, Mike Bonner wrote: > Yeah, I think this is due to that change a while back (the partial pixel > positioning stuff) it doesn't throw an error

Re: LC Server & Server Based Stack?

2017-01-22 Thread Mike Bonner via use-livecode
What richard said. Instead of the clipboard (which I suspect doesn't work because the lc server engine is not running in the same shell instance) The idea of using a file as an intermediary storage container would work, but sockets would be so much better. (Since this will be same machine

Re: could not encode class bundle

2017-01-22 Thread Mike Bonner via use-livecode
Does the error message happen to mention aapt.exe? On Sun, Jan 22, 2017 at 7:37 AM, git.vb via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all, > > Why is so difficult to make a simple android app? > > Why I get every time this error? What I need? To download all source > code and

Re: LC Server & Server Based Stack?

2017-01-21 Thread Mike Bonner via use-livecode
on idea makes things a little more > complex but is certainly doable. > > I’ve never done anything with sockets - are there any good > examples out there you can point me to for this? > > Thanks, > > Rick > > > > > On Jan 20, 2017, at 10:20 PM, Mike Bonner via use-

Re: OT: Flash tablet

2017-01-24 Thread Mike Bonner via use-livecode
rev.com> wrote: > >> If it were mine, I would try to get a rom from the original manufacturers >> site, if possible. >> >> I found this just by googling... >> >> http://mytabletguru.com/allwinner-a33-firmware-and-tool/ >> >> ~Roger >> >

OT: Flash tablet

2017-01-24 Thread Mike Bonner via use-livecode
I'm trying to get a tablet working for a friend (hard reset is a no go.) I think I can use phoenix card to reflash it, but does anyone know of a site with firmware/roms that isn't a hack/trojan/scam site? (just for info, its an allwinner a33 TZX-723Qb6 Hoping to reg this going but I don't

Re: OT: Flash tablet

2017-01-24 Thread Mike Bonner via use-livecode
wrote: > If it were mine, I would try to get a rom from the original manufacturers > site, if possible. > > I found this just by googling... > > http://mytabletguru.com/allwinner-a33-firmware-and-tool/ > > ~Roger > > > On Jan 24, 2017 4:04 PM, "Mike Bonner via use

Re: Storing and object reference in a var

2017-01-24 Thread Mike Bonner via use-livecode
(mostly to solidify the memory for myself) set the text of tObjectReference gives the engine enough clue to know that you're setting a property (set the text of) so the next thing needs to be an object reference. put "fred" into tObjectReference is ambiguous because you can put fred into tname or

Re: Dirty HTTP Launch

2017-01-30 Thread Mike Bonner via use-livecode
just rewrite the variable > somehow. Thanks > > On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Most likely you have an extraneous cr at the end of the url, and its > > showing as html encoded. If thats th

Re: Dirty HTTP Launch

2017-01-30 Thread Mike Bonner via use-livecode
t; PHP code just concatnates label "HTTP Link, item delimiter "=" and the > URL > > starting with HTTP. > > > > I think I will just write a little repeat loop to rewrite the URL before > I > > send it off to the launch command. Gonna try format fun

Re: Yertle the Turtle

2017-01-30 Thread Mike Bonner via use-livecode
Somewhere around here I have a library that should help with your turtle moving. Will see if I can dig it up. On Mon, Jan 30, 2017 at 2:46 PM, Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > > > 30. jan. 2017 kl. 21.20 skrev Richmond Mathewson via use-livecode < >

Re: revDatabaseColumnNames fails to recognize table

2017-01-30 Thread Mike Bonner via use-livecode
Most likely thing I can think of is that on opening the database, something is wrong with the path so it created a new and empty database.. somewhere.. Just to test, I would "put theRes" and see whats actually in there. On Mon, Jan 30, 2017 at 7:29 PM, Dr. Hawkins via use-livecode <

Re: revDatabaseColumnNames fails to recognize table

2017-01-30 Thread Mike Bonner via use-livecode
I'm at a loss then. On Mon, Jan 30, 2017 at 8:06 PM, Dr. Hawkins via use-livecode < use-livecode@lists.runrev.com> wrote: > On Mon, Jan 30, 2017 at 7:03 PM, Dr. Hawkins wrote: > > > theRes holds "dhbk_lcnsees", as it should. The name was created, found > in

Re: Yertle the Turtle

2017-01-30 Thread Mike Bonner via use-livecode
K heres the required parts.. *## takes length and the angle in radians and returns vector as x,y offsets* function aLenToVector pLen pAngle return pLen * sin(pAngle),pLen * cos(pAngle) end aLenToVector *## takes degrees and changes to radians* function dToRadians pDegrees return

Re: JavaScript, Browser Object, VR with Hotspots?

2017-01-30 Thread Mike Bonner via use-livecode
Depending on what version of LC you're using,k and if you're using the widget, or openrevbrowser look at revBrowserAddJavascriptHandler in the dictionary. If using the widget, use the dropdown to select the browser widget in the dictionary and look at the javascripthandlers property. On Mon,

Re: Yertle the Turtle

2017-01-30 Thread Mike Bonner via use-livecode
Yeah. Thats what my (as yet unrediscovered) library can help with. On Mon, Jan 30, 2017 at 11:14 PM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > The problem is not with drawing the line. > > The problem is how, when the turtle's "nose" is pointing at, say, 37 >

Re: Dirty HTTP Launch

2017-01-29 Thread Mike Bonner via use-livecode
Most likely you have an extraneous cr at the end of the url, and its showing as html encoded. If thats the case, before you encode/launch/whatever, remove the cr and it should go away. On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
What jacque was referring to is a different animal. An executable set up as a cgi, that (if I recall correctly has a startup script and that after script completion, exits) The lc server itself runs in cgi mode (as apposed to as a module I believe) and unless you're using the earliest version

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
; Hi Mike, > > Sorry, I didn’t see this until I had already sent my last message. LOL > > Yes, I see that things work on your end. I’ll try it again. > > Thanks, > > Rick > > > On Jan 20, 2017, at 5:58 PM, Mike Bonner via use-livecode < > use-livecode@lists.

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
til I had already sent my last message. LOL >> >> Yes, I see that things work on your end. I’ll try it again. >> >> Thanks, >> >> Rick >> >> > On Jan 20, 2017, at 5:58 PM, Mike Bonner via use-livecode < >> use-

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
How do you know it didn't work? Well ok.. first.. On the server you have to make sure that the stack you are on is the one you think you're on. If you put the name of "this stack" you can see where you are when it happens. Second, the server first loads the stack. Then if you "put" something into

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
r to communicate with stacks. > > Thanks, > > Rick > > > On Jan 20, 2017, at 7:27 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > How do you know it didn't work? > > Well ok.. first.. On the server you have to make

Re: TextDecode JSON array

2017-01-21 Thread Mike Bonner via use-livecode
Looks like utf16 based on this info I found here: https://codepoints.net/U+00F1?lang=en SystemRepresentation Nº 241 UTF-8 C3 B1 UTF-16 00 F1 On Sat, Jan 21, 2017 at 8:22 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Here's a test sample of some UTF8 I get back

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Mike Bonner via use-livecode
If you have php on your second server, and don't have lc, you can do a check with php similar to what you're talking about. This is untested but.. If you have the following php file (perhaps named checkforfile.php) on the alternate server, and send it a get request containing the path to the

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Mike Bonner via use-livecode
f the result code > return (tResultCode = 200) > end qrtHTTP_FileExists > > It's working for me but now I can't re-find it so I can't credit > whoever wrote it! > > Copying here for posterity! > > Tim Selander > Tokyo, Japan > > > > On 2017.01.22, 19:09

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
; ..and the stack did nothing. > > What am I not doing properly here? > > Thanks, > > Rick > > > > On Jan 20, 2017, at 2:26 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > What jacque was referring to is a different animal.

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
ck” >> >> In the stack script of “teststack” the contents of >> “executeThis”: >> >> on executeThis >> >>answer "This is the script in the teststack” >> >> end executeThis >> >> I looked at the stack.. >> ..and the stack did

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
teststack” >>> >>> In the stack script of “teststack” the contents of >>> “executeThis”: >>> >>> on executeThis >>> >>>answer "This is the script in the teststack” >>> >>> end executeThis >>> >>&

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
just checked, "this stack" should work fine (unless you do something that changes the context) On Fri, Jan 20, 2017 at 5:27 PM, Mike Bonner wrote: > How do you know it didn't work? > Well ok.. first.. On the server you have to make sure that the stack you > are on is the one

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
think I may have figured out what you're wanting to do.. Correct me if I'm wrong. YOu want to have an active process with an open stack that is running, either in the ide or as a standalone. And to then be able to hit a web page that then updates the currently open stack. If thats the case, its

Re: Detecting clicks in Segmented Control widget

2017-01-25 Thread Mike Bonner via use-livecode
If you don't mind the message on re-click being another "hiliteChanged" message, you can tweak it on your own. If you're on windows, go to your x86 programs folder/runrev/ then the version you're using. Guessing 8.1.1. Then extensions Copy the segmented control folder out to where you can work

Re: OT: Flash tablet

2017-01-24 Thread Mike Bonner via use-livecode
use serv...@allwinnertech.com <mailto:service@allwinnertech. > com> to contact them. > > > > Am 24.01.2017 um 23:02 schrieb Mike Bonner via use-livecode < > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>: > > > > Amazing. Submit

Re: Call a function on another card

2017-02-23 Thread Mike Bonner via use-livecode
Will this work for you? dispatch function "myFunction" to card "myCard" put the result into tResult Parameters can also be passed using the "with" extension. Unlike the "call", "send" and "value" handlers, the parameters are sent directly to the target handler, rather than being extracted from

Re: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
Nevermind, it doesn't work, and I think it should. Enhancement request? Bug? On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner wrote: > of field "fieldname" is an optional argument youcan use. > > get the selectedtext of field "myfield" > > On Fri, Feb 24, 2017 at 9:50 AM, Bob

Re: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
of field "fieldname" is an optional argument youcan use. get the selectedtext of field "myfield" On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > > The Short Version: > > Is there a way to get the hilited text for a control

Re: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
faux select in > that mode, or b) it should be an actual real selection which it obviously > is not. > > On Fri, Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I'll submit one. >> >> Bob S >&g

Re: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
26 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I'll submit one. > > Bob S > > > > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Nevermind, it doesn't

Re: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
The difference is, turning traversal off, rather than setting the locktext to true doesn't work. Even if one manages to hilite text in the non-traversable field, it isn't really selected. (Which is why if it were me I'd not do it that way) On Fri, Feb 24, 2017 at 1:35 PM, Richard Gaskin via

Re: Reveal in Find on Windows

2017-02-22 Thread Mike Bonner via use-livecode
I can't test it on mac, but 2 things. First, if your path is a folder but doesn't have the trailing / you'll end up in the wrong place so you might consider doing a check: if there is a file sRootFolder then delete item -1 of sRootFolder Then for the windows segment use "start": put ("start " &

Re: Reveal in Find on Windows

2017-02-22 Thread Mike Bonner via use-livecode
Just remembered, you can bipass the shell call entirely.. launch document sRootFolder -- native lc command. Just need to do as I mentioned and be sure its a folder you're dealing with. (otherwise it will launch the apropos app to match the file type) It will probably work for both platforms.

Re: Cancelling a script??

2017-02-10 Thread Mike Bonner via use-livecode
If the loop is tight enough, the keypress never gets through. I've just got into the habit of putting an escape hatch into loops that can go wrong. Something like: if the environment is "development" and the shiftkey is down then exit to top (or if you want the user to have access to the same

Re: Where did the cErrorsList go?

2017-02-28 Thread Mike Bonner via use-livecode
On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < > >> use-livecode@lists.runrev.com> wrote: > >> > >> Thanks Thierry and Mike! That's it. And better than the old approach. > >>> > >>> How do you know about this? AFAICT it

Re: Dragging widgets

2017-02-28 Thread Mike Bonner via use-livecode
Sounds like the widget needs to be tweaked to allow for dragging. Its over my head, if someone with a clue could do the modification and explain it, I'd really appreciate the lesson. On Mon, Feb 27, 2017 at 5:36 AM, Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > I have a

Re: Where did the cErrorsList go?

2017-02-27 Thread Mike Bonner via use-livecode
I'm not sure if its the same thing, but you might try "put line xx of the scriptexecutionerrors" On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > For years I've been accustomed to interpreting the error reported in a > 'catch' statement

Re: Documentation on Dispatch

2017-01-13 Thread Mike Bonner via use-livecode
If I recall correctly, that is a keyed custom prop, and also if I remember correctly, it works with our without the space. (So its like an array, but its a property with array notation) portal_RowNames [headerName] and portal_RowNames[headerName] should both work. (unless I misremember

Re: save stack as filename failing most of the time

2017-01-05 Thread Mike Bonner via use-livecode
hard drive doesn’t show > any file named “TestSaveStack”. > > There is no error reported for "the result”. > > Rick > > > > On Jan 5, 2017, at 11:32 AM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > If you change it

Re: save stack as filename failing most of the time

2017-01-05 Thread Mike Bonner via use-livecode
If you change it to on mouseup save this stack as "TestSaveStack" put it && the result put cr & the files after msg end mouseup does it return an error? If not, does it show the file? If the default folder is set to an unwritable folder you should receive an error. If not, you should see the

Re: LC Server & Server Based Stack?

2017-01-08 Thread Mike Bonner via use-livecode
Sorry I didn't get back to you till now, but it looks like things are covered as far as accessing a stack file from lc server. As for the other direction, (lc server talking to an in memory stack..) FROM the stack itself would be a simple http request, but the reverse not so much. I'm now

Re: LC Server & Server Based Stack?

2017-01-08 Thread Mike Bonner via use-livecode
If you mean a simple interaction, IE lc server loads the stack, gets or changes something on the stack, and save the changes to the stack, thats a pretty straight forward thing. If you mean inter-process communication between lc server and an actively running stack, thats a different animal

Re: LC Server & Server Based Stack?

2017-01-08 Thread Mike Bonner via use-livecode
hen your server > stack is used in a long-running LC process. If you run in CGI mode, you > don't have to deal with some of those things (like figuring out when to > reload a stack). Personally I'm glad the on-rev default is CGI mode. > > Best - > Phil Davis > > > > > On 1/

Re: [ANN] tinyDictionary

2017-03-22 Thread Mike Bonner via use-livecode
This is awesome! Quick question (feature request) would it be difficult to add a dictionary selector? So if I have 13 versions of lc installed, I could pick which dict to look at? (and make it work as a standalone at the same time?) On Wed, Mar 22, 2017 at 9:23 AM, Thierry Douez via

Re: [ANN] tinyDictionary

2017-03-22 Thread Mike Bonner via use-livecode
open whatever versions I wish and access the plugin from them. On Wed, Mar 22, 2017 at 9:44 AM, BNig via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike, > > > Mike Bonner via use-livecode wrote > > This is awesome! Quick question (feature reques

Re: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Mike Bonner via use-livecode
I don't have a mac available at the moment, but can't you use ifconfig for this? Most likely with no arguments then parse the results. If the results are similar to linux (never a safe bet, but worth a check) there will be a line with something like HWaddr and then the mac address. On Thu, Mar

Re: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Mike Bonner via use-livecode
; could return other results (after filtering, sorting etc.) or why I > shouldn't use one of them? Are these commands the same available as netstat > in modern Oss (> 10.9)? networksetup seems to be the easiest solution and > is fast as ifconfig. > > Thanks for any advice > Tiemo >

Re: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Mike Bonner via use-livecode
If you call it with no arguments, doesn't it list them all? I'll have to get my mac running again so I can test this stuff. On Thu, Mar 30, 2017 at 11:52 AM, Tiemo Hollmann TB via use-livecode < use-livecode@lists.runrev.com> wrote: > Yes, using ifconfig I get exact 1 MAC (see Ken Rays script

Re: spotting a mouseclick in the transparent area of an image

2017-03-30 Thread Mike Bonner via use-livecode
Place a grc of the right size behind the image. Make sure the grc is set to opaque. Group the grc and the image and place your mouseup handler in the group. If they click a visible portion of the image it'll fire the groups mouseup, if they click a trasnarent spot, the (blended and invisible) grc

Re: Set Layer bug?

2017-03-28 Thread Mike Bonner via use-livecode
Confirmed on win10 If you set target to 1, it works. If you set it to > 1 it seems to always set it to the layer thats highest. I tested with this script. on mouseup set the layer of the target to 2 repeat with i = 1 to the number of buttons of this card set the label of button i to the

Re: Colour Manipulation

2017-03-18 Thread Mike Bonner via use-livecode
You could write a small app just to do the processing (or use a web server with an lc script to process) break it into chunks, and spawn processes/server requests to offload the work maybe. Though imagemagick would be a pretty awesome solution if it can be made to do what you need. On Sat, Mar

Re: Linux 32bit?

2017-03-18 Thread Mike Bonner via use-livecode
Go here: http://downloads.livecode.com/livecode/ Another reason the site should provide a direct link rather than obfuscate. On Sat, Mar 18, 2017 at 1:39 PM, Phil Thane via use-livecode < use-livecode@lists.runrev.com> wrote: > OK, I'm back. When I follow the links I end up here: > >

Re: Help test please? GoLiveNet in v9

2017-03-15 Thread Mike Bonner via use-livecode
If you're using a proxy, can you temporarily turn it off and test again? On Wed, Mar 15, 2017 at 7:52 PM, Stephen MacLean via use-livecode < use-livecode@lists.runrev.com> wrote: > Works fine in LC 8.13 and 9.0 DP6 Business on Windows 7 x64 and Mac OS X > 10.12.3 > > Best, > > Steve MacLean > >

Re: Changing a group visible boundaries by script

2017-03-19 Thread Mike Bonner via use-livecode
When you shrink the group, it does indeed move things around, so you'll need to do the math to adjust the vscroll and hscroll. Something like this.. *set* the hscroll of me to the hscroll of me -(the left of me - the left of the target ) *set* the vscroll of me to the vscroll of me -( the top

Re: Translating escape sequences

2017-03-15 Thread Mike Bonner via use-livecode
does this mean one could replace /u with 0x and then replace uls with empty and end up with the correct end result? On Wed, Mar 15, 2017 at 2:16 PM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Just knock off the last 3, and what is left is what you want. > >

Re: Passing Variables in a non-CGI LC Server?

2017-04-10 Thread Mike Bonner via use-livecode
017 at 12:54 PM, Rick Harrison via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi Mike, >> >> Well I’m glad to see I’m not alone here in not >> being able to get “start session” to work. >> Now we can enjoy being in the soup together!

Re: Cheesed off by 32xxx

2017-04-02 Thread Mike Bonner via use-livecode
Just for fun, I did as others have said and converted the stack to use a field. Since each button used the same exact script (as far as I could tell, too many to go through individually) it was easy to modify it to use the selectedtext rather than the label of the clicked button. TO get the

Re: Cheesed off by 32xxx

2017-04-02 Thread Mike Bonner via use-livecode
Got bored. Heres a version using a datagrid form so you can keep that buttony look. https://www.dropbox.com/s/p8xlv0zoyeb34za/CHAR%20REFDG.livecode?dl=0 On Sun, Apr 2, 2017 at 12:25 PM, Jim Lambert via use-livecode < use-livecode@lists.runrev.com> wrote: > A little fancier. > > on mouseup >

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Can't answer the rest, but as for the global.. Since you can utilize stacks with server, you could declare a global just as you would normally, in any scripts that needed it, and it would work just like in lc proper. It would only persist during the run of that particular instance. On Thu, Apr

Re: Error connecting to SQLlite in iOS

2017-04-20 Thread Mike Bonner via use-livecode
Unless things have changed, when you add files using the copy files pane of the standalone settings, when sent to ios or android they end up in the engine folder. (I think? Or somewhere in that hierarchy) You would need to check for the existence of the file in documents on app startup and if it

Re: Standard icons included in standalone

2017-04-20 Thread Mike Bonner via use-livecode
It should be possible to add the image library as a plugin. Copy the stack in question (for example from: C:\Program Files (x86)\RunRev\LiveCode Community 9.0 (dp 5)\Toolset\palettes\revimagelibrary.rev to your plugins folder at which point you can use the old method and import any of the

Re: Downloads - Immodest Proposal

2017-04-14 Thread Mike Bonner via use-livecode
I too am not well off, but in order to "help within my means" I am paying for membership. Its not much, but far better than 0. The only thing I want to find out now is where to get nightly builds from. (a perk of membership, yet no info that I can locate on how to actually find them) On Fri,

Re: Don't amputate numberFormat (was: affecting array keys???)

2017-04-22 Thread Mike Bonner via use-livecode
This, yes please. --There are still use-cases for both numberFormat and format, but there are so many precedents in other tools for defining display format --in the object used for display that I think when that's what's needed it would be the simplest to learn. On Sat, Apr 22, 2017 at 11:21 AM,

Re: Messages sent while mouse is down?

2017-03-11 Thread Mike Bonner via use-livecode
| jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On March 11, 2017 3:51:04 AM Tim Selander via use-livecode < > use-livecode@lists.runrev.com> wrote: > > Oh ho! >> >> That does it, Mike. Many t

Re: Messages sent while mouse is down?

2017-03-11 Thread Mike Bonner via use-livecode
@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On March 11, 2017 11:54:59 AM Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > Hey thats awesome! Thanks Jacqueline, another gem I had yet to discover. >&

Re: is LCs answer folder state of the art?

2017-03-14 Thread Mike Bonner via use-livecode
What a pane. (see what I did there because of what you did there?) On Tue, Mar 14, 2017 at 8:44 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > You can't fix a broken Windows. (see what I did there?) > > Bob S > > > > On Mar 13, 2017, at 18:04 , Mark Wieder via

Re: Messages sent while mouse is down?

2017-03-11 Thread Mike Bonner via use-livecode
If the names of the tiles are numbered in a logical way, and only go horizontal, and vertical, then all you need to know is the start spot, and the end spot, and can fill in the gaps between. On Sat, Mar 11, 2017 at 4:06 PM, Quentin Long via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: another regex question

2017-03-10 Thread Mike Bonner via use-livecode
Try this form: filter lines of tSource without regex pattern "^stack.*" On Fri, Mar 10, 2017 at 11:31 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > > I am trying to filter a list without integer numbers. Note that > matchText(tControlNames, "[0-9]+")

Re: Messages sent while mouse is down?

2017-03-11 Thread Mike Bonner via use-livecode
mousemove works. It does appear that "mousecontrol" doesn't fire when the mouse is down so that is out. You can also use "within" which is pretty fast. Have a variable with a list of the objects you wish to check against (or array, or whatever) on mousemove if the mouse is down then repeat

Re: Messages sent while mouse is down?

2017-03-11 Thread Mike Bonner via use-livecode
accidental send before complete. *sigh* on mousemove put 1 & cr & 2 into objectList -- just using control number for the quick example if the mouse is down then repeat for each line tLine in objectList if within(control tLine,the mouseloc) then put tLine into

Re: is LCs answer folder state of the art?

2017-03-13 Thread Mike Bonner via use-livecode
On windows, only folders show. On Mon, Mar 13, 2017 at 3:43 PM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Tiemo, > > I'm not sure which OS you're looking at (or which version of LC). > > On MacOS, I'm not seeing the behaviour you describe: for me, "answer >

Re: Help troubleshooting IDE Script Editor Window Position

2017-03-14 Thread Mike Bonner via use-livecode
to get the top of the window, in the message box do: put the top of stack "revnewscripteditor 1" Same of course for bottom, left, right, rect, and loc On Tue, Mar 14, 2017 at 10:12 AM, Bob Hall via use-livecode < use-livecode@lists.runrev.com> wrote: > Is it possible to get the location of the

Re: align field scrolls

2017-03-06 Thread Mike Bonner via use-livecode
An alternate solution.. If you put item 2 of the selectedloc of the first field - item 2 of the selectedloc of the second field into tScroll -- you can then set the vscroll of field "your second field" to the vscroll of field "your second field" - tScroll On Mon, Mar 6, 2017 at 8:27 AM, Paul

Re: Is there a way to find out the SQLite Driver version of my LC ?

2017-04-03 Thread Mike Bonner via use-livecode
You should be able to open an in memory database (or database file, whatever) and then do.. *get *revdatafromquery(,,1,"select sqlite_version()") -- where 1 is the database connector id, and the select statement is obvious. On Mon, Apr 3, 2017 at 1:48 PM, Tom Glod via use-livecode <

Re: Is there a way to find out the SQLite Driver version of my LC ?

2017-04-03 Thread Mike Bonner via use-livecode
btw. on ver 9 dp6 I get 3.15.0 On Mon, Apr 3, 2017 at 2:06 PM, Mike Bonner wrote: > You should be able to open an in memory database (or database file, > whatever) and then do.. > > *get *revdatafromquery(,,1,"select sqlite_version()") -- where 1 is the > database connector

Re: standalone build: "checking directory exists" takes up to 2 min

2017-04-05 Thread Mike Bonner via use-livecode
If you build a standalone for your app, and immediately build again, is the second build faster? If so, it would make me think that the server spins some of its drives down and it takes a second or two to spin them back up. Even if the drive you are accessing doesn't spin down, if others on the

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
I was mainly referring to the fact that an lc server script isn't restricted to a single script file, so scope still matters. (Clarity is not my strong suit) So as in a standalone etc, to use a global one would need to declare it in each script where it needs to be available, whether server or

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Ah k. Still not sure what you mean about how its installed, but if you are hitting lc server script pages directly in the browser through a web server, that part most likely doesn't matter. (otherwise i'm sure you'll correct me) It sounds like you need to use session management. If all your

Re: Nightly builds

2017-04-06 Thread Mike Bonner via use-livecode
Same question.. Where do members find the nightly builds? On Thu, Mar 9, 2017 at 8:14 PM, James Hale via use-livecode < use-livecode@lists.runrev.com> wrote: > I just noticed one of the benefits to membership of the open source > community is access to nightly builds. > > Can anyone tell me how

Re: Re Quick Test for Tiemo

2017-03-31 Thread Mike Bonner via use-livecode
Stackfile change, the stack must be in a later format. I saved a copy with the older stack file version, hopefully it won't break any code (it shouldn't.) https://www.dropbox.com/s/ca3yqa9gvvtrsd4/myMACsStackfilever2_4.livecode?dl=0 On Fri, Mar 31, 2017 at 7:36 AM, Francis Nugent Dixon via

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Mike Bonner via use-livecode
Ok. The problem with "start session" is most likely trying to write the session file to a place without write permissions. Make sure you set the sessionsavepath to a place you can write to. Having said that.. I can't make it work. I can get past start session, all the way to stop session, no

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Mike Bonner via use-livecode
use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike, > > Well I’m glad to see I’m not alone here in not > being able to get “start session” to work. > Now we can enjoy being in the soup together! LOL > > Rick > > > On Apr 7, 2017, at 1:50 PM, Mike Bonn

  1   2   3   4   >