Page 1 of 1

removing a script from an object

Posted: Fri Nov 07, 2008 12:34 am
by billworld
If I set a script to a card then later remove all the lines of this script, in the App. Browser it still shows as the card having 1 line of script attached to it.

I've also tried the third party Navigator which colorizes the names of items containing scripts and here to it still thinks there's a script even after all lines have been removed.

Is there a way to truly remove a script from an item/object so RR properly shows that there's no script attached?

Posted: Fri Nov 07, 2008 7:03 am
by Janschenkel
You can always use the Message Box and type:

Code: Select all

set the script of <object> to empty
but that may very well give you the same result; so it looks like the Application Browser may be using an internal cache to speed things up (which is good) but doesn't update this cache properly.

Jan Schenkel.

Posted: Fri Nov 07, 2008 2:20 pm
by billworld
Thanks. That works. Setting this then relaunching RR clears out the App. Browser scripts line #. Just deleting all of the lines in the SE doesn't accomplish this (I was doing before). One has to specifically set the script as empty and then relaunch. Thanks.
Janschenkel wrote:You can always use the Message Box and type:

Code: Select all

set the script of <object> to empty
but that may very well give you the same result; so it looks like the Application Browser may be using an internal cache to speed things up (which is good) but doesn't update this cache properly.

Jan Schenkel.