Problem with Set Script in Compiled App

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Aug 24 10:29:57 EDT 2005


Hi Dave,

 From the docs:
When using a standalone application, an object's script property may  
not be set to a string containing more than ten statements. This  
limit is set by line 1 of the scriptLimits function. (This does not  
limit scripts that are already written: standalone applications can  
run scripts of any length. However, if the standalone attempts to  
change an object's script property, and the script contains more than  
the allowable number of statements, the attempt to set the script  
causes an error.)
So your only chance is to get a special licence as it was previously  
said :-(

Best Regards from Paris,

Eric Chatonet.

Le 24 août 05 à 16:16, David Burgun a écrit :

> Hi,
>
> There are a number of reasons to extract the Scripts of RunRev
> Objects into seperate text files:
>
> 1.  We have to check files into a Source Database (Source Control
> System) and Binary Files are not handlied that well.
>
> 2.  We want to be able to compare and exchange scripts from previous
> versions and to track the deleteion and additions of objects to the
> stack.
>
> 3.  For QA it is usefull to be able to take the latest GUI in terms
> of appearance and swop in older scripts, to pin point where the
> problems lie.
>
> 4.  There are lots of expensive tools (which we have) for comparing
> and merging source code trees, exporting the scripts as files allows
> us use them.
>
> 5.  We want be able to globally replace Text across a whole stack or
> project/application.
>
> 6  We want to write an "include" file pre-processor that grabs
> functions from a Common Include file.
>
> There are more reasons that this, but these are the main ones off the
> top of my head!
>
> All the Best
> Dave
>
>
>> Dave,
>>
>> I don't understand the purpose of such an architecture.
>> As far I know, if you have saved scripts (not separate handlers and
>> functions) as a whole in a database, there is no way to re-attach
>> them to the appropriate objects in RunRev if there are more than 10
>> lines unless you get a special licence as Richard pointed it out.
>> I still believe your problem is an architecture problem...
>> If you want to be more precise, we might help you :-)
>>
>> Le 24 août 05 à 13:55, David Burgun a écrit :
>>
>>
>>> I've written a Stack that outputs the scripts to seperate text
>>> files which is then checked into a source database. I would like to
>>> be able to import these scripts and re-attach them to the
>>> appropriate objects in RunRev.
>>>
>>
>>
>> Best Regards from Paris,
>>
>> Eric Chatonet.

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list