Page 1 of 1

show Start menu - would this be possible ?

Posted: 09 Feb 2010 16:09
by little titty
would it be possible to call up the start menu via a script (that could be linked to a toolbar button) ? I tried myself but the script only opened the startmenu folder in the lister. I was trying to get a scrollable menu list like the start menu. Is xyplorer capable of this?

Re: show Start menu - would this be possible ?

Posted: 09 Feb 2010 17:24
by zer0
Not using XY scripting. One would have to write an actual application that would call start menu at cursor's position -- quite tricky and not in XY's scope.

Re: show Start menu - would this be possible ?

Posted: 09 Feb 2010 17:47
by serendipity
little titty wrote:would it be possible to call up the start menu via a script (that could be linked to a toolbar button) ? I tried myself but the script only opened the startmenu folder in the lister. I was trying to get a scrollable menu list like the start menu. Is xyplorer capable of this?
One could send keystrokes to computer in XY using command sendkeys (undocumented command). For example typing ::sendkeys "{F1}"; in addressbar will open help file.
Shortcut for start menu is control+Escape, so ::sendkeys "^{ESC}"; should work. But it does not seem to work for me. Maybe Don has disabled sending escape. No other ideas right now.

Re: show Start menu - would this be possible ?

Posted: 09 Feb 2010 18:02
by TheQwerty
serendipity wrote:One could send keystrokes to computer in XY using command sendkeys (undocumented command). For example typing ::sendkeys "{F1}"; in addressbar will open help file.
Shortcut for start menu is control+Escape, so ::sendkeys "^{ESC}"; should work. But it does not seem to work for me. Maybe Don has disabled sending escape. No other ideas right now.
The command works, but it's sending it to XY's control instead of Windows/the taskbar, so I'm not sure it could be used as a solution.

Re: show Start menu - would this be possible ?

Posted: 09 Feb 2010 18:05
by zer0
TheQwerty wrote:
serendipity wrote:One could send keystrokes to computer in XY using command sendkeys (undocumented command). For example typing ::sendkeys "{F1}"; in addressbar will open help file.
Shortcut for start menu is control+Escape, so ::sendkeys "^{ESC}"; should work. But it does not seem to work for me. Maybe Don has disabled sending escape. No other ideas right now.
The command works, but it's sending it to XY's control instead of Windows/the taskbar, so I'm not sure it could be used as a solution.
Also, the menu would open in its orthodox location as opposed to where mouse cursor is...at least that is what is wanted in my interpretation of OP's post.

Re: show Start menu - would this be possible ?

Posted: 09 Feb 2010 20:06
by little titty
OK just an idea, and i wondered if it was even possible.
But I am glad I asked as that sendkeys command looks really interesting!

Re: show Start menu - would this be possible ?

Posted: 09 Feb 2010 20:22
by serendipity
TheQwerty wrote:
serendipity wrote:One could send keystrokes to computer in XY using command sendkeys (undocumented command). For example typing ::sendkeys "{F1}"; in addressbar will open help file.
Shortcut for start menu is control+Escape, so ::sendkeys "^{ESC}"; should work. But it does not seem to work for me. Maybe Don has disabled sending escape. No other ideas right now.
The command works, but it's sending it to XY's control instead of Windows/the taskbar, so I'm not sure it could be used as a solution.
True, that doesn't seem to work. I guess one can use nircmd.exe to achieve this. I'll give it a try.
update: I have this assigned to the button.

Code: Select all

 run "nircmd.exe sendkey ctrl down";
 run "nircmd.exe sendkey esc down";
 run "nircmd.exe sendkey esc up";
 run "nircmd.exe sendkey ctrl up";
But ofcourse start menu pops up in the usual position, not near the button.

Re: show Start menu - would this be possible ?

Posted: 15 Apr 2010 00:05
by arirish
Shame... that would be REALLY cool.