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?
How to send text in a xyplorer script?
-
- Site Admin
- Posts: 60538
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to send text in a xyplorer script?
You cannot. Instead simply use this script:
Code: Select all
goto "?abc";
FAQ | XY News RSS | XY Twitter
Re: How to send text in a xyplorer script?
this script should work
Code: Select all
focus "A";sendkeys "?";
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
-
- Site Admin
- Posts: 60538
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: How to send text in a xyplorer script?
FYI, sendkeys is not documented -- but yes, it should work.
FAQ | XY News RSS | XY Twitter