launch ventrilo server through automator

Discussion in 'Mac Programming' started by TreeHugger, Jun 13, 2005.

  1. TreeHugger macrumors 6502

    Joined:
    Jun 30, 2004
    #1
    I'm trying to launch my ventrilo server automatically by creating an app in automator. Currently I have to open terminal, navigate to the ventrilo directory and type "./ventrilo_srv" in order to launch the server.

    I tried to create an automator app that does just that and I can't get the last step to work. I saved the terminal window and have a step in my automator workflow to open it at the ventrilo directory. how do i tell automator to run a command in the terminal or is there any other way of doing this?

    basically all I want to do is click on an alias or short cut and have the ventrilo server launch without having to navigate through the terminal.
     
  2. DXoverDY macrumors 6502a

    Joined:
    Apr 19, 2005
    #2
    do you want to keep the terminal window open?

    EDIT:

    since you just logged off...

    if you just want the server to be running in the terminal window...

    create a file called ".profile" in your ~/ (home) directory. put the following in it

    Code:
    alias ventrilo='exec /path/to/ventrilo/ventrilo_srv'
    this will allow you to type in "ventrilo" at the terminal to execute your server.
     

Share This Page