• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescript questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescript questions


  • Subject: Applescript questions
  • From: Casey Fleser <email@hidden>
  • Date: Fri, 19 Mar 2004 10:00:41 -0600

OK, I'm playing around with AppleScript support and I'd like to attempt to make a single object with a single attribute available to AppleScript from my application object. I'm using standard key value coding to access these objects. But when I run my little script:

tell application "scriptTest"
set testval of object to 333
end tell

AppleScript responds with: Can't set +class valT; of +class objT; to 333.

Everything looks ok in the dictionary, in the diagnostics, etc, etc. Since there are several elements to this problem I put together a little project with all of the relevant bits here: http://www.pr3d4t0r.com/misc/snippets.html

Giving the amount of time I've been scratching my head over this, I'm sure it'll end up being something absurdly obvious.

TIA,

Casey
_______________________________________________
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.


  • Prev by Date: Re: Leave NSLog()s in Final Product? - solution
  • Next by Date: Re: Applescript questions
  • Previous by thread: Nested Modal Window in Cocoa framework - Is there a bug in Cocoa?
  • Next by thread: Re: Applescript questions
  • Index(es):
    • Date
    • Thread