Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Berumen635

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gail6891361

The scripting engine Adobe uses is called ExtendScript which is a dialect of JavaScript, or more accurately EcmaScript. There are many dialects of JavaScript with different libraries around, and some unique preprocessor statements. ExtendScript has a number of libraries not available elsewhere. JavaScript has certain base features that makes them similar and often compatible but they have different API details. So ExtendScript has many different commands from JavaScript in a browser.

Why a different extension? Simply put, that allows the Windows operating system to recognize that you intend to run the script with Adobe's interpreter. There is a somewhat similar mechanism on OS X. On Windows for example a file with the *.js extension will by default launch Microsofts script interpretter that is called JScript which again is a dialect of EcmaScript with libraries unlike ExtendScript, unlike Browsers and unlike NodeJS...

(JScript can also talk with Adobe software but trough a COM bridge just like Visual Basic, but unlike ExtendScript it can also communicate with many more Windows components like OS, and many more installed software like Excel or a CAD app for example, but being IPC its a bit different)

Actually the extension does not matter... as long as you tell which software should do what with the file. Its just more convenient to have automatic file handling.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme