I installed Pidgin via Homebrew, and I created a .app file for it, so I could launch it like a standard application, rather than via pidgin from Terminal.

I put the code below into Script Editor and saved it as an Application, and that was about it.

to run
    do shell script "/usr/local/Cellar/pidgin/2.11.0/bin/pidgin"
end run

It works fine, although when I run it, there are two doc icons. There's the original one that normally shows when running it via Terminal, with the default "exec" icon, then there's the icon from the .app file I made, with the custom icon I added. Is there any way to make it so that there is only one dock icon?

It should also be noted that clicking the icon that comes from the custom .app I made does not direct focus to Pidgin's windows, but the original icon works fine, and I would like to retain that function.

1 Answer 1


No, the launched application will always have a separate Dock Tile. This is because the AppleScript app is just a launcher, not the launched application itself.

  • Then, is there some way to make an app other than the AppleScript method, that would achieve my desired result?
    – Quenz
    Commented Oct 25, 2016 at 12:24
  • @SillyGoose, At this level of programatic approach I'd have to say no, as these types e.g. AppleScript, Automator or Platypus are just launchers in this context. You'd have to use Xcode and write an application that subclassed the pidgin window into you own UI. I'v done this type of coding, in some cases, back in my Windows programming days but haven't had a need since switching to using a Mac over 10 years ago. Commented Oct 25, 2016 at 14:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .