inputEmu: Keyboard & Mouse Emulator (v1.0.1)

バージョン 1.2.0.0 (7.05 KB) 作成者: Kesh Ikuma
A Java-based function to control keyboard & mouse programmatically
ダウンロード: 3.6K
更新 2010/9/20

ライセンスの表示

INPUTEMU emulates user inputs via keyboard and mouse.

For example, executing the following line in the Matlab command window

inputemu({...
'key_normal','Hello World\ENTER'
'right_down',[];'right_up' []}') % <= notice the transpose!

yields in "Hello World" typed and executed in MATLAB command window (followed by an obvious error message) and right mouse click menu. For the detailed instructions, please run 'help inputemu'.

This function is a successor to my earlier submission JMOUSEEMU (linked below) with several notable changes:

* Added keyboard input support
* Changed input argument order
* Multiple-command CMDS input argument transposed (i.e., commands defined in columns not in rows)
* Removed support for Matlab HG specification

Also, as a future enhancement, I am planning to support non-US keyboards. The current version most likely produces incorrect characters for many non-alphabet characters with non-US keyboards. To improve this, please post here or contact me directly with feedback (as I only own QWERTY US keyboards)!

引用

Kesh Ikuma (2024). inputEmu: Keyboard & Mouse Emulator (v1.0.1) (https://www.mathworks.com/matlabcentral/fileexchange/28603-inputemu-keyboard-mouse-emulator-v1-0-1), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersEntering Commands についてさらに検索
謝辞

ヒントを得たファイル: jMouseEmu: Mouse Emulator (v2.3)

ヒントを与えたファイル: jMouseEmu: Mouse Emulator (v2.3), Heightprofile from GoogleEarth to 3D-Surface

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

previous v1.0.1 upload incorrect

1.1.0.0

Fixed a bug in subfunction, convertToLowLevelActions()

1.0.0.0