Re: [ANN] tinyDictionary

2017-03-22 Thread Mike Bonner via use-livecode
ay.. I can just 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 (featur

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 use-livecode

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 of

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 18,

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: > > https://live

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: Translating escape sequences

2017-03-15 Thread Mike Bonner via use-livecode
(watches as the whole topic zooms over his head) On Wed, Mar 15, 2017 at 4:03 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 3/15/17 4:03 PM, Mike Bonner via use-livecode wrote: > >> does this mean one could replace /u with 0x and then replace

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. > > Rich

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 I

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 use-liv

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 > fold

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: 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: 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
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 tRes

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 for

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]+") returns

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 Dupu

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 stac

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? AFA

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 us

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 use-l

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
Feb 24, 2017 at 10: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: > > > &g

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 Sneidar via use-livec

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 without

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 th

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. (my

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 " & s

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 exit

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

2017-02-06 Thread Mike Bonner via use-livecode
aching. > > 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 kn

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 < use-livecode@lists

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
editing local files.. 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 wrote: > On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via > use-livecode" use-livecode@lists.ru

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 for me. (and yes, the

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 wrote: > John: Ditto what Bill

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, Sannya

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
gt; of the particular challenge. >> >> https://ggnome.com/forum/viewtopic.php?f=13&t=11663 < >> https://ggnome.com/forum/viewtopic.php?f=13&t=11663> >> >> There may be folks interested in what Livecode could do for their >> workflow too :)

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-02 Thread Mike Bonner via use-livecode
ropboxusercontent.com/u/6767916/VR_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: > > > &g

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 ppp name) > > On Tue,

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 in your face if you se

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 100.0

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: 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 pDegrees

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 > d

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, Ja

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 revDatabaseTableNames, > > and filter

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 < use-livecode@l

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 < > use-live

Re: Dirty HTTP Launch

2017-01-30 Thread Mike Bonner via use-livecode
ates 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 function too > > > >

Re: Dirty HTTP Launch

2017-01-30 Thread Mike Bonner via use-livecode
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-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 Liveco

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 on

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 a

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: OT: Flash tablet

2017-01-24 Thread Mike Bonner via use-livecode
om> 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 >> >> &g

Re: OT: Flash tablet

2017-01-24 Thread Mike Bonner via use-livecode
unrev.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 > > > On Jan 24, 2017 4:04 PM, "

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 trust

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 socke

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 d

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.

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 file

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 from

Re: LC Server & Server Based Stack?

2017-01-21 Thread Mike Bonner via use-livecode
change - yes? > > The file communication 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,

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
ities exist in using the server 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.. fir

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 no

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 you think you're on.

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
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-liveco

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
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 t

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
; 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 nothing. >&g

Re: LC Server & Server Based Stack?

2017-01-20 Thread Mike Bonner via use-livecode
d 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 ani

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 (you'

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 completely)

Re: LC Server & Server Based Stack?

2017-01-08 Thread Mike Bonner via use-livecode
ply when 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 > > >

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 curiou

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 entire

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 saved

<    1   2   3   4