Scripting context
Jump to navigation
Jump to search
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 |