Plugins in LC 4.5

2010-09-30 Thread Cal Horner
Help me out here! Either I'm having a brainfreeze or age is catching up with me. I can't figure out what has been done with the plug in folder that was in my Revolution (edition). And all the documentation that has been provided is leaving me stumped. Has anyone in the list managed to get

Re: Plugins in LC 4.5

2010-09-30 Thread stephen barncard
livecode prefs:filesmemory:user extensions set to your old My Revolution Enterprise (or whatever you want to call it) using the set button (...) On 29 September 2010 18:14, Cal Horner calhor...@xtra.co.nz wrote: Help me out here! Either I'm having a brainfreeze or age is catching up with me.

Re: how to totally make Kevin's day

2010-09-30 Thread Kay C Lan
On Tue, Sep 14, 2010 at 6:46 AM, J. Landman Gay jac...@hyperactivesw.comwrote: Kevin is a very sharp cookie indeed And thankfully, like most cookies, doesn't let his emotions ran rampant when making business decisions. Once again I'm bewildered at the level of emotion, and some of the

send vs dispatch and continuously running processes

2010-09-30 Thread Kee Nethery
Just want to confirm I understand these commands. I tend to write applications that run continuously. They loop over and over doing the same tasks and pretty much never get to a point to where they halt waiting for user input. Thus for me the current script never finishes executing. The send

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Mike Bonner
If you're doing something like a repeat forever loop, somewhere in the loop you should have a wait with messages command so the script has breathing room to execute other things. IE: wait 10 milliseconds with messages As for getting web urls, have you looked at the load command? it will load a

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Kee Nethery
Will look at load and callback as a way to implement this kind of multitasking, thanks. Kee On Sep 30, 2010, at 6:42 AM, Mike Bonner wrote: If you're doing something like a repeat forever loop, somewhere in the loop you should have a wait with messages command so the script has breathing

Re: send vs dispatch and continuously running processes

2010-09-30 Thread DunbarX
I don't really know what you intend, but you probably do not want to lock yourself into a repeat loop. As others have suggested, send in time with messages is very effective, and then call that again: on myMessage doYourStuff send myMessage to me in 1 miilisecond with messages end

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Mike Bonner
If you DO use a repeat loop, the 'wait time with messages' is pretty much obligatory right? So you can setup an exit strategy and so that pending messages (such as sends and dispatches) will still be processed, right? On Thu, Sep 30, 2010 at 8:11 AM, dunb...@aol.com wrote: I don't really know

Re: send vs dispatch and continuously running processes

2010-09-30 Thread DunbarX
Obligatory. Otherwise there is no vehicle for any other interaction. This was the basis for last week's thread, where it was discussed how to dig into a running process from outside that process. You cannot. Fortunately, in this case the wait command is within the operating handler, and

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Kee Nethery
This seems like a good pattern for an app driven by a human. The apps I tend to write launch and then run forever. They constantly look into a database to see if there is something they should be doing. Kee On Sep 30, 2010, at 7:11 AM, dunb...@aol.com wrote: I don't really know what you

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Kee Nethery
On Sep 30, 2010, at 7:15 AM, Mike Bonner wrote: If you DO use a repeat loop, the 'wait time with messages' is pretty much obligatory right? Have never used it but it seems like a good thing to include as a general housekeeping kind of thing. So you can setup an exit strategy and so that

Re: controls with ID 0

2010-09-30 Thread J. Landman Gay
Claudi Cornaz wrote: Hi all, I have a very strange situation where controls get a ID of 0. ID zero is reserved for all the template objects (templateButton, templateField, etc.) It does sound like a bug, but it may have something to do with copying the template object. It would be good to

Re: Livecode resources

2010-09-30 Thread Richmond
On 09/30/2010 12:47 AM, Jim Lambert wrote: On building a Windows standalone from LiveCode 4.5, I get this notice: Icon does not exist:/Applications/Revolution Enterprise/revEnterprise 4.5 (dp 4).app/Contents/Tools/Runtime/Windows/x86-32/Support/Sample Icons/genericapp.ico Why would LiveCode

RSS Feed for revLessons

2010-09-30 Thread Sivakatirswami
I have my email client, Thunderbird, subscribed to the revLessons... I could have sworn that previously when I opened one of these posts in tBird there was a link to click to go to the lesson... but now the body of each article in Thunderbird has only this: e.g. This lesson will show you

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Dar Scott
I have a tutorial stack on using send, should anyone be interested. I called it message machinery or something like that. I made it back when Revolution was coal fired. It is on my website which is even older. Try here: http://pages.swcp.com/~dsc/revstacks.html Dar On Sep 30, 2010,

INSERT into PostGreSQL triggers RevdbError but no error

2010-09-30 Thread Sivakatirswami
Slightly OT if this is more about PostGreSQL than LiveCodeServer I'm doing my very first dbase insertion from an iRev form. finally getting a successful a connection ID after fiddling with pg_hba.conf ASIDE: does RevServer connect on local unix domain socket or local tcp/ip Then tried this

Re: INSERT into PostGreSQL triggers RevdbError but no error

2010-09-30 Thread Pierre Sahores
Have an eye on this about irev = postgreSQL production state design skills : put SELECT module_name,activation FROM CustModules WHERE module_name = ' tparam1 ' into sqlStatement put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Robert Brenstein
on myMessage doYourStuff send myMessage to me in 1 miilisecond with messages end myMessage This seems like a good pattern for an app driven by a human. The apps I tend to write launch and then run forever. They constantly look into a database to see if there is something they

Re: loading another stack from splash

2010-09-30 Thread Sivakatirswami
On 9/28/10 5:11 PM, Mark Smith wrote: Also, it would be real nice not to have to hard code the path in case I want to change its location. Having to manage two stacks instead of one does seems like an added burden. Stumped. Any help appreciated -- Mark We meaning many of us here... do this

Re: uuencode/uudecode

2010-09-30 Thread Alex Tweedly
Sorry about the delay - I started this interesting exercise, but got distracted . Here's a simple script that handles uuencoding a file. It's been moderately, but not thoroughly, tested. on mouseUp answer file Select a file if it is empty then exit mouseUp put URL (binfile:

ANN: Installer Maker Plugin 1.4.1

2010-09-30 Thread Mark Schonewille
Hi all, This is an important announcement for all users of the Installer Maker Plugin. A user found a small but important bug in the Installer Maker Plugin earlier today. The bug has been fixed and it is recommended to download the latest version of the plugin. You can download a new copy of

Re: INSERT into PostGreSQL triggers RevdbError but no error

2010-09-30 Thread Sivakatirswami
Aloha, Pierre: Thank you! there is nothing wrong with my SQL If I use: --- put INSERT INTO some-table (first_name, last_name, anonymous) VALUES ('Batman', 'MosquitoEater', TRUE); into tSQL revExecuteSQL gConnectionID,tSQL put the result into tResponse --- I get '1' which is

Listing all the unique words in a piece of text (Resource Center broken?)

2010-09-30 Thread Mark Swindell
There's a sample script in the LiveCode Resource Center called listing all the unique words in a piece of text. It's located under Resource Center/Sample Scripts/Text/Listing all the ... There's a button available to download the script. Unfortunately it doesn't appear to work and I can't

Re: Listing all the unique words in a piece of text (Resource Center broken?)

2010-09-30 Thread Mark Swindell
I stumbled upon the solution to my own problem quite by accident. After clicking on copy script of another item (with again no feedback whatsoever) I went back to my stack and attempted to paste a different script into a field (not the button script as I had tried before), on the off chance it

Re: Listing all the unique words in a piece of text (Resource Center broken?)

2010-09-30 Thread Phil Davis
Hi Mark, It's not hard! repeat for each word tWord in tYourtext add 1 to aWordCounts[tWord] end repeat put the keys of aWordCounts into tList sort lines of tList put tList ... but you probably figured this out by now. Phil On 9/30/10 8:17 PM, Mark Swindell wrote: There's a sample