Quantcast
Channel: Adobe Community : Popular Discussions - Creative Suite Extension Builder
Viewing all 41490 articles
Browse latest View live

How do I get the Illustrator CC Host Adapter working?

$
0
0

I've been trying to put together a test Extension for Illustrator  that uses the Host Adapter library, but Illustrator CC just never seems to load the Host Adapter plugin.

 

I am using the Extension Builder 2.1 trial and Illustrator CC (17.1.0 64-bit) on Win 7.  The AIHostAdapter.aip files are in the correct Plug-ins\Extensions folder, and the AIHostAdapter is listed when I go to Help->System Info.

 

My Extension loads fine in Illustrator, but the AIEventAdapter.getInstance().pingPlugIn() always results in the "timed out" event.

 

I'm using a simple "Hello" Extension created from the Exension Builder "New Extension Project" wizard and included the Host Adapter libraries in my selections of what to use.  I exported the project to ZXP and installed it.  Extension Manager installs it, the AIHostAdapter.aip files go to the right place, Illustrator starts fine and loads my extension, but the Host Adapater never seems to be available. 

 

This same Extension works fine and can access the Host Adapter fine in my alternate Illustrator CS6 instance.

 

Is there some other trick to getting it working with CC?  Or is the Host Adapater integration in CC somehow broken right now?

 

Please let me know if any additional information would be helpful.  Thanks!


Indesign : Object / Object export options

$
0
0

Hi

i developp an indesign extension with cs extension builder 2 and i don't find the class of the menu : Object / Object export options of indesign

do you know how to configure this option ?

thanks

Simon

Can't launch photoshop debug

$
0
0

I'm trying to trick extension builder 3 under eclipse to work as a debug environment for photoshop cc 2014.  I

followed the advice at Adobe Extension Builder and Creative Cloud 2014

to change path names etc.

 

When I try to debug-as a photoshop extension, I get the pop-up "a version of photoshop is already running"

although I'm certain this is not the case.  I tracked the startup process to running tasklist.exe, and found

that a task called PhotoshopElementsFileAgent.exe was running, and that killing it fixed the problem.

 

So my question is, WTF is PhotoshopElementsFileAgent ?  this is a newly rebuilt machine, and I believe

the only adobe applications that have been installed were done by the CC installer.  Certainly not photoshop

elements.

 

Second, for the adobe employees that may be reading this forum, the test for photoshop running seems to be

imprecise.

Listing all sequences in premiere pro

$
0
0

I'm developing a small html 5 extension for premiere pro cc. I'm having troubles in retrieving all sequences from a project. Please suggest ?

 

app.project.sequences  returns null

 

 

 

Thanks,

Illustrator CC - ART_SELECTION_CHANGED handler not running

$
0
0

Hi everyone.

 

The ART_SELECTION_CHANGED handler runs when I run the extentsion in Illustrator CS6 but when I run in CC it doesn't.

 

What am I missing?

 

Thank you.

How to access AIEvents from Illustrator CC

$
0
0

Tried  this in CS6 it works out but not in CC

  var adapter:AIEventAdapter = AIEventAdapter.getInstance();

  adapter.addEventListener(AIEvent.ART_SELECTION_CHANGED,selectionHandler);

  adapter.addEventListener(AIEvent.DOCUMENT_CLOSED,selectionHandler);

how to save PDF file with color profile

$
0
0

I tried following action script code to save PDF file with color profile attached:

 

                   var saveOps: PDFSaveOptions  = new PDFSaveOptions();

                   saveOps.colorConversionID  = ColorConversion.COLORCONVERSIONTODEST;

           saveOps.colorDestinationID = ColorDestination.COLORDESTINATIONWORKINGCMYK;

           saveOps.colorProfileID = ColorProfile.INCLUDEDESTPROFILE;

                                       

           doc.saveAs(pdfFile, saveOps);

 

But got following errors: error an Illustrator error occurred: 1346458189 ('PARM'). 

 

What is the correct way to save PDF file with color profile?

 

Thanks!

Ling

Unable to install Extension Builder 2.1

$
0
0

Hello,

 

i've been trying to install the Extension Builder 2.1 trial with no success. i am getting the following error:

 

"The setup has detected that no version of extension builder 2.1 is installed. the specified command-line options required the application be installed to continue. the setup will terminate".

 

anybody has an idea on how to fix this?

 

Thanks.


CS Extension Builder availability

$
0
0

Hello,

I'd like you to confirm that a single freelance developer, in order to get the Extension Builder plug-in (for, afaik, it's a Flash Builder plugin, isn't it?) must buy at least an Adobe Enterprise Developer Program ($ 1.495), since the Adobe Solutions Partner Program (a cheaper $ 495 one) is for much more structured companies.

This in addition to Flash Builder 4, ça va sans dire.

Thanks in advance,

 

Davide Barranca

Extension Builder Membership question

$
0
0

Hi just a qucik question.

 

If I sign up for extension builder membership for one month and create an extension will my main exported extension zxp still work after my membership expires?

 

Im not sure how the membership works I basically dont want to create an extension then have to pay $100+ dollars a year to use it. Does that make sense?

 

Thanks

 

Norm

Introducing Adobe CEP 5

"Cannot complete command because the extension could not be loaded." with CEP5 Sample

$
0
0

Hi,

 

I have trouble with porting my extension to CEP5. I am getting error "Cannot complete command because the extension could not be loaded." when I open the panel.

Is there any way to get more info about what happened and why? My extension was properly signed zxp and Extension Managed installed it without trouble.

 

Also, to debug the problem, I tried to open the CEP HTML Test Extension - https://github.com/Adobe-CEP/Samples/tree/master/CEP_HTML_Test_Extension_5.0

 

I have copied it to "~/Library/Application Support/Adobe/CEP/extensions/com.adobe.CEPHTMLTEST", created .debug file in it (https://gist.github.com/m6k/39a49786b7a85a9e312b), created empty .debug file inside Photoshop CC 2014.app (to suppress signature checking). When I open Photoshop CC 2014, I see test panels listed in extension menu, but when I try to open them, I also get the "Cannot complete command because the extension could not be loaded." error.


Any hints what i am doing wrong and what can I do to debug this problem?


Jan

bundle id

Cannot edit the manifest.xml in flash builder extension builder 2.1

$
0
0

In flash builder I installed the extension builder 2.1 to build a photoshop extension. The basic structure created automatically the manifest.xml file but i cannot edit this file in the editor and If I edit outside of the flash builder it does not reflect the changes.

 

What I want is to add an icon for my extension.

Extension panel is blank

$
0
0

Hello,

 

I have a html extension developed and it is working on many computers nicely. Last week we have new macbook and i tried to install indesign, extension manager. Then i installed my selfsigned extension with the ExManCmd.

It shows that the extension is installed without any errors. unfortunately the extension panel is blank!!

As it is working on other computers there should not be problem with manifest or the paths i have given.

I tried to check paths and file permissions. everything looks fine.

 

What can be the reason for blank panel?


API Documentation

$
0
0

I'm putting together some ActionScript definitions of the CEP interfaces for use with FlexJS. I noticed that a lot of the functions return values, but the types of the return values are not very clear.

 

One example:

CSInterface.prototype.registerKeyEventsInterest = function(keyEventsInterest)
{    return window.__adobe_cep__.registerKeyEventsInterest(keyEventsInterest);
};

What exactly does that return?

 

Is there documentation anywhere which explains the APIs any better than the inline comments?

Problem with operations on photoshop layers

$
0
0

I have a problem when I try to do some operations on the layouts like resize and rotate.

 

To reproduce the problem follow these steps.

 

Create a new creative suit extension project, select adobe Photoshop extended as csaw libraries.

In the testPhotoshop.run function put this code:

 

var app:Application = Photoshop.app;           
var doc:Document = app.activeDocument;
doc.resizeImage(200, 150);
var l:ArtLayer = doc.artLayers.add();
l.isBackgroundLayer = true;
doc.artLayers.index(0).resize(50, 50);
doc.artLayers.index(1).translate(10, 10);
doc.artLayers.index(2).translate(10, 10);

 

Start debugging, open an image with 3 layers and click 'Run PS code'.

 

On mac all works fine.

On windows an error is thrown on the resize operation and Photoshop go back one step in history.

(the error text I got is in Italian, my translation follow, but may be inaccurate)

 

Error:  Si è verificato un errore generale di Photoshop. La funzionalità richiesta potrebbe non essere disponibile in questa versione di Photoshop.

- Impossibile trasformare perché il rettangolo di selezione iniziale è vuoto.

    at flash.external::HostObject/__call()

    at com.adobe.csawlib::CSHostObject/hostCall()

    at com.adobe.photoshop::Layer/resize()

    at testPhotoshop$/run()[F:\test\src\testPhotoshop.as:15]

    at test/___test_Button1_click()[F:\test\src\test.mxml:12]

 

(translation)

Error: General Photoshop error occurred. Required functionality could not be available in this Photoshop version.

- Could not transform because the initial bounding rectangle is empty.

 

If I put a breakpoint on the first line of code, and when hit I press resume (F8), the code work even on windows.

 

What I have done wrong?

How to catch event when active document is chnaged in Photoshop CC HTML 5 extension

$
0
0

I want to know when active document is changed in Photoshop CC (14.1.2).

My HTML5 extension is using CSInterface-4.0.0.js.

 

I tried many events but neither of them works (callback is never called):

 

DocumentAfterActivate

DocumentAfterDeActivate

ApplicationActive

ApplicationBeforeQuit

DocumentEdited

AppOnline

AppOffline

 

as well with namespace:

 

com.adobe.csxs.events.DocumentAfterActivate

com.adobe.csxs.events.DocumentAfterDeActivate

com.adobe.csxs.events.ApplicationActive

com.adobe.csxs.events.ApplicationBeforeQuit

com.adobe.csxs.events.DocumentEdited

com.adobe.csxs.events.AppOnline

com.adobe.csxs.events.AppOffline

 

I tried it like this:

var cs = new CSInterface();

cs.addEventListener('DocumentAfterActivate',function(){ console.log('success'); });

// or

cs.addEventListener('com.adobe.csxs.events.DocumentAfterActivate',function(){ console.log('success'); });

 

Looking for solution...

Method to see NodeJS logs?

$
0
0

Typically in web apps with node, you can view logs right inside of Terminal. With Node running in Adobe CC though, there doesn't appear to be a clear method to view logs.

 

How can logs be displayed with Node and CEP 5? I've found a workaround that creates a file with logs inside of it as text, but having them show up in terminal like other web apps would be very ideal.

CSS Flex issue (working in chrome, not in extension)

$
0
0

Hi,

 

I am trying to achieve a layout with CSS and while I get it to work on Chrome…

 

Capture d’écran 2015-09-30 à 18.36.20.png

 

…it's not working as expected once it's loaded within an extension :


Capture d’écran 2015-09-30 à 18.36.41.png


CSS is


#presets {    display: flex;    padding: 3px;    margin: auto;
}


#presets select {
    margin-right:5px;    width: 100%;
}


#presets button {
    margin-right:5px;
}

 

 

Obviously CSS interpretation goes wrong somewehere. Is that something known, or possibly fixed in CC2015

Viewing all 41490 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>