Re: animating an NSStackView

2015-01-20 Thread Roland King
> On 21 Jan 2015, at 14:38, Ken Thomases wrote: > > On Jan 20, 2015, at 7:28 AM, Roland King > wrote: > >> I'm trying to see if I can make insertions/deletions in an NSStackView a >> little more animated. So I did the simplest thing I could think of, wrapped >> the inse

Re: animating an NSStackView

2015-01-20 Thread Ken Thomases
On Jan 20, 2015, at 7:28 AM, Roland King wrote: > I'm trying to see if I can make insertions/deletions in an NSStackView a > little more animated. So I did the simplest thing I could think of, wrapped > the insert/delete in an NSAnimationContext, made the control layer-backed, > turned on impl

Who is launching my helper?

2015-01-20 Thread Jerry Krinock
My OS X app includes a helper command-line tool, packed in the the app’s Contents/Helpers folder. The helper tool is intended to be launched by launchd, in response to a launchd agent being triggered. The agent provides five (5) command-line arguments to the tool. The tool runs for a few seco

Re: recycleURLs doesn't enable Put Back or Undo in Finder

2015-01-20 Thread Steve Mills
On Jan 20, 2015, at 13:29:30, Quincey Morris wrote: > > On Jan 20, 2015, at 11:13 , Steve Mills wrote: >> >> I can go to Finder and Undo or Put Back exactly like I should be able to do > > "… I can go to Finder and Undo or Put Back exactly like I perversely want to > be able to do …” > > Th

Re: recycleURLs doesn't enable Put Back or Undo in Finder

2015-01-20 Thread Quincey Morris
On Jan 20, 2015, at 11:13 , Steve Mills wrote: > > I can go to Finder and Undo or Put Back exactly like I should be able to do "… I can go to Finder and Undo or Put Back exactly like I perversely want to be able to do …” There. I fixed your typo for you. ;) _

Re: recycleURLs doesn't enable Put Back or Undo in Finder

2015-01-20 Thread Steve Mills
I figured it out. I was watching the session video Secure Automation Techniques in OS X when Chris Nebel got to the part about sending Apple Events from one app to another. His example uses com.apple.security.temporary-exception.apple-events instead of com.apple.security.scripting-targets. From

Re: recycleURLs doesn't enable Put Back or Undo in Finder

2015-01-20 Thread Steve Mills
On Jan 20, 2015, at 08:14:56, Jerry Krinock wrote: > > > To clarify Steve’s question: Is there any way to compile the following as an > NSAppleScript and execute it from a *sandboxed* app? > > with timeout 15 seconds > tell application "Finder" > delete POSIX file “/path/to/whatever" >

Re: Need help on xcode offline documents, it doesn't recognize the docsets

2015-01-20 Thread Aaron Lewis
Hi all, never mind, I'm gonna forward this to Xcode mailing list, which seems more appropriate. Thanks Jens On Tue, Jan 20, 2015 at 8:41 AM, Aaron Lewis wrote: > Hmm, I'm running a slow network. I tried few times and if internet > connection interrupts suddenly, I had to start over .. > > So I

Re: recycleURLs doesn't enable Put Back or Undo in Finder

2015-01-20 Thread Jerry Krinock
> On 2015 Jan 19, at 23:23, Steve Mills wrote: > > Now if anyone has any ideas on how to get the AppleScript solution mentioned > earlier in this thread to work, I'd be most appreciative. To clarify Steve’s question: Is there any way to compile the following as an NSAppleScript and execute i

animating an NSStackView

2015-01-20 Thread Roland King
I'm trying to see if I can make insertions/deletions in an NSStackView a little more animated. So I did the simplest thing I could think of, wrapped the insert/delete in an NSAnimationContext, made the control layer-backed, turned on implicit animations and called layoutSubviewsIfNeeded. Somethi