Skip navigation
Fhuel
Currently Being Moderated

js Photoshop Functions don't work. Configurator 3.1

Aug 23, 2012 8:21 AM

Hello everyone,

 

I downloaded the 3.1 version of configurator, I was only to weep for joy when I saw the new html capabilities...

 

Then I downloaded the html panel example, and everything works fine in that panel...
But when I try to use the same functions to call (and pass parameters) to .jsx it doesn't work. Not an error, nothing, just plain silence..

( I'm talking about _AdobeInvokeFunctionInScriptFile() for example )

 

I tried even to "recompile" a new panel with the same files that are in the html example panel, but it doesn't work. It seems like something is missing in the export process.
I have the last version of both configurator and AIR.

 

Does anyone know what can it be ?
There is a smart way to debug this kind of html panels once you are exported and are in Phosothop ?

 

Thank you

 
Replies
  • Currently Being Moderated
    Aug 29, 2012 1:54 AM   in reply to Fhuel

    To make sure you have give the correct arguments to function _AdobeInvokeFunctionInScriptFile(). Please check:

    1. If the path to jsx file is correct? The file is relative to assets folder.

    2. If your the content of your jsx file is correct? Open your jsx file with "Adobe ExtendScript Toolkit" to debug your jsx file.

    3. If the there is on arguments defined for the function defined in jsx file, make sure pass [] as the forth argument when invoking _AdobeInvokeFunctionInScriptFile().

     

    You can send you gpc file and .assets folder to yju@adobe.com, I will have a look for you.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2012 7:22 PM   in reply to Fhuel

    Fhuel,

     

    New HTML widget scripting feature only supports PS CS6 and InDesign CS6. Your panel is created for PS CS5/CS5.5. Please try to create a new gpc file and select "Photoshop" CS6 as the product.

     

    In addition, because Photoshop is updated to 13.0.1, but Configurator 3/3.1 targets Photoshop 13.0. to use extension created by Configurator 3/3.1, you also need to update the file at [Installation Directory]/bundles/PHSP-13/template.manifest.xml. Update line 10 and line 11, change Version="[13.0,13.0]" to Version="13"

     

    If you also want to create extension for InDesign CS6, please also update the file at [Installation Directory]/bundles/IDSN-08/template.manifest.xml. Update line 10, change Version="[8.0,8.0]" to Version="8"

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points