Extension Builder and CS6 - read version when running

I want to check the version of my CS extension to time init main .mxml.

How can I find this version since the manifest.xml info?

Thank you

pjb

As much as I know there is no API exposed by CSXS to get the bundle version. You can read the XML of the manifest and pull the version if:

private void getExtensionVersion(manifestFile:File):String

{

var fileStream:FileStream = new FileStream();

fileStream.open (manifestFile, FileMode.READ);

var manifestXml:XML = XML (fileStream.readUTFBytes (fileStream.bytesAvailable));

fileStream.close ();

Return manifestXml.@ExtensionBundleVersion;

}

...

Version string: var getExtensionVersion(basePath.resolvePath('CSXS/manifest.xml ='));

Note that basePath is a property of CSExtension.

Hope that helps,

-Louis

Tags: Creative Suites

Similar Questions

  • PS Installed CC (and CS6 installed). When you are working on large files I have run out of memory pretty quickly (I have 8 GB of Ram. I have openedCS6 and looked System info - 7123MB of available RAM... in CC only 3255 MB of available space. How can I inc

    CS6

    Operating system: Windows 7 64-bit

    Version: 6.1 Service Pack 1

    System architecture: Intel CPU Family: 6, model: 12 Stepping: 3 with MMX, entire SSE, SSE, SSE2, SSE3, SSE4.1, SSE4.2 FP

    Physical processor count: 4

    Processor speed: 2993 MHz

    Built-in memory: 8079 MB

    Free memory: 4650 MB

    Memory available to Photoshop: 7123 MB

    Memory used by Photoshop: 78%

    Image tile size: 1024K

    CC

    Operating system: Windows 7 64-bit

    Version: 6.1 Service Pack 1

    System architecture: Intel CPU Family: 6, model: 12 Stepping: 3 with MMX, entire SSE, SSE, SSE2, SSE3, SSE4.1, SSE4.2 FP

    Physical processor count: 4

    Processor speed: 2993 MHz

    Built-in memory: 8079 MB

    Free memory: 4619 MB

    Memory available to Photoshop: 3255 MB

    Memory used by Photoshop: 72%

    Ask in the Discussion of Photoshop or go to Microsoft and look for an article on memory allocation

    http://search.Microsoft.com/search.aspx?mkt=en-us&setlang=en-us

    This forum is about the cloud as a process of delivery, only not on the use of individual programs

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it says all communities) to open the drop-down list and scroll

  • GPIB read gel when running vi without light debugging... (it works with light)

    I have a gpib read that spits out two values to an offset. It is in a loop which is defined by the initial report final and the size of the stage settings. My question is, why don't him freezes reading gpib (or don't disable; whenever I turn on the light of debugging (once it's been run), it "lights" only until the gpib read and nothing else). I replaced the gpib read with visa read, it freezes over, but it saves only zeros (when I can clearly see my system out certain values). Any help would be appreciated.

    * There is a similar topic on the light of debugging and reasoning has been designed to be a race condition. but I don't see how my situation is a race condition.

    Thank you

    Ko.

    It is resolved. It has nothing to do with the program. There was a problem of interference with another parallel machine. Once I got rid of this connection, everything worked like a charm.

    Thank you all for your valuable contributions.

    -Ko.

  • Can I download and use a plugin when running Photoshop CC trial?

    Today, I downloaded Photoshop CC trial and downloaded the plugin perfect photo by Athentech.  The plug-in downloaded and installed on my computer and I can't find it after that.  It does not appear in Photoshop CC.  I know this is supposed to be in the menu "filter", but it is not yet here.

    Nothing to do with PS. The trial is fully functional. More likely, you need to do something specific to activate the plugin trial or install a compatible version.

    Mylenium

  • Mobsync.exe begins and ends several times when running directX games

    Whenever I start a current game directx mobsync.exe enforcement begins and ends. It causes a shift in the game and the cheek than the "dee-dum' sound as if I am connect and disconnect a USB device. I changed everything in the system for material. New motherboard, new RAM, different video card, changed to keyboards and mice, disconnect all USB devices and the problem still persists. Mobsync.exe will begin or wmplayer will start then end immediately and that this repeatedly until the game is closed. does anyone have any idea what this might be? Help, please! It's very frustrating.

    Intel Core 2Duo

    ATI Radeon HD3650 PCIE16

    4 GB OF DDR3 MEMORY

    Finally I thought of her. The problem was with a compatibility problem with a USB display controlled on a case of SilverStone Media Center. I found this through the process of elimination. After unplugging the screen before the problem disappeared.

  • Open Photoshop CS5 and CS6

    I can't open the versions of Photoshop CS5 and CS6 simultaneously. When I run the CS6, and then CS5 application, it takes me to CS6 and vice versa.

    Is it possible to keep open both versions? With Indesign I can do.

    And on a Mac.  On a PC acresofgreen is exactly right.  Only one can be open at a time.

    -Christmas

  • Extension Builder 3 update

    Hello

    I would like to know if ExtensionBuilder 3 will be updated for Creative Cloud 2015 (CEP 6)?

    Right now, it is quite difficult to create an extension for creative Application of cloud.

    Even if after having operations described here:

    http://blogs.Adobe.com/cssdk/2014/06/Adobe-extension-Builder-and-creative-cloud-2014.html

    So, using Eclipse and Extension Builder 3 is not easy, as it should.

    I tried media and Creative Cloud Extension using brackets, but I had some problems on Windows when installing extension (although Mac revision work).

    What about IntelliJ?

    I don't know the best, the IDE more effective to develop an extension.

    Need help.

    Best regards

    Thomas.

    I finally stopped using Extension Builder 3 and Eclipse. Too many questions and not so effective.

    I actually use "Webstorm" (IDE), 'SIPs' and command utility (ZXPSignCmd, ExManCmd), Adobe for all tasks.

    I can handle everything from A to z (which includes the extension hybrid, signature, installation and much more).

    A bit more complicated to define that it was before, but it works fairly well once done.

    I guess I'll stick with it.

    Thomas.

  • Extension Builder 3 update? Or do you use media?

    Hi all:

    I'm starting to finally enter the world of to extend Photoshop and according to this blog post:

    https://blogs.Adobe.com/cssdk/2014/06/Adobe-extension-Builder-and-creative-cloud-2014.html

    > Overview of Builder 3 3 extension does not support Creative Cloud 2014 during the construction of extensions to HTML5.

    I tried both make an extension of test in parentheses (with the CC Adobe Extension builder to installed plugin) and EB3 and it seems that media automatically builds the project with more conventional code HTML5 from EB3, since I also have to change the manifest file in EB3 manually to do even to run PS CC 2014. I have

    I was wondering if EB3 will never get an appropriate update to bring it on par with the media, or if the people are expected to use materials in the future for developing Photoshop extensions.

    Thank you!

    Hello

    I stop EB3 who use already since last year. I think using brackets is better way.

    All my extensions in the Add Ons are made with text and media publishers.

    Ten

  • Photoshop cc 2014 with Extension Builder 3 doesn't work does not correctly.

    I can't even basic Panel work in 2014 of CC. I created a default Extension generator project in eclipse. I then this Adobe Extension Builder and Creative Cloud 2014instructions, but when I try to debug, this does not work. The Panel presents (with nothing in it) but says '' may not finish order because the extension could not be loaded. ''

    I created an extension for CC, then changing all by following the link above, tried to start in 2014 CC I get the same error, even if it worked in CC.

    Anyone know how I can solve this problem, or what is the cause?

    If this isn't the case, could someone provide me with an empty project Panel in Builder Extension that works for you, so that I can perhaps understand what the differences are.

    Kind regards

    Mattias

    It's true and if you're on Maverick, you also kill the cfprefsd process (or close the session and connection or restart). Mavericks has a mechanism of caching for this kind of properties so that this change does not take effect until you do this.

    Best regards

    Hallgrimur

    --

    René Hallgrímur | Product Manager Adobe EAC | @HallgrimurTh

  • Help please: can't export Extension Builder 3 extension package ZXP

    The export mode Extension Builder 3 extension to a State of package ZXP:

    Export your extension

    To distribute your extension, you must export it as a ZXP package that can be loaded and managed by Adobe Extension Manager.

    1. in the scripts of Eclipse Explorer view, right-click your project and choose export > Adobe Extension Builder 3 > Extension of the Application. This will display the Export Wizard.

    When I step 1, this is what I see.  There is no export > Adobe Extension Builder 3 option.

    export-menu.jpg

    When I click "export...". "that's what I get.  And this is not the correct export wizard according to the tutorial 'Create your own Extension in 5 Minutes HTML5'.

    export-wizard.jpg

    I can't understand how to export an extension set Extension Builder 3 to a package ZXP.  Can someone provide advice?  Thank you.

    The instructions are quite unclear if you have not used Eclipse or Flash Builder before.

    Go to file > export...

    and in this list you see in your second snapshot, expand the folder 'Adobe Extension Builder 3 '.

    and in there, you will see the option "Application Extension".

    Select here.

    Good luck.

  • Digest the lag when running during the generation of the ant script

    I'm tying all libraries referenced by my Flex as RSL project. When I do this through Flex Builder seems to work.  When I try to do it via an Ant build script to the mxmlc task the build succeeds (everything compiles) but when running, I get error #1001 Flex: mismatch with RSL Digest for datavisualization.swc.  Not sure why I make this especially since I specify datavisualization.swf in the rsl url not a swz file. Both methods give the same set of swf, SWC, and swz files in the deployment folder.  I can't understand what is different between the two build processes after comparing the .actionScriptProperties with the ant script.  Can anyone help to shed light on this or help me understand how push wrong with that? Thank you.

    My task as mxmlx:

    < mxmlc
    file = "${Flex.main.file}" "
    output = "${Flex.output.swf}" "
    ActionScript-file-encoding = 'UTF-8 '.
    Keep-generated-actionscript = "false".
    link-TIME-shared-library static = "false".
    local = "en_US."
    MaxMemory = "256 m" >

    < path-element source-path = "${PROJECT_FRAMEWORKS}" / >

    < dir external-library-path = "${PROJECT_FRAMEWORKS} / libs/player" includes = "playerglobal.swc" / >

    "< path-element="${PROJECT_FRAMEWORKS}/libs/framework.swc DURATION-shared-library-path ">

    < url rsl - url = ' framework_$ {FLEX_BUILD} .swf ".
    < url rsl - url = ' framework_$ {FLEX_BUILD} .swz "/ >
    < / DURATION-shared-library-path >

    "< path-element="${PROJECT_FRAMEWORKS}/libs/rpc.swc DURATION-shared-library-path ">
    < url rsl - url = "rpc_$ {FLEX_BUILD} .swf" / >
    < url rsl - url = "rpc_$ {FLEX_BUILD} .swz" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/Automation.swc" >
    < url rsl - url = "automation.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/automation_agent.swc" >
    < url rsl - url = "automation_agent.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/automation_dmv.swc" >
    < url rsl - url = "automation_dmv.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/automation_flashflexkit.swc" >
    < url rsl - url = "automation_flashflexkit.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/DataVisualization.swc" >
    < url rsl - url = "datavisualization.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/Flex.swc" >
    < url rsl - url = "flex.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/qtp.swc" >
    < url rsl - url = "qtp.swf" / >
    < / DURATION-shared-library-path >

    < runtime-shared-library-path
    Path-Element="${PROJECT_FRAMEWORKS}/libs/Utilities.swc" >
    < url rsl - url = "utilities.swf" / >
    < / DURATION-shared-library-path >

    < compile .library-path dir = "${PROJECT_FRAMEWORKS}" / locale ' append = "true" > "
    < name = "{local}" / >
    < / compile .library-path >

    ...

    < default width = "500" height = "600" / >
    < / mxmlc >

    I didn't write the patch, but I just took a quick glance. I think that the "url" element has been renamed to "rsl - url" and new elements have been added as "failover-url". You can try to match this new syntax, but I don't think that this patch will be agreed due to rename it.

    -Darrell

  • Why is-tab order incorrect in the browser but OK in Acrobat and Adobe Reader?

    I created a form to fill out and set the tab order to online.  It works correctly in Acrobat and Adobe Reader, but when I download on my site, all browsers use a different tab order.  I set the language than English.  Sort of behavior RTL in the browser, it is also somewhat randomly.  I have created several forms in the past and never had this happen before.  This form was started as a Word document that I used the import form creator.  Any ideas on how to force it to use the correct tab order?  Thank you.

    Many browsers (almost all) use their own internal PDF plugin by default. These plugins are known to have many bugs, and it's probably just another. Report the problem to the manufacturers of this plugin.

  • How to view the user interface created using CS Extension Builder in our menu.

    Hello

    I created a user interface that includes a text box and a button using "CS Extension Builder" and as I - CS5.

    I enter this in the window-> Extension.

    But I want it to appear in my menu.

    so I just want to know how can I do this? Any API does it take?

    Thank you

    What is not clear with the samples, it is that your CSXS Extension can actually choose not to contribute a menu under window > Extensions.

    FreeGrid sample has elements of menu under window > SDK > free grid (who calls in C++ code that fires a CSXS event to open the extension) and the title of the window > Extensions > free UI grid that opens the CSXS Extension, which, in turn, communicates with the C++ plug-ins. If you remove the

    tag in the manifest file of the extension of the free grid UI (under .staged-extension/CSXS), then who's going to get rid of the window > Extensions > free menu item grid UI, leaving only the menu item defined in the C++ plug-ins. Appears not to be supported by Bundle manifest Editor Extension Builder (I'll file a bug on this topic now), but you can manually edit the manifest file (in Extension Builder, you will need to click on the arrow down on the upper right of the package Explorer and select "filters", then uncheck the ".") * resources"box - this will make the folder visible .staged-extensions. Then just navigate to the fichier.staged-extension/CSXS/manifest.xml, right click on it and select "open with > XML Editor".)

    Hope that helps,

    Louis

  • Try to download the latest version of Adobe Reader. When I press 'install' and run the download, it tells me to close Internet Explorer. However, I have closed internet Explorer and have no other open programs

    Try to download the latest version of Adobe Reader. When I press 'install' and run the download, it tells me to close Internet Explorer. However, I have closed internet Explorer and have no other open programs

    Hi 2006screenname2006,

    Restart your computer and download & install Reader using this link Adobe - Adobe Acrobat Reader DC Distribution.

    Let me know if the problem persists.

    Kind regards

    Nicos

  • I recently tried to open a new pdf file using an existing program Acrobat Reader and it changed the extensions of all programs and .pdf desktop icons, making them unusable.  I uninstalled Reader and extensions have been fixed.  But when I installed the dr

    I recently tried to open a new pdf file using an existing program Acrobat Reader and it changed the extensions of all programs and .pdf desktop icons, making them unusable.  I uninstalled Reader and extensions have been fixed.  But when I installed the drive again - the latest version (DC) it happened again.  How can I fix it?  I am on Windows 7

    Hi donaldm78047015,

    Try the solution mentioned in this KB doc. https://helpx.Adobe.com/Acrobat/KB/application-file-icons-change-Acrobat.html

    Kind regards

    Nicos

Maybe you are looking for