Set the script of... not working ???
Jim Ault
JimAultWins at yahoo.com
Thu Feb 8 13:13:10 EST 2007
My quick guess is that one or more of your handlers make Rev think that the
script cannot be edited and applied. If you manually open the script editor
for this object, add a character and then apply, are you successful?
Jim Ault
Las Vegas
On 2/8/07 9:10 AM, "David Bovill" <david at openpartnership.net> wrote:
> I have a script which is trying to delete handlers from a library -
> here are the lines that are not working:
>
> put the script of scriptObject into someScript
> delete char startChar to endChar of someScript
>
> put the number of chars of someScript
> set the script of scriptObject to empty
> put someScript
> set the script of scriptObject to someScript
>
> put merge("Deleted handler '[[handlerName]]'!")
>
> In the message box I get:
>
> 70641
>
> That is the script exits and is not able to set the script to empty or
> to anything else. I have never come across this before - but it is a
> large script - is there a limit to the how large a script can be for
> this to work ???
More information about the use-livecode
mailing list