How to remove script from IDE list?

Somehow I ended up with a XojoBuildPressed script added to Xojo → File → IDE Scripts menu.

How do we remove scripts from this menu? I know we use hold down the Option key when opening a script to add it to this menu… so how do we remove items from it?

Screenshot 2022-11-21 at 10.28.21 AM

Go to the folder containing the Xojo app.
In that folder there’s another folder named Scripts.
There you should find the script you are looking for.

Thank you. Somehow the build script from under Build Settings → macOS got move to the IDE Scripts.

That’s not it. XojoBuildPressed is a very special script that when put into one of the ide scripts folders will run its code when you do a build in the IDE.