Page 1 of 1

want to add enter button on toolbar

Posted: 27 Mar 2013 14:21
by kotlmg
i want to add enter button on the toolbar. can you give the key code for enter button?
i want to assign control+space butttons combination to one icon on the toolbar. how i can do that?

Re: want to add enter button on toolbar

Posted: 27 Mar 2013 15:02
by klownboy
Enter or open a file is #160 Look under "List All Commands..." in "Help" for the complete listing of commands. Look in the Tools - Manage Commands to assign keyboard shortcuts. You can do this for any script which can also be set as a CTB. The whole script could be simply #160 in this case. You can also go to Tools - Customized Keyboard Shortcuts to assign keyboard shortcuts. By the way, this question should have been placed in Tips & Tricks, Questions & Answers section of the forum not the Scripts section. :naughty: :)

Re: want to add enter button on toolbar

Posted: 27 Mar 2013 16:30
by kotlmg
thanks, your id #160 is working perfectly.

Re: want to add enter button on toolbar

Posted: 28 Mar 2013 15:48
by kotlmg
i want to send simulated key strokes "control+space" to a window or control. basically if i press control and space buttons together, one playlist search window will popup from kmplayer. i need a script so that when i press a button on the toolbar, these keystrokes should go to the kmplayer.
kmplayer is installed in the folder "C:\Program Files (x86)\The KMPlayer\"
is it possible to write xyplorer script for the above requirement.

secondly i want to assign the above script to down arrow on the keyboard.

right now , i am using clavier+ software to simulate such keys.

Re: want to add enter button on toolbar

Posted: 28 Mar 2013 17:04
by highend
is it possible to write xyplorer script for the above requirement.
XYplorer can't send any keys to external windows.

Here is a .ahk (autohotkey) script, that will do what you've asked for.

Code: Select all

#SingleInstance force
SendMode Input

WinActivate, ahk_class Winamp v1.x
Send, ^+
Compile it and just call that .exe from your XYplorer script...

Re: want to add enter button on toolbar

Posted: 30 Mar 2013 06:44
by kotlmg
thanks.