tests if the current version of PS is 64 bit by examining the system info.
If it is 64bit the sys info at the end of the first line "Version" will include "X64". So I'm testing whether it is there or not.
Code: Select allvar test64= false;
var sys =systemInformation.indexOf ("X64");
if (sys >0 && sys<150)
{var test64=true;};
64bit test
64bit test
I think this should also do the job when run in Photoshop.Code: Select allvar test64 = BridgeTalk.appVersion.match(/\d\d$/) == '64';