Compiles But Doesn't Understand
Compiles But Doesn't Understand
- Subject: Compiles But Doesn't Understand
- From: Jesse Shanks <email@hidden>
- Date: Sun, 17 Nov 2013 08:42:31 -0800
I am having a frustrating problem with scripts with Objective-C. I am on MacOS 10.9
I paste this into a script:
set myString to current application's NSString's stringWithString_("Some text")
It compiles like this:
set myString to current application's NSString's stringWithString:"Some text"
when i run it I get:
error "NSString doesn’t understand the “stringWithString_” message." number -1708 from NSString
I feel like there is just simple something I am missing.
Thanks,
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden