Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 2.4 KB

README.md

File metadata and controls

71 lines (52 loc) · 2.4 KB

Dropzone 4 Actions

A collection of custom actions I've written for Dropzone3/4 that I've needed and found useful to increase my productivity. I'll continue adding to this as I make them.

Available Actions

1. Convert to JPG

This action allows users to quickly convert a dropped image to JPG format using built-in Mac commands, with no prerequisites to install.

  • Name: Convert to JPG
  • Description: Convert a dropped image to JPG using built-in Mac commands.
  • Handles: Files
  • Creator: Dallas Crilley
  • URL: dallascrilley.com
  • Events: Dragged
  • SkipConfig: Yes
  • RunsSandboxed: No
  • Version: 1.0
  • MinDropzoneVersion: 3.0

Supported Image Formats:

  • JPG, JPEG, PNG, WEBP, GIF

Example Usage:

  1. Drag and drop a supported image file onto the action.
  2. The file will be converted to a .jpg format, replacing or creating a new file in the same directory.
  3. If the file type is unsupported, an error message will be displayed.

2. Copy Text and Code Files to Clipboard

This action lets you copy the contents of one or more text or code files to the clipboard, with a newline separating the contents of different files.

  • Name: Copy Text and Code Files to Clipboard
  • Description: Copy contents of dropped text/code files to the clipboard, separated by newlines.
  • Handles: Files
  • Creator: Dallas Crilley
  • URL: dallascrilley.com
  • Events: Dragged
  • SkipConfig: Yes
  • RunsSandboxed: No
  • Version: 1.0
  • MinDropzoneVersion: 3.0

Supported File Types:

  • Text Files: txt, md, rtf
  • Code Files: js, py, html, css, java, cpp, php, ts, and many more (full list included in the action).

Example Usage:

  1. Drag and drop one or more supported text/code files.
  2. The contents of the files are copied to your clipboard, with a newline separating each file’s contents.
  3. If a file type is unsupported, an error message will appear.

Installation

To install these actions, follow these steps:

  1. Clone or download this repository.
  2. Open Dropzone 4 and add a new action.
  3. Select the corresponding .dzaction file for the desired action.
  4. Configure if necessary and start using the action!

Author

License

This project is licensed under the MIT License.