News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[API Script] get shortcut keys list from tool ID

Started by Yona-TYT, August 02, 2026, 01:40:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

This patch retrieves the list of shortcuts associated with a tool ID. I've tested it with the Underground View tool, and it works fine.

I've removed the previous function because the list allows you to do the same thing and more.

Edit.

Update parch.

Yona-TYT


prissi

Comparing two plainstrings will compare their char pointers, not their content. Not sure if the code works by accident.

Yona-TYT

#3
Quote from: prissi on August 03, 2026, 06:44:05 PMComparing two plainstrings will compare their char pointers, not their content. Not sure if the code works by accident.
So let's use strcmp, (I think Java has spoiled me).

0001-get-shortcut-key-list.patch