It is currently Thu Oct 17, 2019 7:01 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Before posting a bug report or a feature request, search the forum for an older post on the same topic.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Open - menu button
PostPosted: Sat Apr 12, 2014 2:13 pm 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
Hello,

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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Open - menu button
PostPosted: Sat Apr 12, 2014 11:24 pm 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5352
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

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Open - menu button
PostPosted: Sun Apr 13, 2014 10:10 am 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Open - menu button
PostPosted: Sun Apr 13, 2014 11:27 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5352
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.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 13, 2014 12:23 pm 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
Thanks again. I appreciate your help.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.