You can create the Folder object to "Configurator-Panel.assets" in this way:
var assetFolder = new Folder(Folder.commonFiles.fsName + "/Adobe/CS6ServiceManager/extensions/" + [Your extension ID] + "/content/Configurator-Panel.assets/" );
where [Your extension ID] is the value you set in the attribute labeled with "Extension ID:" in right attribute panel.
In your script, I think it should be:
var strEdgeFXFolder = Folder(Folder.commonFiles.fsName + "/Adobe/CS6ServiceManager/extensions/" + [Your extension ID] + "/content/Configurator-Panel.assets/Edges%20Collections/");
If you installed the extension with Extension Manager CS6, Folder(Folder.commonFiles.fsName + "/Adobe/CS6ServiceManager/extensions/" + [Your extension ID] + "/content/Configurator-Panel.assets/Edges%20Collections/") is the only place for your extention. It's same for both Photoshop CS6 (x86) and Photoshop CS6 (x64). I suggest you to use var assetsFolder = new Folder(assetsPath); to access your assets folder. If you want to find a way to access the common files foder for X64, I don't have a solution now. I'm afraid you need to find other resources for help.
Thank you for the quick reply.
Indeed so, I know the place is the same but unfortunately when I run PS(64 Bit) it give me an invalid image data error.
I did some tests:
If I target r(Folder.commonFiles.fsName + "/Adobe/" ) all is ok,
if I target (Folder.commonFiles.fsName + "/Adobe/CS6ServiceManager" ) it fails
The only folder that is not recognize is "CS6ServiceManager" all others are ok
what can be the problem? Is it just my problem as I m trying on a win system that run under a virtual machine( WMware Fusion)?
I could of course write the entire path that works well:
C:\Program Files (x86)\Common Files\Adobe\CS6ServiceManager\extensions
but it would be better to have just one path for both Win and Mac
I think Folder.commonFiles.fsName points to the common files folder for X64 (such as C:\Program Files\Common Files), but your assets folder is only under common files folder for x86(such as C:\Program Files (x86)\Common Files).
I strongly suggest you to use the global varailbe assetsPath. In any situation, running PS or PS (64bit), installing exported zxp package with Extension Manager CS6 or just placing exported folder under Plug-ins\Panels, new Folder(assetsPath) will point to the assets folder of your extension.