Edit AllPages

Apple’s SimpleScripting project is located at

After downloading and building this sample application, you can use the ScriptEditor to access the single application-level property it supports: “ready”.

tell application “SimpleScripting” set isReady to ready end tell

The read-only ready property always returns a boolean “true” value.

The property is defined in the .sdef file with this code:

and the Objective-C code that implements the property:


@interface NSApplication (SimpleApplication) - (NSNumber*) ready; @end


@implementation NSApplication (SimpleApplication) - (NSNumber*) ready { return [NSNumber numberWithBool:YES]; } @end

That’s about all there is to this – it really IS a simple scripting application. The ReadMe.txt file included in the sample code has more details on exactly what the application is doing. Please read it.