Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Expert ,
Jun 22, 2021 Jun 22, 2021

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
203
Translate
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