Skip to content

Commit

Permalink
Removed subfolder variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
seblavoie committed Oct 21, 2012
1 parent f5c5183 commit c465474
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ set file_name=%1%
set file_path=%2%

:: Change this accordingly to your CS version
set version=CS5.5
set version=CS6

:: Adobe After Effects folder location
set base_path=c:\Program Files\Adobe
set ae_folder_path=%base_path%\Adobe After Effects %version%
set subfolder=User
set ae_scripts_folder_path=%ae_folder_path%\Support Files\Scripts\%subfolder%
set ae_scripts_folder_path=%ae_folder_path%\Support Files\Scripts


cd "%file_path%"
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ version="CS6";
base_path="Applications";

# Change this if you want your scripts to be in a subfolder
subfolder="User"
subfolder=""

# Full path
full_path="/${base_path}/Adobe After Effects ${version}/Scripts/${subfolder}";
full_path="/${base_path}/Adobe After Effects ${version}/Scripts${subfolder}";

# Copying built file to script folder
cp $file_name "${full_path}/${file_name}";
Expand Down
2 changes: 1 addition & 1 deletion run.scpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on run arg
set fileName to arg's item 1
set aeVersion to "CS6"
set basePath to "Applications"
set theFile to POSIX path of (basePath & ":Adobe After Effects " & aeVersion & ":Scripts:User:" & fileName)
set theFile to POSIX path of (basePath & ":Adobe After Effects " & aeVersion & ":Scripts:" & fileName)

open for access theFile
set fileContents to (read theFile)
Expand Down

0 comments on commit c465474

Please sign in to comment.