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


Click here to return to the 'spaces in app names' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
spaces in app names
Authored by: littlebilly on Nov 10, '01 02:07:09PM

There are 2 ways to have this script open applications that are enclosed in folders inside your /Applications folder.

1. add a line for each application that is embeded in folders to your aliases.mine file
I recomend the second option rather that cluttering up your aliases.mine file

Or (better I think)....
2. In the finder go through your ~/Applications folder and locate all the applications that reside in subfolders and that you commonly use, make aliases for each of them and place them in the /Applications folder. If the app name is the same as the Folder that was holding it them something different than the folder name. I used to append ƒ (option f) to the foldername but this is cumbersome to navagate to in the Terminal. Devise a scheme that works for you

For example the folder for GraphicConverter is called "GraphicConverter US" I make an alias (in the finder) of the application in that folder and rename it "graphicConverter" (from "GraphicConverter alias") and move it to the /Applications folder
now i can just type (with script from original post)

o graphicConverter ~/Pictures/park.tiff

instead of

open "/Applications/GraphicConverter US/GraphicConverter.app" ~/Pictures/park.tiff

Obviously you could have named the alias something even shorter.

so For Hes Nikke's Question here is what to do:
make an alias of the application (BBEdit 6.1 for OS X alias) and rename it "BBEdit", place this in you /Applications folder and now all you have to type to open filename.txt is

o BBEdit filename.txt

and if you want to open BBEdit from the finder you dont have to navigate several folders to get to it.

I should have included this in the original Post but I have always created aliases in my applications folder for applications that are "burried" and frequently used. Something that makes opening apps easier from both the terminal and from the finder.



[ Reply to This | # ]