Guest User

Untitled

a guest
Jan 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. import LaunchServices
  2. from Foundation import NSURL
  3. appURL = NSURL.fileURLWithPath_("/Applications/OpenInEclipse.app")
  4. status = LaunchServices.LSRegisterURL(appURL, True)
Add Comment
Please, Sign In to add comment