Questions tagged [launch-services]

Launch Services is an API on Mac OS X which allows a running application to launch files and documents similarly to the Finder or Dock

Launch Services is an API on Mac OS X which allows a running application to launch files and documents similarly to the Finder or Dock.

From Apple's developer documentation:

54 questions
0
votes
0 answers

Encapsulating and spawning another application and injecting parameters

My issue is I have a child .app that I'd like to run after injecting some parameters. What want to do is run the app as the parent app (launching it sync and propagate focus/activation events to the child app). The goal for me is to create an…
Downgoat
  • 13,771
  • 5
  • 46
  • 69
0
votes
0 answers

How to launch new instance instead focussing existing on on click on application-icon

Is there a way to let the application start a new instance and not to focus an existing application if you click on the icon of the application? Probably there is a way for the LaunchServices and it's property-file info.plist. E.G. If you have…
Markus G.
  • 331
  • 1
  • 14
0
votes
1 answer

What's default for LSMinimumSystemVersion?

macOS applications can specify minimum required operating system version by including LSMinimumSystemVersion key in its Info.plist file. What is supposed to happen if this key is not present?
0
votes
1 answer

Delphi Macapi.CoreServices is missing the LaunchServices

I am trying to use the LSCopyAllHandlersForURLScheme function to enumerate through the installed web browsers under Mac OS X, in my way, I was checking the Macapi.CoreServices file included in Delphi RTL, and I found that not all the include files…
Nader
  • 47
  • 1
  • 8
0
votes
1 answer

LSOpenApplication deprecated?

According to this page, the function LSOpenApplication has been deprecated since OS X v10.10. The proposed alternative is to use -[NSWorkSpace launchApplicationAtURL] instead. Unfortunately, I'm writing a user agent in C++ that has to launch a GUI…
Michiel Boekhoff
  • 221
  • 3
  • 13
0
votes
1 answer

How to add LaunchServices framework (mac os) to Delphi xe4?

I try to use LaunchServices framework. Unfortunately, some functions remain unavailable. For example, function kLSSharedFileListFavoriteItems was imported successfully. However, I can't load function LSSHaredFileListCreate. Code: unit…
mvp
  • 33
  • 1
  • 4
0
votes
1 answer

Mac OS Framework header file MachineExceptions.h error : declaration does not declare anything

Background I'm trying to use the LSGetApplicationForURL API and found a very useful example here - how to get default mail client version on mac os x? However, when I try to compile the code, I get this…
0
votes
0 answers

Respond to GURL apple event if application isn't running

I have an application that is responding to 'GURL' (get URL) apple events from a custom registered URL protocol. It is being registered properly and works fine when the application is already running, but if the application is not running already it…
-2
votes
1 answer

LaunchServices logs XPC_ERROR_CONNECTION_INTERRUPTED in mac os x console

1.Service only ran for 0 seconds. Pushing respawn out by 10 seconds 2.LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database database launchservices: database mapping failed with result -10822, retrying I found this two…
S. S
  • 169
  • 3
  • 16
1 2 3
4