MZ Trying to add category switch to Item window

So I have my Item scene set to automatically activate the category when you select Items from the main menu scene.
The problem I'm having is there is no key to switch between categories like one would actors on say the equip scene. So I would like to add it, but I'm not sure how to. I would like them to use the default pageup pagedown like the swich actors use on other scenes.

Any help would be appreciated.
You'd need to write a plugin that overrides Window_ItemCategory.processPageup and processPageDown to increment/decrement its index.
Hmmm ok. I'll see if that's in the scope of my js skill.
So I have my Item scene set to automatically activate the category when you select Items from the main menu scene.
The problem I'm having is there is no key to switch between categories like one would actors on say the equip scene. So I would like to add it, but I'm not sure how to. I would like them to use the default pageup pagedown like the switch actors use on other scenes.

Any help would be appreciated.

I'm a bit confused.. do you mean you want to be able to switch categories with pageup/pagedown while the item list window is active?
...so not when the category window is active but instead when the item list is active?
@ct_bolt i think so. So when you open the item window the categories are there. Then you select the category and the item window is now active. That's when I want to be able to switch catagories with page up and page down.
@ct_bolt i think so. So when you open the item window the categories are there. Then you select the category and the item window is now active. That's when I want to be able to switch categories with page up and page down.
Ok 🙂 done & done 😉

Looks like this:
Spoiler: Video Demo

I think that will work how you want. Seems to work nicely from my brief tests ☺️

Let me know how it goes 🙂
@ct_bolt that looks perfect. I'll be able to test it out here in a bit. What are Terms of Use?

EDIT: Looks like it works great! Combined with my skip category select script, my item menu is now quicker to navigate. Thanks a lot for this as my attempts were not successful.
What are Terms of Use?
Free to use however you desire. 🙂 No credit needed but is always appreciated. ☺️

Looks like it works great! Combined with my skip category select script, my item menu is now quicker to navigate. Thanks a lot for this as my attempts were not successful.
Yay! Glad to hear.
No prob. Happy to help ☺️👍

Edit:
Heya!

A little while back you made a plugin that would allow the Page Up and Page Down buttons to work on the item scene to cycle through categories (attached to this message). I ran into an error with it. When I'm on the main screen walking around if I hit Page Up or Page Down it throws an error, "Cannot read property "index" of undefined". It does reference lines 40 and 72. Is this something you would be willing to help fix as i cannot figure it out? If not, that's totally fine.

Thanks for your time,
Oggy

Woops.. never tested that part. Fixed now 🙂

Update\Fix (v1.01):
[RMMZ] Switch Item Category With Page Keys by CT_Bolt

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-add-category-switch-to-item-window.151920/