aspose file tools*
The moose likes Mac OS and the fly likes Launching apps from spotlight Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Launching apps from spotlight" Watch "Launching apps from spotlight" New topic
Author

Launching apps from spotlight

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10375
    
    8

I am running Snow Leopard.
If I hit Command+Space it brings up spotlight. I use it to type the name of the app, choose it from the list and launch it. Works good. No need for me to popup and choose the Applications from the dock.

Recently I installed Eclipse Helios in addition to the previous Galileo version.
I have created a folder called apps which contains folders like Galileo and now Helios which are the eclipse installations.
On Ubuntu, if I type Galileo/Eclipse it launches that particular Eclipse version. Is it possible to do something similar in spotlight?
I also tried setting the spotlight comments for the Eclipse.app thinking I could use them, but unfortunately the comments are never noticed by spotlight.
Basically I am looking for a trick which will let me choose a particular app version from the spotlight.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10375
    
    8

Update:
I did a security update this morning and had to reboot.
Now I get Eclipse.app - eclipseHelios in the spotlight. (eclipseHelios is the name of the folder)
Good enough for me.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11460
    
  94

I have also had some success with installing Eclipse in my personal "Applications" folder as well as in the master "Applications" folder. That is, a copy of Eclipse in "/Users/andrew/Applications" and another copy in "/Applications".

Doing that, Spotlight suggested "eclipse - andrew" versus "eclipse - Macintosh HD" (where "Macintosh HD" is the name of my primary partition).

My original reason for doing this was that I wanted some plugins in my generic copy of eclipse that I did not want in my work copy of eclipse. However this ultimately caused me problems when I used the wrong copy of eclipse from my personal account - my preferences were updated with the plugin details that then caused the other version to be flaky. Mea culpa.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Launching apps from spotlight