https://github.com/miyako/4d-plugin-dock-tile
This plugins allows 4D to control the dock tile on Mac.
https://github.com/miyako/4d-plugin-dock-tile
4d-plugin
Last synced: over 1 year ago
JSON representation
This plugins allows 4D to control the dock tile on Mac.
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-dock-tile
- Owner: miyako
- License: mit
- Created: 2013-02-18T19:05:59.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T19:41:32.000Z (almost 5 years ago)
- Last Synced: 2025-01-08T17:57:21.024Z (over 1 year ago)
- Topics: 4d-plugin
- Language: C
- Homepage:
- Size: 7.93 MB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)

**Note**: for v17 and earlier, move `manifest.json` to `Contents`
# 4d-plugin-dock-tile
Control the dock tile.
### Commands
```c
// --- Dock
DOCK_Get_badge
DOCK_SET_BADGE
DOCK_CANCEL_BOUNCE
DOCK_Bounce
DOCK_SET_ICON
DOCK_Get_icon
// --- Size
DOCK_GET_SIZE
DOCK_GET_SCREEN_FRAME
```
### Remarks
Badge notofication can be disabled in system settings.

The badge is automatically removed when the plugin is unloaded.
### Examples
To resize the window to touch the Dock.
```
DOCK GET SCREEN FRAME ($x;$y;$width;$height)
$offsetY:=102 //Design Mode Tool Bar
SET WINDOW RECT($x;$offsetY;$x+$width;$height+Menu bar height;Frontmost window)
```