launch dreamweaver from terminal

Discussion in 'Web Design and Development' started by werther, Oct 1, 2007.

  1. werther macrumors regular

    Joined:
    May 15, 2006
    #1
    Does anybody know if there is a way to launch Dreamweaver from the terminal in the same manner textmate is launched by simply typing: mate file/path ?

    thanks
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    You can use the standard open command (the mate thing is a special command installed by TextMate, it's not standard behaviour for most apps).

    Code:
    open -a DreamWeaver file/path
    
    would open DreamWeaver assuming the application is actually called DreamWeaver.app (not Adobe DreamWeaver.app or whatever)...
     
  3. werther thread starter macrumors regular

    Joined:
    May 15, 2006
    #3
    thanks, so all i did was create an alias called 'dw' in my .bash_profile and can now call it up by saying: dw file/path

    -thanks again

    alias dw="open -a Dreamweaver\ 8"
     

Share This Page