AppleScript and aftereffects


i'm trying run script applescript in after effects doscript, scripts executes allright, how transfer result of js script in after effects applescript?

 

my example

tell application "adobe after effects cs4" set document_path doscript ("$.writeln(app.project.file);") display dialog document_path end tell

 

this result in document_path being "0", if change to

 

tell application "adobe after effects cs4" set document_path doscript ("alert(app.project.file);") end tell

 

 

it alerts out right, although, of course, not being accessible in applescript

don't believe these way directly interface 2 languages 1 way write output text file , read in text file in applescript script.

 

-lloyd



More discussions in After Effects Scripting


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support