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

Save for web export crashing photoshop

Guest
Aug 26, 2013 Aug 26, 2013

HI

In was wondering if anyone could help me.  I have written a code that edits images but i am having trouble with the save for web export everytime it gets to saving it photoshop just crashes. I have tried a few different ways of coding it but all of them end of crashing PS and i am at a loss as to what is wrong.

Here is the code that i am using:

                                        set webFolder to (choose folder with prompt "Select the folder to link to")

                                        set webOpt to {class:save for web export options, web format:JPEG, quality:89}

                                        set theDoc to current document

  export theDoc in webFolder as save for web with options webOpt

any help would be great. I have tried it on CS6 and CC, both of which crash.

TOPICS
Actions and scripting
764
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

Guru , Aug 26, 2013 Aug 26, 2013

You need to pass a full file path to the export command… Probably need to change the extension too.

set myFullFilePath to (path to desktop as text) & docName

export in file myFullFilePath as save for web with options myOptions


Translate
Adobe
Guru ,
Aug 26, 2013 Aug 26, 2013
LATEST

You need to pass a full file path to the export command… Probably need to change the extension too.

set myFullFilePath to (path to desktop as text) & docName

export in file myFullFilePath as save for web with options myOptions


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