ExtendScript: $.setenv (name, value) not working in Win 10

Adobe Community Professional ,
Jun 22, 2021 Jun 22, 2021

Copy link to clipboard

Copied

Can you confirm that it is true what I experience:

var comp = $.getenv ("PROCESSOR_IDENTIFIER");
$.writeln (comp)

Produces on my machine: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel

This statement

$.setenv ("Anything", "12345");

however does not create an entry in the environment variables, which you can test with the command set in a Windows console.

I know for shure that the setenv script function worked in Windows 7. I had used it to communicate between an ExtendScript and an AHK script.

TOPICS
Scripting

Views

46

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation