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?
removing a script from an object
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
You can always use the Message Box and type: 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.
Code: Select all
set the script of <object> to empty
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
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: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.Code: Select all
set the script of <object> to empty
Jan Schenkel.