Shortcut tools

版本 1.4.0.0 (17.1 KB) 作者: Richie Cotton
Programmatically manipulate shortcuts.
995.0 次下载
更新时间 2010/10/1

查看许可证

A set of utilities to programmatically manipulate shortcuts (including toolbar shortcuts and help browser favourites).

AddShortcut adds a shortcut to the specified group, which by default is the toolbar, e.g.

AddShortcut('Tidy', 'close all hidden; clear all; clc;');

RemoveShortcuts removes shortcuts from the
specified group, which by default is the toolbar, e.g.

RemoveShortcuts([], 'How to Add');

GetShortcuts retrieves the details of existing toolbar shortcuts, and GetShortcutCategories retrieves the categories that those shortcuts are stored in.

CopyShortcuts moves shortcuts between categories.

AddBrowserFavourite adds a favourite page/command to your help browser favourites list.

Note that the functions rely on undocumented MATLAB features which are subject to change. The files all work correctly in R2010a, R2009b, R2009a and R2008b, (but note that the icon file given in the example does not exist in R2008b). Previous versions have not been tested.

引用格式

Richie Cotton (2024). Shortcut tools (https://www.mathworks.com/matlabcentral/fileexchange/27567-shortcut-tools), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.4.0.0

'backend' folder renamed 'private'
Add Category replaced with AddCategories
Minor bug fixes

1.3.0.0

Cleaned code, added new functions, added more help documentation.

1.2.0.0

Added new functions: AddBrowserFavourite, GetToolbarShortcuts, ShortcutsFile, GetShortcutCategories

Cleaned up terminology: group is now referred to as category throughout.

1.1.0.0

Now checks JVM is turned on.
Logical values now accepted for editable command to AddToolboxShortcut.

1.0.0.0