简体   繁体   中英

How to know the platform through InDesign javascript?

I want to find the platform (Windows/Mac) of the running indesign using javascript,

eg: alert(app.name) ;

will result "Adobe InDesign"

like the same way, is there any way to find the platform ?

please anyone suggest a solution for this

Thank you!

try $.os , you can get os and version information.

alert($.os);
// => Macintosh OS 10.8.5

thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM