Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: CoreData an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 1565 of 1612
Post > Topic >>

Re: CoreData and "should quit after last window closed"

by Martin Schlueter <schlueter@[EMAIL PROTECTED] > Feb 1, 2008 at 04:13 PM

Gregory Weston <uce@[EMAIL PROTECTED]
> schrieb:
 
> 3. You could provide an explicit menu command for the user to invoke to 
> reopen the window, as Mail and iTunes do. 

That'll be a good idea. But do you have any idea how to tell my CoreData
app 
via AppleScript to re-open the window?


> What object did you link it *to*? I've only done the briefest of 
> dabbling with AppleScript Studio, but for Cocoa that handler will only 
> be triggered if it's implemented by an object that's designated as the 
> delegate for the application. 

I linked the handler to the AppleScript properties of the File's Owner 
instance in the main window of Interface Builder. As was shown in the 
currency converter tutorial. But this does not work with a CoreData app.

ciao

      Martin




 3 Posts in Topic:
CoreData and "should quit after last window closed"
Martin Schlueter <schl  2008-01-29 17:42:04 
Re: CoreData and "should quit after last window closed"
Gregory Weston <uce@[E  2008-01-29 15:52:16 
Re: CoreData and "should quit after last window closed"
Martin Schlueter <schl  2008-02-01 16:13:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:44:12 CDT 2008.