Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing and closing windows in AppleScript Studio (Xcode 2, Tiger)




I am a member of ADC. I guess I can discuss it with other ADC members on this list.


I have now found the "easy" solution to this problem. You have to place the window in it's own nib, add to the project and then use:

on choose menu item theObject
load nib "Preferences"
show window "Preferences"
end choose menu item

This will only work if the "Visible at launch time" setting (NSWindow Inspector - Attributes) is enabled.

This is so far the only solution I found.

Kristofer

On Apr 22, 2005, at 9:32 PM, John Baltutis wrote:

On 04/22/05, you wrote:

I am working with my AppleScript Studio projects in Xcode 2.0 (I am
running Tiger) and notice that if I close a window in an AppleScript
application there is no way to get it back... probably because the
AppleScript name of the window is gone.

Here is a small project that illustrates this problem:

http://homepage.mac.com/szymanski/Test.zip

Please tell me if I am doing something wrong or (if not) if there is
any workaround. Thanks for your help.


I suspect you won't get any answers until after April 29 when Tiger is
released because no one, outside people who have it (developers or
beta-testers) are supposed to discuss it. Check your NDA for particulars.




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.