Newbie call method help needed please
Newbie call method help needed please
- Subject: Newbie call method help needed please
- From: Peter Woodward <email@hidden>
- Date: Wed, 19 Mar 2003 23:11:39 +0000
Help!
I am trying to call cocoa classes from an applescript studio application
using the call method
I have tinkered with many different efforts at the code but am wearing my
finger out cancelling applescript errors
It has to be said, I am a complete novice concerning cocoa and applescript
(programming in general) so forgive me if the following code looks a
little....... Basic
I have studied all the examples and documentation that apple provides that
use the call method but they don9t seem too clear on the following points:
I just want to set my text view to display the text output of a cocoa class.
I don9t understand how to display 3myclass2 as unicode text. Project builder
assumes that 3myclass2 is an undefined variable
This is where I9m at right now:
on clicked theObject
tell window "main"
set contents of text view 1 to call method "currentUIElement" of
class myclass
end tell
end clicked
Somebody help me please, I9m not sure I can take much more of this!
Many thanks
Peter Woodward
Reply to: <email@hidden>
web: <
http://www.miportfolio.com>
_______________________________________________
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.