User Input

From RMX Automation Wiki

Jump to: navigation, search


Contents

[edit] History

The User Input plugin initially started as the API-KB for Winamp plugin, but was later merged with RM-900 for Winamp and DX-Joy for Winamp to form RMX Automation. When RMX split up into multiple plugins again, this plugin was renamed to "Keyboard Shortcuts". The plugin was then renamed to "User Input" to represend the fact that it will soon support mouse input and emulation as well.


[edit] Keyboard Emulation

The User Input plugin provides the "Keyboard Emulation" RMX function as well as the "sendkeys" script function. These functions support a custom string format for sending special characters. Normal characters can be passed directly ("test string"). Special characters can be sent by their name enclosed in brackets ("[ENTER]"). Modifiers need to be closed when they should be released ("[SHIFT]6[/SHIFT]").

Examples:

"StuFF"               -- types the characters 'S' 't' 'u' 'F' 'F'
"[CTRL][ESC][/CTRL]"  -- opens the start menu
"[WIN]d[/WIN]"        -- shows/hides the desktop
"[SHIFT]6[/SHIFT]"    -- types a charat: ^
"[NUMLOCK]"           -- turns on/off numlock
"[RIGHT][RIGHT][UP]"  -- moves right twice, then up once
":-[RBRACKET]"        -- types a smiley face :-]

Possible Modifiers:

[SHIFT] [/SHIFT]
[CTRL]  [/CTRL]
[ALT]   [/ALT]
[WIN]   [/WIN]
[KANA]  [/KANA]

[edit] Configuration

Click on the Add button to add a new keyboard shortcut.
Image:Config User Input 1.png

Click in the box on the Key Combination item.
Image:Config User Input 2.png

Press the key combination that you wish to use for your keyboard shortcut.
Image:Config User Input 3.png

Next, assign a function to your keyboard shortcut. (for additional help assigning functions to events, see configuration)
Image:Config User Input 4.png

Repeat this process for additional keyboard shortcuts.
Image:Config User Input 5.png


[edit] Special Notes

The User Input plugin will not be able to detect key pressed or mouse movements caused by its own emulation functions. This could in theory cause an infinite loop (detect key press 'a' -> emulate keypress 'a' -> detect key press 'a' -> etc)

Personal tools