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: displaying a dialog as sheet fails



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Holger
Have you looked at the "Display Dialog" sample in Developer/Examples/Applescript Studio?


Which also partly answers your earlier question - working through these examples is an excellent learning technique. I would add a book on learning cocoa - one of the O'Reilly ones. The examples will all be in C, but your existing knowledge of AS should be sufficient.
AK


On Thursday, Oct 21, 2004, at 13:09 Europe/Dublin, Holger Pleus wrote:

display dialog Fehlermeldung buttons "OK" default button "OK" with icon stop

works but

display dialog Fehlermeldung buttons "OK" default button "OK" with icon stop attached to window "main"

brings the  error:

"Syntax Error

Expected end of line, etc. but found identifier."

with the word "attached"  highlighted in my code.

What went wrong?

Holger

_______________________________________________
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



__ Austin Kinsella, Lecturer, Networks & Programming, Institute of Technology, Carlow, Ireland. +353 59 9170417 pgp public key is at http://w3.itcarlow.ie/pgpkey.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD4DBQFBd6xtYoy2ek64z4cRAmSrAJ9DuoVpwRuTfPZYn6jr4GkKYsbNmwCY7zpB
aLb94/7j1ZPwGWZ+0Scktw==
=l+En
-----END PGP SIGNATURE-----

_______________________________________________
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
References: 
 >displaying a dialog as sheet fails (From: Holger Pleus <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.