Scripting context
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 |