declaring new apple script commands
declaring new apple script commands
- Subject: declaring new apple script commands
- From: jerome LAURENS <email@hidden>
- Date: Sat, 1 Jun 2002 10:14:38 +0200
Hi,
I'd like to have those scripts working
"select first word of myText"
"select middle word of myText"
"select characters 3 through 5 of myText"
...
I already have subclassed NSScriptCommand in MySelectScriptCommand. Its
default implementaion just logs something in the console but it is
details.
I declared the command in the script suite, but i could not find my way
to make any object sensitive to this command. I declared the command in
the SupportedCommands section of an NSCoreSuite.AbstractObject subclass,
but it does not work either.
the script editor always says that the receiver cannot handle that
command, however, it can read the "select" command in the app dictionary
_______________________________________________
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.