My app is using the SUScheduledCheckInterval in the user defaults to specify how often the Sparkle checks for updates. I've got everything working, but I don't know how to do the call method via AppleScript to let Sparke know when the interval changes (when I write out the defaults)
Here is the explanation from their documentation on how to do it...
You might make a menu in your preferences to let the user specify this interval; just update SUScheduledCheckInterval in the user defaults with the users choicea setting there will override one in Info.plist. Youll need to let Sparkle know when the interval changes, though: just call scheduleCheckWithInterval: on your SUUpdater (itll cancel the old one).
What would the applescript line for this look like?
call method "scheduleCheckWithInterval:" of object SUUpdater ?
Any help would be appreciated. I'm trying to avoid having to put a line in the app telling them their change won't take effect until they restart it.
Here is the explanation from their documentation on how to do it...
You might make a menu in your preferences to let the user specify this interval; just update SUScheduledCheckInterval in the user defaults with the users choicea setting there will override one in Info.plist. Youll need to let Sparkle know when the interval changes, though: just call scheduleCheckWithInterval: on your SUUpdater (itll cancel the old one).
What would the applescript line for this look like?
call method "scheduleCheckWithInterval:" of object SUUpdater ?
Any help would be appreciated. I'm trying to avoid having to put a line in the app telling them their change won't take effect until they restart it.