Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmunteanu committed Aug 29, 2021
1 parent 846a78f commit 395d7eb
Show file tree
Hide file tree
Showing 81 changed files with 20,312 additions and 0 deletions.
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Adobe Development Utils | Changelog

## 1.1.2 (2021-08-29)

### Added

- **Conversions**:
- Hex escape
- Hex unescape

## 1.1.1 (2021-08-29)

### Added

- **Conversions**:
- Hex escape
- Hex unescape

### Changed

- Dependencies update.

## 1.1.0 (2021-07-23)

### Changed

- Dependencies update.

## 1.0.3 (2021-07-15)

### Added

- **After Effects Expressions | Send**
If no code is selected the entire document will be sent to After Effects.

## 1.0.2 (2021-01-16)

### Fixed

- **JSXBIN encoding** launched by keyboard shortcut throws an error

```javascript
Running the contributed command: 'adobe_dev_utils.encode_jsxbin' failed.
```

## 1.0.1 (2021-01-16)

### Changed

- Default configuration

## 1.0.0 (2021-01-16)

- Initial release
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Alex Munteanu www.alexmunteanu.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
133 changes: 133 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Adobe Development Utils

This toolkit extension for Visual Studio Code provides several utilities for developing Adobe scripts & extensions and working with After Effects expressions.

## After Effects Expressions

Send and receive After Effects expressions to / from the selected properties.

### SEND

From VS Code

![AE expression - send (VS Code)](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_ae_expression_01.gif?token=ACS446GMOMTSSQ3HBL4XX4TABGAXO)

To After Effects

![AE expression - send (AE)](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_ae_expression_02.gif?token=ACS446CGAH5ZNZ6BPQH5C5DABGA5A)

#### After Effects Expressions \| Send \- Usage

- In After Effects, select the properties on which you want to apply the expression.
- In VS Code, select the JS lines you want to apply as an `AE expression` (the entire lines will be selected automatically); if no code is selected the entire document will be sent to After Effects.
- Then do one of the following:
- Press `Alt + E`.
- Right-click and choose `Adobe Dev Utils: Send AE expression`.

#### After Effects Expressions \| Send \- Notes

- In Windows: make sure the After Effects installation path is correctly set-up in the extension's settings `adobeDevUtils.ae.expression.aePath`.

### RECEIVE

![AE expression - receive](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_ae_expression_receive.gif?token=ACS446GPALAFBPU6NR4N5T3ABGFZ6)

#### After Effects Expressions \| Receive \- Usage

- In After Effects, select the properties having the expressions you want to send to VS Code.
- In VS Code do one of the following:
- Press `Alt + I`.
- Right-click and choose `Adobe Dev Utils: Receive AE expressions`.

#### After Effects Expressions \| Receive \- Notes

- In Windows: make sure the After Effects installation path is correctly set-up in the extension's settings `adobeDevUtils.ae.expression.aePath`.

## JS selection to String

Converts the selected lines to JS string (single-line / concatenated / multi-line).

Single-line

![JS to String - single line](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_js_to_string_01.gif?token=ACS446GHOFRQHT36KVW6KLTABG3H2)

Concatenated

![JS to String - concatenated](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_js_to_string_02.gif?token=ACS446AWCHQ6DQHYCUJ223TABHDOY)

Template literal

![JS to String - template literal](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_js_to_string_03.gif?token=ACS446E2CQTTO2KAGHFWAJTABHDSI)

### JS selection to String - Usage

- Make a selection (the entire lines will be selected automatically).
- Then do one of the following:
- Press `Alt + D`.
- Right-click and select `Adobe Dev Utils: JS selection to String`.

### JS selection to String - Notes

- If `adobeDevUtils.jsToString.string.stringStyle` is set to `concatenated / multi-line` and `adobeDevUtils.jsToString.string.quotesStyle` is set as `template literal`, the extension will generate a multi-line template literal.
- Check the extension's settings for other options.

## JS obfuscation

Obfuscate and protect the selected JS lines. Uses [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).

![JS obfuscation](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_obfuscate.gif?token=ACS446A477US3PO3UBWLPLDABHFKO)

### JS obfuscation - Usage

- Make a selection (the entire lines will be selected automatically).
- Then do one of the following:
- Press `Shift + Alt + D`.
- Right-click and select `Adobe Dev Utils: obfuscate JS selection`.

### JS obfuscation - Notes

- Check the extension's settings to modify the obfuscator's options.

## JSXBIN encoding

Encodes the selected JSX lines to JSXBIN. it uses the `@esdebug` module from [ExtendScript Debugger](https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug).

![JSXBIN encoding](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_encode.gif?token=ACS446G2AH4A34QYZDYU5T3ABHGGM)

### JSXBIN encoding - Usage

- Make a selection (the entire lines will be selected automatically).
- Then do one of the following:
- Press `Ctrl + Shift + Alt + E` on Windows or `Cmd + Shift + Alt + E` on Mac.
- Right-click and select `Adobe Dev Utils: encode JS selection to JSXBIN`.

### JSXBIN encoding - Notes

- Check the extension's settings.
- The JS lines can be obfuscated first before they are encoded to JSXBIN by doing one of the following:
- Press `Ctrl + Shift + Tab` on Windows or `Cmd + Shift + Tab` on Mac.
- Right-click and select `Adobe Dev Utils: obfuscate + encode JS selection to JSXBIN`.

## Conversion

### HEX

![Convert HEX](https://raw.githubusercontent.com/alexmunteanu/VS-Code-Adobe-Development-Utils/master/images/vscode-adobe-dev-utils_convert_hex.gif)

- Escape (shortcut `Alt + H`)
- Unescape (shortcut `Alt + U`)

## Installation

- From VS Code
- Open Extensions and type `adobe-dev-utils`.
- Click `Install` and reload window.
- From GitHub
- Download the repository and unzip the package.
- Copy `VS-Code-Adobe-Development-Utils-master` to `/Users/YOURUSER/.vscode/extensions` folder.
- Run `npm install`.
- Reload VS Code.

## Donate

[![Donate](https://img.shields.io/badge/Donate-PayPal-success?style=for-the-badge&link=https://www.paypal.com/donate?hosted_button_id=Z8FGYYW9L28YC)](https://www.paypal.com/donate?hosted_button_id=Z8FGYYW9L28YC)
Binary file added images/ico_vscode-adobe-dev-utils_128px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode-adobe-dev-utils_convert_hex.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode-adobe-dev-utils_encode.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode-adobe-dev-utils_js_to_string_01.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode-adobe-dev-utils_js_to_string_02.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode-adobe-dev-utils_js_to_string_03.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode-adobe-dev-utils_obfuscate.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lib/adobe-dev-utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/modules/ae_expression.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/modules/convert.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/modules/encode_jsxbin.js

Large diffs are not rendered by default.

Loading

0 comments on commit 395d7eb

Please sign in to comment.