Skip to content

Commit 07cf45c

Browse files
authored
Update overview.md
I spent a week trying to figure out why my script wouldn't run. It turns out that I had to specify it without quotes, even if there were spaces in the path. And I'm not the only one: https://community.adobe.com/t5/after-effects-discussions/running-script-file-without-ui-from-command-prompt/m-p/10568611#bodyDisplay_4c2090345ffc9b
1 parent 2bda8e3 commit 07cf45c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/introduction/overview.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ afterfx.exe -r c:\myDocuments\Scripts\yourAEScriptHere.jsx
120120
afterfx.exe -r "c:\myDocuments\Scripts\Script Name with Spaces.jsx"
121121
```
122122

123+
If the program closes immediately after executing the command, you may need to remove the quotes from the script path in this command line:
124+
125+
```bat
126+
afterfx.exe -r c:\myDocuments\Scripts\Script Name with Spaces.jsx
127+
```
128+
123129
### How to include After Effects scripting in an AppleScript (Mac OS)
124130

125131
The following are three examples of AppleScript scripts that will send an existing JSX file containing an After Effects script to the application without using the After Effects user interface to execute the script.

0 commit comments

Comments
 (0)