Re: Object specific behavior?
Re: Object specific behavior?
- Subject: Re: Object specific behavior?
- From: glenn andreas <email@hidden>
- Date: Thu, 25 Oct 2007 10:48:12 -0500
On Oct 25, 2007, at 3:00 AM, Frank Bettger wrote:
Long time ago I use to make simple programs using HyperCard. IMHO
this is
the simplest programming environment ever created. There were some
things I
was accustomed to and that I looked for in Cocoa.
Let's say I want to create a simple application with just one
button. When
the user clicks on the button a beep should be heard.
In HyperCard (and in Macromedia Director) each object has
attributes which
you can configure with an inspector. One of the attributes is a script
window where you can add object specific code. For instance to make
the
button beep you would write
on mouseUp
beep()
end mouseUp
It sounds like you want to investigate AppleScript Studio then (which
is, of course, a different mailing list).
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build,
mutate, evolve, animate
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden