want to add enter button on toolbar

Discuss and share scripts and script files...
Post Reply
kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

want to add enter button on toolbar

Post 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?

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: want to add enter button on toolbar

Post 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: :)

kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

Re: want to add enter button on toolbar

Post by kotlmg »

thanks, your id #160 is working perfectly.

kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

Re: want to add enter button on toolbar

Post 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.

highend
Posts: 14942
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: want to add enter button on toolbar

Post 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...
One of my scripts helped you out? Please donate via Paypal

kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

Re: want to add enter button on toolbar

Post by kotlmg »

thanks.

Post Reply