0
ExtendScript: $.setenv (name, value) not working in Win 10
Community Expert
,
/t5/framemaker-discussions/extendscript-setenv-name-value-not-working-in-win-10/td-p/12130666
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

