How to send text in a xyplorer script?
Posted: 06 Mar 2012 09:14
I recently use xyplorer! It's wonderful.
I want to write a script to easy my work: focus the address bar and type some words.
i.e. I want to search files like "abc.txt". I send "ctrl+alt+a" to focus address bar and I type "?abc" to search the files.
It is boring to type "ctrl+alt+a" each time. I wish to make a script to easy the work. The keymap with script is like:
? -> ::focus address bar; send "?"
So I can just type one "?" to starting search directly. No more type "ctrl+alt+a" again and again.
I know "focus address bar" has a command id:#1014.
But I can't find a command named "send" or "send_text". So I can't send "?" to address bar.
Is there a "send" command in xyplorer. or someone can tell me how to send text in the script?
I want to write a script to easy my work: focus the address bar and type some words.
i.e. I want to search files like "abc.txt". I send "ctrl+alt+a" to focus address bar and I type "?abc" to search the files.
It is boring to type "ctrl+alt+a" each time. I wish to make a script to easy the work. The keymap with script is like:
? -> ::focus address bar; send "?"
So I can just type one "?" to starting search directly. No more type "ctrl+alt+a" again and again.
I know "focus address bar" has a command id:#1014.
But I can't find a command named "send" or "send_text". So I can't send "?" to address bar.
Is there a "send" command in xyplorer. or someone can tell me how to send text in the script?