Scripting context
Revision as of 12:31, 18 February 2005 by Stefan Urbanek (talk | contribs)
Objects in Scripting Environments
In most scripting environments in StepTalk, including Common or application environment there are available following objects:
- Environment - current scripting environment
- Transcript - shared transcript
- Workspace (not yet default)
You can get standard GNUstep objects:
Object | How to get the object |
---|---|
Workspace | NSWorkspace sharedWorkspace |
File manager | NSFileManager defaultManager |
Open panel | NSOpenPanel openPanel |
Save panel | NSSavePanel savePanel |
Pasteboard | NSPasteboard generalPasteboard |
Screen | NSScreen mainScreen |
User defaults | NSDefaults standardUserDefaults |
Notification center | NSNotificationCenter defaultCenter |
Distributed notification center | NSDistributedNotificationCenter defaultCenter |