views:

273

answers:

2

I want to add a button to Win Exp. toolbar and run a script file with the button. How can I do it in Delphi? Or may be Win API?

A: 

Yes, all you need is to write a toolbar for Explorer :). There are a lot of articles about implementation of the toolbar:
one
two
three
four (in delphi)

zihotki
Windows Explorer, he said. Not Internet Explorer.
gabr
gabr and SimaWB, First of all toolbars for IE and Windows Explorer are almost the same. And if you look at the first link more attentive you will see that the target there is Windows Explorer. Toolbars for IE and WE uses the same BandObject's.
zihotki
Also if you install toolbar for IE you will be able to see it in WE too via View->Toolbars. So all information that you need to create a button and add it to WE is provided or you prefer full complete step-by-step guide for your case?
zihotki
Thanks zihotki. But I don't want to create new toolbar. Only add new button to Standart Toolbar of WE. But may be I must add new toolbar for quick solution.
SimaWB
A: 

Perhaps the Shell+ (ShellPlus) components could help with this? (Not proven myself -- just a thought to research). I do believe they will let you add a new toolbar, at the very least, modify the right-click menu. What kind of script are you needing to run?

Jamo
Thanks Jamo. I want to run my program with the button. Or run Command Prompt.
SimaWB