Re: Script Editor Conundrum

2012-02-29 Thread Bob Sneidar
I assumed we were getting the script first, so this implied the process of getting the script, putting cr & the newscript after it, and then setting the script to it. Sorry for the confusion. Bob On Feb 29, 2012, at 8:14 AM, Richmond wrote: > On 02/29/2012 06:06 PM, Bob Sneidar wrote: >> I w

Re: Script Editor Conundrum

2012-02-29 Thread Richmond
On 02/29/2012 06:06 PM, Bob Sneidar wrote: I would say AFTER in case there is something there already, and I would put cr& field "NEWSCRIPT" to make sure you are not putting anything on the same line as the last line of a script. Well, as I pointed out a couple of hours ago; one should use S

Re: Script Editor Conundrum

2012-02-29 Thread Bob Sneidar
I would say AFTER in case there is something there already, and I would put cr & field "NEWSCRIPT" to make sure you are not putting anything on the same line as the last line of a script. Bob On Feb 29, 2012, at 12:24 AM, Richmond wrote: > On 02/29/2012 05:59 AM, Cal Horner wrote: >> Over th

Re: Script Editor Conundrum

2012-02-29 Thread Richmond
On 02/29/2012 03:51 PM, dunb...@aol.com wrote: Richmond. No. See my earlier post. A script is a property, not a container. Craig You are quite right; and I was quite sleepy this morning when I wrote that nonsense. However, try this: set the script of btn "XX" to field "BIGSURPRISE"

Re: Script Editor Conundrum

2012-02-29 Thread dunbarx
Richmond. No. See my earlier post. A script is a property, not a container. Craig -Original Message- From: Richmond To: How to use LiveCode Sent: Wed, Feb 29, 2012 3:26 am Subject: Re: Script Editor Conundrum On 02/29/2012 05:59 AM, Cal Horner wrote: > Over the years I h

Re: Script Editor Conundrum

2012-02-29 Thread Matthias Rebbe
Hi, i remember to have read about that template days ago, but cannot find the original posting anymore. Could someone please tell me under what topic/subject this was posted to the list? Regards, Matthias Am 29.02.2012 um 04:59 schrieb Cal Horner: > An example would be the > ask/answer dial

Re: Script Editor Conundrum

2012-02-29 Thread Matthias Rebbe
Hi Cal, Sarah Reichelt made a little tool called funkey. This tool let the user assing code snippets to function keys. The user then can insert the script into the script editor by pressing the function key. You can download it from here http://www.troz.net/rev/index.irev?category=Plugin HTH

Re: Script Editor Conundrum

2012-02-29 Thread Richmond
On 02/29/2012 05:59 AM, Cal Horner wrote: Over the years I have created a lot of plug-ins. Some templates are for the interface and many templates are for scripts. An example would be the ask/answer dialog template. I have always cut and pasted the scripts into the script editor. Simply because

Re: Script Editor Conundrum

2012-02-28 Thread dunbarx
The script of an object is a property of that object. It is not a container. I'll explain. If you want to change the data in a container, like a field or a variable, you do things like "put" data into (or after, whatever) that container. But if you want to change the data in a script, being a