Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 4d-plugin-apple-silicon
Last synced: about 1 month 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 (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T19:41:32.000Z (over 3 years ago)
- Last Synced: 2023-03-25T01:12:15.091Z (over 1 year ago)
- Topics: 4d-plugin, 4d-plugin-apple-silicon
- 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
![version](https://img.shields.io/badge/version-16%2B-8331AE)
![platform](https://img.shields.io/static/v1?label=platform&message=mac-intel%20|%20mac-arm&color=blue)
[![license](https://img.shields.io/github/license/miyako/4d-plugin-dock-tile)](LICENSE)
![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-dock-tile/total)**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)
```