-
Notifications
You must be signed in to change notification settings - Fork 84
API reference
jeff-h edited this page Jun 3, 2014
·
4 revisions
| Method | description |
|---|---|
| MacGap | The base MacGap object, which exposes the following properties xxx and the following methods: |
| App | application methods: quit, activate, hide, unhide, beep, bounce, open('url'), launch, setCustomUserAgent, systemIdleTime |
| Clipboard | copy, paste |
| Window | open, resize, getX, getY, move, toggleFullscreen, maximize, minimize, isMaximized |
| Path | application, resource, documents, library, home, temp |
| Sound | play, playSystem |
| Growl | notify |
| Notice | notify |
| Fonts | availableFonts, availableFontFamilies, availableMembersOfFontFamily |
| Events | wake, sleep, appActivated |
| Menus | addItem, addSeparator, remove, setCallback, setKey, setTitle |
| User Defaults | getUserDefaultsKeys, getMyDefaults, setString, setInteger, setBool, setFloat, getString, getInteger, getBool, getFloat |
| Object | description |
|---|---|
| Dock | badge |
| Path | Command Removed: all path commands are now properties of the MacGap object itself |
| User Defaults | Command significantly changed - see API reference for new usage |
| App | Command Removed: all commands/properties are now part of the root macgap object. See API Reference for details |