How do you reload the scratch skin? I have edited it, but how do you reload it?

Offline
Bump! I need help!

Offline
You use:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')
Be sure to reload the whole frame, too (either by "Save image for end-user" or with the following)
World fullRepaintNeeded.
viewerPane rebuildCategorySelectors.
self updatePanes.
self
view: scriptsPane target
tab: scriptsPane tabPane currentTab
category: viewerPane currentCategoryOffline
jvvg wrote:
You use:
Code:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')Be sure to reload the whole frame, too (either by "Save image for end-user" or with the following)
Code:
World fullRepaintNeeded. viewerPane rebuildCategorySelectors. self updatePanes. self view: scriptsPane target tab: scriptsPane tabPane currentTab category: viewerPane currentCategory
Where do you put that code?

Offline
It causes an error and deletes the categories.

Offline
It just closes Scratch, and when I open it nothing new happens

Offline
Are there any other codes?

Offline
I'm pretty sure the code is:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')
Note: that code is the same as above.
However, the skin must be in the ScratchSkin directory (in the working directory of the mod), and (this is probably where it messed up) it must have everything that is needed.
And after trying that code, save image for end user.
Offline
Btw, to get the code to upload to Mod Share, you need your mod accepted.
To do that, please post a request in the mod suggestion forum.
[/offtopic]
Offline
Oh no! All the categories deleted, and it's stuck like that! O.O

Offline