Re: Updating an app's help

2011-12-15 Thread Lee Ann Rucker
At least with quicklook there's qlmanage: "qlmanage -m" will show which copy of the plugin it's using. If it's using the wrong one delete it, do "qlmanage -r" to reload, and repeat until it finds the right one. Something like that for help would be nice. I don't test quicklook that often but ou

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Mark Munz
Well, I'm not holding my breath. It is pretty clear that Apple's desire is to dumb down apps that are permitted in the App Store to the level of iOS apps. Of course, I'm sure they'll give their own apps, like Lion installer and Xcode installer, exceptions to these same sandbox restrictions they're

Re: Updating an app's help

2011-12-15 Thread Mark Munz
I've not seen Mac OS X fail to run an app I've double-clicked on, but it is notorious for grabbing seemly random old versions of plugins like Automator actions, quicklook plugins, Services from older apps that are still around -- sometimes giving precedence to apps on non-boot volumes (over one on

Re: Updating an app's help

2011-12-15 Thread Matt Neuburg
On Wed, 14 Dec 2011 05:14:36 -0500, Bill Cheeseman said: >Search the archives, and you will discover that you are likely experiencing a >well-known issue that has been around for a very long time. It typically only >affects the developer, not your users. It is especially annoying to the >develo

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Dong Feng
For it's a fallback, I think you'd better just try the ScriptingBridge and fallback whenever it fails. It's better than to check the Sandbox presence all beforehand. Does that make sense? Dong 2011/12/15 Eric Wing > For a Mac app, is there a way to determine if sandboxing is enabled in > an a

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Eric Wing
On 12/15/11, Tim Schröder wrote: > Questioning [[[NSProcessInfo] processInfo] environment] should work to check > whether sandboxing is enabled or not, but not for checking entitlements. As > use of the Scripting Bridge will be covered by a temporary entitlement at > best, better don't rely on scr

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Tim Schröder
Questioning [[[NSProcessInfo] processInfo] environment] should work to check whether sandboxing is enabled or not, but not for checking entitlements. As use of the Scripting Bridge will be covered by a temporary entitlement at best, better don't rely on scripting at all. Tim http://www.timsch

Re: Mysterious "File exists" message logged to console

2011-12-15 Thread Mike Abdullah
On 15 Dec 2011, at 19:55, Richard Somers wrote: > On Dec 15, 2011, at 8:29 AM, Mike Abdullah wrote: > >> I'm trying to track down a bug and have a copy of a customer's console log >> to help me. There's rather a lot of messages like this: >> >> open on /Users/foo/bar/mydocument.package/DS

Re: Mysterious "File exists" message logged to console

2011-12-15 Thread Richard Somers
On Dec 15, 2011, at 8:29 AM, Mike Abdullah wrote: > I'm trying to track down a bug and have a copy of a customer's console log to > help me. There's rather a lot of messages like this: > > open on /Users/foo/bar/mydocument.package/DSC_0221.jpg: File exists > > Searching the web has been f

Re: Mysterious "File exists" message logged to console

2011-12-15 Thread Ken Thomases
On Dec 15, 2011, at 9:29 AM, Mike Abdullah wrote: > I'm trying to track down a bug and have a copy of a customer's console log to > help me. There's rather a lot of messages like this: > > open on /Users/foo/bar/mydocument.package/DSC_0221.jpg: File exists > > Searching the web has been f

Re: responding to NSStepper clicks

2011-12-15 Thread Koen van der Drift
On Thu, Dec 15, 2011 at 10:17 AM, Mike Abdullah wrote: > NSStepper is a subclass of NSControl. Hook up its action/target to be > notified when it's adjusted. I'll try that, thanks. Using bindings sometimes makes you forget that there is still some cdong needed :) - Koen. _

Mysterious "File exists" message logged to console

2011-12-15 Thread Mike Abdullah
Hello, I'm trying to track down a bug and have a copy of a customer's console log to help me. There's rather a lot of messages like this: open on /Users/foo/bar/mydocument.package/DSC_0221.jpg: File exists Searching the web has been fruitless so far, so does anybody know which Cocoa AP

Re: responding to NSStepper clicks

2011-12-15 Thread Mike Abdullah
NSStepper is a subclass of NSControl. Hook up its action/target to be notified when it's adjusted. On 15 Dec 2011, at 13:16, Koen van der Drift wrote: > I've set up an NSStepper/NSTextField combination to control myInt in > my model. I have bound the value of myInt to both outlets, and when I >

responding to NSStepper clicks

2011-12-15 Thread Koen van der Drift
I've set up an NSStepper/NSTextField combination to control myInt in my model. I have bound the value of myInt to both outlets, and when I click the stepper, the value of myInt in the textfield changes accordingly. All good. I've set up the delegate controlTextDidChange, and my model changes when I