Folder.commonFiles.path
When I have the following line in a FrameMaker Script:
Alert(Folder.commonFiles.path)
I get the following:
I would have expected:
c:/Program Files(x86)/Common Files

When I have the following line in a FrameMaker Script:
Alert(Folder.commonFiles.path)
I get the following:
I would have expected:
c:/Program Files(x86)/Common Files

To summarize:
var oFile = Folder.commonFiles.path;
$.writeln(oFile);
var oFile = File.decode(Folder.commonFiles.path);
$.writeln(oFile);
var oFile = File.decode(Folder.commonFiles);
$.writeln(oFile);
var oFile = File.decode(Folder.commonFiles.fsName);
$.writeln(oFile);
leads to
/c/Program%20Files%20(x86)
/c/Program Files (x86)
/c/Program Files (x86)/Common Files
C:\Program Files (x86)\Common Files
So you can pick your solution, that fits for you
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.