Created
August 28, 2013 19:05
-
-
Save dvdsgl/6369933 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/csharp | |
LoadAssembly ("/Library/Frameworks/Xamarin.Mac.framework/Versions/1.4.22/lib/mono/XamMac.dll"); | |
using MonoMac.ScriptingBridge; | |
var app = SBApplication.FromBundleIdentifier ("com.apple.finder"); | |
Console.WriteLine (app == null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment