Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'There is a better way' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
There is a better way
Authored by: jshea on Jun 23, '04 10:42:28PM
I suggest that you read the excellent hint at Opening GUI Applications from the Command line. by Michael Askew over at ResExcellence. Michael provides a script that scans the /Applications directory and automatically makes aliases for the programs in there.

After using this hint, if I want to open something in preview or word, I just type:

preview file

or

word file

Note that I have one suggestion to improve upon this hint:
Place the

source ~/.getosxaliases
in your .login, and place the line
source ~/.osxaliases
in your .tcshrc. That way the .getosxaliases only runs when you first open the terminal, not whenever a new shell is created.

[ Reply to This | # ]