0

I would like to run bash script at every startup as explained here Running script upon login mac

I have a few desktop screens

[1] - [2] - [3] - [4]

And I would like to create config file that describes which app should be run at which screen:

format:

#file #application #screen number
project xCode 1
project xCode 2
... terminal 3

I can run app from script with open command, but how can I specify at which screen?

Community
  • 1
  • 1
BergP
  • 3,453
  • 4
  • 33
  • 58

1 Answers1

1

As far as I know you don't need any script involved to achieve your goal. Just open the application to be configured, move the application to the desired space, right click the icon in the dock and choose "current desktop" inside the options menu.

Saucier
  • 4,200
  • 1
  • 25
  • 46
  • but I want to open different xcode projects in different desktops, if i select desktop for application all project will be opened in one desktop. – BergP Mar 18 '14 at 10:21
  • Ok, I see. I can't tell you how to do that. But wouldn't AppleScript be a better tool for your goal then? – Saucier Mar 18 '14 at 11:41