Script Editor forces Terminate() in place of terminate()
Script Editor forces Terminate() in place of terminate()
- Subject: Script Editor forces Terminate() in place of terminate()
- From: Dave <email@hidden>
- Date: Tue, 4 Jan 2011 03:49:18 -0600
Xcode 3.2.4
Create an ASOC project in Xcode and add the following handler to the initial script or a new script in a new file:
on Terminate()
end Terminate
After that gets compiled it is no longer possible to add a call to a method having the name terminate, such as:
current application's NSApp's |terminate|()
The editor will rudely remove your quotes and force it back to Terminate().
-- Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden