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

CreateObject CC do not work

Explorer ,
Mar 20, 2015 Mar 20, 2015

Copy link to clipboard

Copied

Hi,

I have some problems to create a VBS Object for Photoshop and Illustrator. It's work with InDesign but not with Photshop and Illustrator:

Set appRef = CreateObject("Illustrator.Application") // OK

Set appRef = CreateObject("Photoshop.Application") // OK

Set appRef = CreateObject("InDesign.Application") // OK

Set appRef = CreateObject("Illustrator.Application.CC.2014") // NOT OK

Set appRef = CreateObject("Photoshop.Application.CC.2014") // NOT OK

Set appRef = CreateObject("InDesign.Application.CC.2014") // OK

I don't understand why this notation works only with InDesign. Have somebody an idea how to solve this?

TOPICS
Actions and scripting

Views

1.5K

Translate

Translate

Report

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
Adobe
Explorer ,
Mar 23, 2015 Mar 23, 2015

Copy link to clipboard

Copied

Any help?

Votes

Translate

Translate

Report

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 ,
Mar 23, 2015 Mar 23, 2015

Copy link to clipboard

Copied

I'm not very familiar with VB, but just looking at your code, you're splitting the program's names. Most likely, you should keep CC2014 with the name of the program and not split it up "Application".

Votes

Translate

Translate

Report

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
Adobe Employee ,
Mar 30, 2015 Mar 30, 2015

Copy link to clipboard

Copied

LATEST

The version numbers are a bit odd because of the 5.5 release we did and the CS and CC branding. You want:

Photoshop.Application.60 for 13.x.x

Photoshop.Application.70 for 14.x.x

Photoshop.Application.80 for 15.x.x

Here is my test script results. Tries to launch and quit Photoshop.

d:\Files\VBScripts>cscript TestLaunch10.vbs 60

Trying to launch Photoshop.Application.60

DOM library

13.1.2

C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\

Seconds to launch: 19

Done

d:\Files\VBScripts>cscript TestLaunch10.vbs 70

Trying to launch Photoshop.Application.70

DOM library

14.2.0

C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\

Seconds to launch: 24

Done

d:\Files\VBScripts>cscript TestLaunch10.vbs 80

Trying to launch Photoshop.Application.80

DOM library

15.2.3

G:\...secretlocation...

Seconds to launch: 18

Done

Votes

Translate

Translate

Report

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