Classic Shell

Open - menu button
Page 1 of 1

Author:  Yaron [ Sat Apr 12, 2014 2:13 pm ]
Post subject:  Open - menu button


Could you please duplicate the Open - menu button (in the Command Bar, displaying the associated program when an item is selected) to CS toolbar?
I'd like to remove the Command Bar; Open is the only button I find useful.

Thank you.

Author:  Gaurav [ Sat Apr 12, 2014 11:24 pm ]
Post subject:  Re: Open - menu button

For "Open", create a custom command button with the target:

open %2

That will work like Open. As for the Open with/Choose default program functionality of that button, create a subitem for the above button, and use this command:

rundll32.exe shell32.dll,OpenAs_RunDLL %2

Author:  Yaron [ Sun Apr 13, 2014 10:10 am ]
Post subject:  Re: Open - menu button

Thank you GauravK. I really appreciate it.

Would it be possible to emulate exactly the behavior of the button in the command bar?
1) Getting the list of additional potential programs for the selected item when clicking the arrow (e.g. Notepad++ for a text file)?
2) Can I set the icon to change dynamically according to the selected item?

Best regards.

Author:  Gaurav [ Sun Apr 13, 2014 11:27 am ]
Post subject:  Re: Open - menu button

No that's not possible for an Explorer toolbar button AFAIK. The programs and icon are obtained on-the-fly from the Registry. You can get the same in the right click context menu though which has Open With.

Author:  Yaron [ Sun Apr 13, 2014 12:23 pm ]
Post subject:  Re: Open - menu button  Topic is solved

Thanks again. I appreciate your help.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group