Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have asked a question here. But it is for adding a custom button in osx finder toolbar. Suppose I have an applescript & I want to bind it on a custom button. & then I want to place that button on a toolbar - how that would be possible ?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

You can drag and drop an Applescript (script and application) to the finder toolbar, which places the icon for the Applescript in the toolbar just like any other button (though I prefer the menubar's Applescript menu for such things because I can have more scripts available in a smaller space). I don't think you can create a button out of nothing and bind an Applescript to it, however.

share|improve this answer
add comment

No, you can’t add a custom button to the Finder directly to an Applescript, because the Finder’s toolbar is not an “Application Launcher”. It is, however, possible to create a small app (using Xcode) that does that. Out of my mind, you can check ShellHere, which is a very simple application that puts a button in the Finder to “open a terminal here”.

The little app is Open Source, so you could see how he did it. It’s a very small project and if you have a little bit of Xcode/Cocoa experience, you’ll grasp the concept immediately.

share|improve this answer
1  
You don't need XCode, do you? You can make an app in Automator that runs AppleScript, and place that in the Finder, I think. –  user588 Dec 25 '10 at 18:48
    
@mankoff that’d be a good idea, haven’t tried that. –  Martín Marconcini Dec 25 '10 at 21:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.