You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to the Adobe Script Runner extension will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
3
2
3
+
All notable changes to the Adobe Script Runner extension will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
4
4
5
5
## [Unreleased]
6
6
7
7
## Released
8
8
9
+
## [0.1.2] 2018-03-14
10
+
11
+
### Added
12
+
13
+
- Added default keybinding `Cmd+R` ro tun `adobeScriptRunner.ae` command.
14
+
- Added instructions on how to assign keybindings to commands in `README.md` file.
15
+
16
+
## [0.1.1] 2018-03-14
17
+
18
+
### Changed
19
+
20
+
- Changed extension icon.
21
+
9
22
## [0.1.0] 2018-03-13
23
+
10
24
### Added
25
+
11
26
- Support to open scripts inside `Adobe InCopy`.
12
27
- Support for Windows.
13
28
14
29
## [0.0.3] 2018-03-12
30
+
15
31
### Added
32
+
16
33
- Support to open scripts inside `Adobe ExtendScript Toolkit`.
17
34
- Looping gif to README.md file that looks fantastic.
18
35
19
36
### Changed
37
+
20
38
- Updated `extension.js` to use es6 syntax.
21
39
- Updated info message to show app name the script has been sent to.
22
40
- Renamed settings object `adobeScriptLauncher` to `adobeScriptRunner`.
23
41
- Fixed typos in `README.md`.
24
42
- Changed location of temp file `Snippet.js` to `~/.vscode` instead of `~/Desktop` folder.
25
43
- Created `resources` folder to dump all image files there.
26
44
27
-
28
45
## [0.0.2] 2018-03-11
46
+
29
47
### Added
48
+
30
49
- Support to run scripts inside `Adobe Illustrator`.
31
50
- Support to run scripts inside `Adobe InDesign`.
32
51
33
52
### Changed
53
+
34
54
- README.md and CHANGELOG.md files to reflect changes.
@@ -13,45 +14,70 @@ Script runner for Adobe applications right from VSCode.
13
14
14
15
## Features
15
16
16
-
Run commands are accessible via `Command Palette`. Simply click `F1` or `Cmd+Shit+P` and start typing the name of `supported applications`. Click enter to run script inside the selected application.
17
+
Run commands are accessible via `Command Palette`. Simply click `F1` or `Cmd+Shift+P` and start typing the name of `supported applications`. Click enter to run script inside the selected application.
17
18
18
19
Extension will open host application first if it's not running, and then execute the script.
19
20
20
21
> Tip: You don't need to have file saved inside VSCode. Extension will be able to run code from unsaved documents. Kaboom!
21
22
22
-
Map keyboard shortcuts to execute the script even faster. Read how to do this on[Key Bindings for Visual Studio Code](https://code.visualstudio.com/docs/getstarted/keybindings) page.
23
+
Map keyboard shortcuts to execute script even faster - `Cmd+R` is bind to run script inside After Effects by default. Read how to change it in[Key bindings](#key-bindings).
23
24
24
-
**Note:** Contribution to support other Adobe applications as well as Windows is highly encouraged.
25
+
**Note:** Contribution to support other Adobe applications is highly encouraged.
25
26
26
27
## Installation
27
-
*### From VSCode Marketplace
28
-
* Get it from [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=renderTom.adobe-script-runner).
29
28
30
-
*### From GitHub
31
-
* Download this repository and unzip the package.
32
-
* Copy `VSCode-Adobe-Script-Runner-master` to `/Users/YOURUSER/.vscode/extensions` folder.
29
+
-### From VSCode application
30
+
- Open `Extensions` and type `Adobe Script Runner`.
31
+
- Click `Install` and then `Reload` button.
32
+
33
+
-### From GitHub
34
+
- Download repository and unzip the package.
35
+
- Copy `VSCode-Adobe-Script-Runner-master` to `/Users/YOURUSER/.vscode/extensions` folder.
33
36
34
37
## In action
35
-
* Launch VSCode and open your own jsx file, or for testing just type `alert("Hello World")`.
36
-
* Launch `Command Palette` with keyboard shortcut `F1` or `Cmd+Shift+P` and type `Adobe After Effects` and click enter.
37
-
* Hopefully After Effects will fire up and run your script 🙏
38
+
39
+
- Launch VSCode and open your own jsx file, or for testing just type `alert("Hello World")`.
40
+
- Click `Cmd+R` on Mac or `Ctrl+R` on Windows or launch `Command Palette` with keyboard shortcut `F1` or `Cmd+Shift+P` and type `Adobe After Effects` and click enter.
41
+
- Hopefully After Effects will fire up and run your script 🙏
42
+
43
+
## Key bindings
44
+
45
+
Keyboard shortcut `Cmd+R` is bind to `adobeScriptRunner.ae` command, which will run script inside Adobe After Effects. To change the command or assign different shortcut, do the following:
46
+
47
+
- Open Keyboard Shortcuts editor and click on the link `keybindings.json`.
48
+
- This will open the Default Keyboard Shortcuts on the left and your `keybindings.json` file where you can overwrite the default bindings on the right.
49
+
- With `keybindings.json` in focus click `Cmd+K` twice to open interactive keybinding modal window (or whatever it’s called) and follow the on screen instructions. This will create a new binding entry in `keybindings.json` file.
50
+
- Edit the `command` property to `adobeScriptRunner.XX`, where XX is abbreviation of the application. Check available abbreviations in `Extensions > Adobe Script Runner > Contributions` tab.
51
+
52
+
End result should look like this.
53
+
54
+
```json
55
+
{
56
+
"key": "cmd+r",
57
+
"command": "adobeScriptRunner.ae",
58
+
"when": "editorTextFocus"
59
+
},
60
+
```
61
+
62
+
For more information about keybinding check official [Key Bindings for Visual Studio Code](https://code.visualstudio.com/docs/getstarted/keybindings).
38
63
39
64
## Settings
40
65
41
66
Click `Cmd+,` on Mac or `Ctrl+,` on Windows to modify settings. Extension exposes the following settings:
42
67
43
-
*`adobeScriptRunner.saveDirty`: toggle to run unsaved (dirty) files.
44
-
*`adobeScriptRunner.runUntitled`: toggle to run untitled files. Define location of temporary file in `adobeScriptRunner.tempFile` setting.
45
-
*`adobeScriptRunner.tempFile`: location to save temporary file. Used only when `adobeScriptRunner.runUntitled` is enabled.
68
+
-`adobeScriptRunner.saveDirty`: toggle to run unsaved (dirty) files.
69
+
-`adobeScriptRunner.runUntitled`: toggle to run untitled files. Define location of temporary file in `adobeScriptRunner.tempFile` setting.
70
+
-`adobeScriptRunner.tempFile`: location to save temporary file. Used only when `adobeScriptRunner.runUntitled` is enabled.
46
71
47
72
**For Windows users only:**
48
-
*`adobeScriptRunner.winEstkExe`: path to Adobe ExtendScript Toolkit executable (ExtendScript Toolkit.exe).
49
-
*`adobeScriptRunner.winAfterFxExe`: path to Adobe After Effects executable (AfterFX.exe).
50
-
*`adobeScriptRunner.winIllustratorExe`: path to Adobe Illustrator executable (Illustrator.exe).
51
-
*`adobeScriptRunner.winPhotoshopExe`: path to Adobe Photoshop executable (Photoshop.exe).
52
73
53
-
Executable paths for InCopy and InDesign for Windows are not exposed because they are handled differently than the rest of the apps. Go figure Adobe ¯\\\_(ツ)\_/¯
74
+
-`adobeScriptRunner.winEstkExe`: path to Adobe ExtendScript Toolkit executable (ExtendScript Toolkit.exe).
75
+
-`adobeScriptRunner.winAfterFxExe`: path to Adobe After Effects executable (AfterFX.exe).
76
+
-`adobeScriptRunner.winIllustratorExe`: path to Adobe Illustrator executable (Illustrator.exe).
77
+
-`adobeScriptRunner.winPhotoshopExe`: path to Adobe Photoshop executable (Photoshop.exe).
54
78
79
+
Executable paths for InCopy and InDesign for Windows are not exposed because they are handled differently than the rest of the apps. Go figure Adobe ¯\\\_(ツ)\_/¯
55
80
56
81
## Known issues
57
-
* Host application does not get focus on script run.
82
+
83
+
- Host application does not get focus on script run.
0 commit comments