Re: Scriptable notepad? (ditching Entourage)
Re: Scriptable notepad? (ditching Entourage)
- Subject: Re: Scriptable notepad? (ditching Entourage)
- From: Philip Aker <email@hidden>
- Date: Thu, 06 Feb 2003 15:30:56 -0800
On Thursday, February 6, 2003, at 01:09 AM, Steven Angier wrote:
If you already know how to use Interface Builder and have some
AppleScript, maybe 10 minutes. I'm not kidding. The whole learning
curve for Studio for me was/is to learn how to control click on a
UI object and drag over to the handler.
You can't do that with AppleScript Studio projects. It would be nice
if you could, but you can't.
What do you mean?
I mean that you can't control-click on a UI element and drag over to a
handler with an AppleScript Studio project as you can with a Cocoa
project.
You can mix 'n match Cocoa, C, ObjC++, Carbon, and AppleScript in an
AppleScript Studio project, but I could have stated things more
explicitly. I was trying to take into account was that Michael might
want to use Cocoa code (since he mentioned his interest).
In that case, he would wire it to his method in IB normally and then in
the .applescript file, do a 'call method
"mymethod:options1:options2:options3" of class "myclass" with
parameters {x y z}' or whatever.
As far as I'm concerned, that is one of the most brilliant features of
AppleScript Studio.
I know it works because I've downloaded and built some applications
mentioned on the AppleScript Studio list which show how they use Cocoa
calls with AppleScript.
Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.