Skip to main content
K.Daube
Community Expert
Community Expert
June 22, 2021
Question

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

  • June 22, 2021
  • 0 replies
  • 249 views

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.

This topic has been closed for replies.