PDA

View Full Version : launch dreamweaver from terminal




werther
Oct 1, 2007, 12:29 PM
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



robbieduncan
Oct 2, 2007, 12:24 AM
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).


open -a DreamWeaver file/path


would open DreamWeaver assuming the application is actually called DreamWeaver.app (not Adobe DreamWeaver.app or whatever)...

werther
Oct 2, 2007, 12:09 PM
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"