Here's one I didn't think possible. I had saved a button in the object library plugin, and wanted to place it in a card. I clicked on "Place object" but didn't realize that I didn't actually have any stacks open -- EXCEPT for the object library stack. So, it placed my button alright -- right smack in the middle of the object library stack! Now I can't remove it, can't select it, and can't access it in the application browser because the object library stack is password protected. How the heck do I undo this?? Admittedly, I'm slightly amused that it happened, but my minor touch of OCD will drive me crazy having that silly button right in the middle of the object library.
Mark
Undo a change *to* the object library stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Undo a change *to* the object library stack
Okay, problem solved.
I used the find command to search all open stack files for the name of the button. Fortunately, it was not a common one. Double clicked on the result and the script window opened. I then copied the full id of the button (from the top of the script window) and then, in the message window, typed this:
I'm still surprised Livecode let me add a button TO the object library in the first place, but at least now it's removed.
Mark
I used the find command to search all open stack files for the name of the button. Fortunately, it was not a common one. Double clicked on the result and the script window opened. I then copied the full id of the button (from the top of the script window) and then, in the message window, typed this:
Code: Select all
delete button id 1567 of card id 1150 of stack "/Applications/LiveCode 4.6.4.app/contents/Tools/Toolset/revimagelibrary.rev"
Mark