Copy link to clipboard
Copied
Why on mac is it "photoshop-120.032" and on pc it is "photoshop-120.064"?
I was hoping someone could explain this.
[ moved from previous discussion dialog-box with input text by moderator ]
That is a mistake that I fixed for CC 2019. The #if in the code was not correct when we dropped 32 bit mac. And now that we dropped 32 bit windows...DOH...we could drop the 064...darn it. Well maybe I just keep it for the .128 release coming soon.
Copy link to clipboard
Copied
"#target photoshop-120.032" or "#target photoshop-120.064" has nothing to do with the OS (Win/OS X) you're using, but rather whether you use an x86 (32-bit) or an x64 (64-bit) version of Photoshop.
Copy link to clipboard
Copied
In both cases I am using CC 2018 on mac and pc. They should both be 64 bit.
Copy link to clipboard
Copied
They should – Are they really?
Copy link to clipboard
Copied
Yes they are both 64 bit. However if I target the mac side I have to use 120.032. It does not recognize the 120.064.
Copy link to clipboard
Copied
These Are the numbers I see on windows for CC 2018 and CC 2019 64bit Photoshop
Copy link to clipboard
Copied
Target numbers are different than version numbers, JJ. Just to make things more confusing.
Copy link to clipboard
Copied
I guess that may only aa extendscript toolkit number I only target Photoshop do not use extendscript toolkit myself. CC and CS6 seem the same. I only use its object viewer F1 not target numbers need for the viewers just the pulldown
Copy link to clipboard
Copied
Normally that number isn't needed. It's mainly used in the PS startup script on computer boot up, so the correct sub scripts are used.
Copy link to clipboard
Copied
Yes, is only needed for double clicking the jsx file.
But you don't need the whole number
#target Photoshop-120
is all what you need.
Copy link to clipboard
Copied
Most of the time, you really don't need the number at all, unless you have multiple versions of PS installed, and your script has to run with only one version. Tom Ruark said that he doesn't even use the target comment.
Copy link to clipboard
Copied
This is the case I have multiple versions and only want a specific version to open. I think using 120 will work. I am going to try it and confirm that it works.
Copy link to clipboard
Copied
That is a mistake that I fixed for CC 2019. The #if in the code was not correct when we dropped 32 bit mac. And now that we dropped 32 bit windows...DOH...we could drop the 064...darn it. Well maybe I just keep it for the .128 release coming soon.