Re: Notification of compilation

2015-02-28 Thread Richard Gaskin
Peter Haworth wrote: > You can use the seSetObjectState message I mentioned in my last post, > look for a value of "edited" in the second parameter to know that a > script needs to be compiled and, as already mentioned, "applied" > after a successful compilation. Earlier dunbarx wrote: > But not

[Almost OT] Interfacing with GNUCash

2015-02-28 Thread Peter W A Wood
Has anybody written a LiveCode script which posts transactions directly into the GNUCash accounting system (or similar)? I know that GNUCash stores its data in SQLite so there is the option to write the data directly to the GNUCash database but I was wondering if anybody knows a better way. Re

Re: Notification of compilation

2015-02-28 Thread Michael Doub
Thanks guys. I was successfully able to put in a check so when the script containing the library part of the MasterLibrary is successfully "applied" the index is automatically create. No more need to remember to hit the refresh button. Regards, Mike On 2/28/15 5:12 PM, Mark Schonewill

Re: Notification of compilation

2015-02-28 Thread Mark Schonewille
Nice, Peter. I didn't know about this one. I guess it makes my answer redundant. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: htt

Re: Notification of compilation

2015-02-28 Thread Mark Schonewille
Hi Mike, When the script editor comes to front, the resumeStack message is triggered. This runs a resumeStack handler, which compares the content of the script editor with the actual script of the control, card or stack. There is no notification, just a simple "if fld x is not the script of c

Re: Notification of compilation

2015-02-28 Thread Peter Haworth
Hi Michael, I miss this post. You can use the seSetObjectState message I mentioned in my last post, look for a value of "edited" in the second parameter to know that a script needs to be compiled and, as already mentioned, "applied" after a successful compilation. On Sat Feb 28 2015 at 10:27:44 A

Re: Notification of compilation

2015-02-28 Thread Peter Haworth
Try seSetObjectState in a front script. It has two parameters, first is the object being compiled and second will have a value of "applied" after a successful compile. On Sat Feb 28 2015 at 1:36:06 PM wrote: > I am fond of saying that one of the best things about LC is that > everything is a st

Re: Notification of compilation

2015-02-28 Thread dunbarx
I am fond of saying that one of the best things about LC is that everything is a stack. But nothing shows up in the message watcher, with IDE messages permitted, when you compile a script. Must be something deeper, or such things are blocked. One would think, with perfect transparency, that at

Notification of compilation

2015-02-28 Thread Michael Doub
Does anyone know if there is way to detect when a specific objects script has be compiled? I am thinking that there must be because the script editor seems to know when a script has been changed outside the editor. I have been looking thru the IDE stack and have not found a clue yet. Any i

Re: LiveCode 7.0.3: a new meme

2015-02-28 Thread Paul Hibbert
No, it's in the ~/Documents folder. After reading Jacque’s reply (thank you Jacque), I tried moving groups of files and folders back into the ‘My LiveCode’ folder to see if there was an offending document or folder, but now everything works fine, so I can only imagine it was possibly a fault in

Re: matchText question

2015-02-28 Thread Peter M. Brigham
OK, so based on all this, here is a handler for getting a handler from the script of an object (watch linewraps). -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig - function getHandlerFromScript pObjRef, pHandlerName, pType -- returns the specified handler

Re: LiveCode 7.0.3: a new meme

2015-02-28 Thread Richard Gaskin
Brahmanathaswami wrote: > Richard: recently someone else on our team using LC 7 server > (community -- digital ocean ubuntu 12.* with all the needed > libraries) had trouble with this simple xml tree creation. > We had a paid support ticket in with LC HQ who simply confirmed > "Yes you have all

Re: matchText question

2015-02-28 Thread Richard Gaskin
Peter M. Brigham wrote: > On Feb 27, 2015, at 10:20 PM, Richard Gaskin wrote: > >> Peter M. Brigham wrote: >> > The output I get from revAvailableHandlers looks like this: >> > >> > M mouseleave 14 17 button id 1026 of group id 1021 of card id 1082 >> > of stack "NCMHC notes" of stack "/Users/pmb

Re: matchText question

2015-02-28 Thread Peter M. Brigham
On Feb 27, 2015, at 10:20 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > The output I get from revAvailableHandlers looks like this: > > > > M mouseleave 14 17 button id 1026 of group id 1021 of card id 1082 > > of stack "NCMHC notes" of stack "/Users/pmbrig/Documents/LiveCode/ > > NCM

Re: matchText question

2015-02-28 Thread Michael Doub
Dick, I my case. The handlerList is not found. I tried in 7.0.3. -= Mike On 2/27/15 9:39 PM, Dick Kriesel wrote: On Feb 27, 2015, at 3:17 PM, Peter M. Brigham wrote: Is handlerList() a built-in LC function? Or a proprietary function? When I try it in LC 5.5.1 it can't find the function,

Re: Rank Beginner Reference Materials

2015-02-28 Thread Peter Alcibiades
The more the merrier, but I think Mark Shonewille's book, Programming LiveCode for the Real Beginner, is very nice indeed and covers an amazing amount accessibly in a very short book, starting from real basics. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.co

Re: LiveCode 7.0.3: a new meme

2015-02-28 Thread BNig
Hi Terry, > Just had another look at this (modTableField_0_2_9New.livecode), assuming > this is the latest version? > > Changed the random data setting to 5000 and the alternate highlighted > lines did not centre the text correctly? Bug 14238 - backgroundpattern of a field out of sync if fo