1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

How can I make an application launcher?

Discussion in 'Mac Programming' started by oober_freak, Jan 15, 2007.

  1. macrumors regular

    #1
    Hey guys..

    I've been trying to get BitTornado to work on OS X. Now, I got it to launch from terminal with the command 'pythonw btdownloadgui.py' in /Applications/BitTornado-CVS/.

    My question is: How do I make an application that automates this and launches the BitTornado GUI?
     
  2. macrumors 68030

    superbovine

    #2
    did you want to make it start during startup?
     
  3. macrumors regular

    #3
    No. I want to make a .app file, so that when I double click it, it automatically launches the BitTornado GUI instead of I keying in the command in Terminal each time.

    I used this guide to install: http://forums.degreez.net/viewtopic.php?p=21875#21875

    It just doesn't open when I build it with /Developers/Applications/Utilities/Mac-Python/BuildApplet.app

    The guy has mentioned some changes to the btdownloadgui.py file there to make it work this way, but I can't make head or tail of Python.
     
  4. macrumors regular

    #4
    Woohoo! A newer version of MacPython did the trick! I'm running BitTornado now. I guess that'll spare me from having to use Azureus, for a while. :)
     
  5. macrumors 6502

    #5
    It's been a while since I used this, but you can write a script (basically your commands in Terminal, preceded by a #!/bin/bash or whatever) and name it with a .command extension, and when you double-click it should launch terminal and run the script.
     

Share This Page