AppleScript Cocoa things that don't work
AppleScript Cocoa things that don't work
- Subject: AppleScript Cocoa things that don't work
- From: Ron Davis <email@hidden>
- Date: Thu, 23 May 2002 15:13:12 -0500
I've found two problems trying to make a scriptable app and I hope there is
a way around them
1) If I define a ToOneRelationships to an object it shows up in the
dictionary as being accessible "by name, by numeric index, before/after
another element, as a range of elements, satisfying a test". And you have to
access it as item 1 from the script.
2) I have a ToManyRelationship and want to write a script that does
something like this:
get the name of every myItem of the current application
This returns an error. If I ask for a count of the myItem's in the app I
get it back and can then walk the list with a repeat look getting each one.
Seem "of every" should be just doing the same.
Are there solutions to these problems?
--
Ron Davis email@hidden
"I want to know God's thoughts...the rest are details." -- Albert Einstein
__________________________________________________________________________
"The difference between fiction and reality is that fiction has to make
sense." - Tom Clancy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.