Skip to content

Instantly share code, notes, and snippets.

@sorbits
Last active August 11, 2017 21:19
Show Gist options
  • Save sorbits/a92b4cdc64ba2ea9c3083f70562bf625 to your computer and use it in GitHub Desktop.
Save sorbits/a92b4cdc64ba2ea9c3083f70562bf625 to your computer and use it in GitHub Desktop.
#import <CoreServices/CoreServices.h>
int main (int argc, char const* argv[])
{
CFShow(LSCopyApplicationURLsForBundleIdentifier(CFSTR("com.macromates.TextMate"), nullptr));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment