Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mertozkoy

macrumors newbie
Original poster
Sep 20, 2010
4
0
Hello,

Newbie to Mac OS X.

On Windows Xp, I can open up Photoshop via typing:

PHP:
photoshop

in command prompt and press Return.

I tried to open photoshop in Terminal of Mac OS X via typing:

PHP:
photoshop

and executing it but it did not help.

So, what am I doing wrong and how can I start photoshop with a shortcut?

Thanks.
 
Hi,

Thanks;

PHP:
open -a "Adobe Photoshop CS5"

did helped. But can not I provide more genereal phrase like :

PHP:
open -a "Photoshop"

Because I need this phrase for developing a program. I do not know which photoshop version is installed on user's computer. It can be CS3 or CS5. When using on Windows XP below expression opens up the installed Photoshop no matter which version installed.

photoshop
 
As per the man page for open (which you read right? If not explain why not) you can use the -b switch to specify a bundle identifier. Assuming Adobe do not change bundle identifiers between versions of Photoshop (I don't know if they do or don't, it's not common to do so) this would work.
 
PHP:
open -b "photoshop"

Thanks but above did not help. How can I find the bundle identifier for photoshop?
 
I don't know: I'm at work and don't have access to a Mac. Did you, by any chance, consider using Google to find out how to find a bundle identifier. It should be in reverse DNS form so will be something like com.adobe.photoshop, but you need to be exact, to the character, so I'd look it up in the actual app.
 
Hello robbieduncan,

PHP:
open -b "com.adobe.Photoshop"

Indeed helped.

Thank you so much.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.