Script Editor Conundrum

Bob Sneidar bobs at twft.com
Wed Feb 29 11:06:59 EST 2012


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 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 I didn't have the knowledge(expertise) to insert the code by program
>> 
>> 
>> My question is can I place the generated code into the script editor, by
>> program.
>> 
>> If it is possible, How is it done. Any examples?
>> 
>> Thanks
>> 
>> Cal
>> 
> 
> Surely all one has to do is something like this:
> 
> put fld "NEWSCRIPT" into the script of button "BLAH"
> 
> of course it is probably hardly worth it as you would have
> to import the script from a text file into a fld, and by the time you've
> done that and the script it is probably just as time consuming as cutting-and-pasting the
> text yourself.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list