Register as Login Item with Cocoa?

后端 未结 7 976
花落未央
花落未央 2020-11-27 03:13

Google gave me: http://developer.apple.com/samplecode/LoginItemsAE/index.html

And I figured there must be a better way than using AppleScript Events.

So I do

7条回答
  •  失恋的感觉
    2020-11-27 03:48

    Check here an open source example: https://github.com/invariant/rhpnotifier (LoginItem.m, LoginItem.h)

提交回复
热议问题