Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

[JS] number of Photoshop version different depend on OS?

Engaged ,
Dec 19, 2018 Dec 19, 2018

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 ]

TOPICS
Actions and scripting
2.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Jan 09, 2019 Jan 09, 2019

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.

Translate
Adobe
Advocate ,
Dec 19, 2018 Dec 19, 2018

"#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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 19, 2018 Dec 19, 2018

In both cases I am using CC 2018 on mac and pc. They should both be 64 bit.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2018 Dec 20, 2018

They should – Are they really?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 20, 2018 Dec 20, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2018 Dec 20, 2018

These Are the numbers I see on windows for CC 2018 and CC 2019 64bit Photoshop

Capture.jpg

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2018 Dec 20, 2018

Target numbers are different than version numbers, JJ. Just to make things more confusing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2018 Dec 21, 2018

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

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2018 Dec 21, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2018 Dec 21, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2018 Dec 21, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 02, 2019 Jan 02, 2019

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Jan 09, 2019 Jan 09, 2019
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines