Adobe Illustrator: Run python file from Extendscript in Windows

I am facing issue while running this script(time.jsx):

var timeStr = system.callSystem("cmd.exe /c "time /t"");

alert("Current time is " + timeStr); Documentation of AE

it works in Adobe After Effects but I want to use it specifically in illustrator. Basically, i want to run my Python script from Extendscript(.jsx). But I couldn’t find any solution to do so yet.

Your help is appreciated.
Thanks in Advance.

Source: StackOverflow

LEAVE A COMMENT