Extension Builder and CS6 - read version at runtime

I want to check the version of my CS extension at main .mxml init time.
How does one find this version info from the manifest.xml?
Thanks,
pjb

AFAIK there is no API exposed by CSXS to get the bundle version. You can read the XML of the manifest and pull out the version though:
private function 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;
var version:String = getExtensionVersion(basePath.resolvePath('CSXS/manifest.xml'));
Note that basePath is a property on CSExtension.
Hope that helps,
--Louis

Similar Messages

  • CS Extension Builder 1.5 trial version is now live

    All,
    today we launched the trial version of CS Extension Builder 1.5 on Adobe.com. The trial version is fully functional and will expire on November 1, 2011. Here is the relevant blogpost. Anyone with an AdobeID can download, use it and enjoy the benefits of rapid extension development. You can find more info at CS Extension Builder Developer Center and also in the Trial FAQ.
    Download CS Extension Builder 1.5 trial
    gabriel tavridis
    Product Manager
    @gtavridis

    Thanks for the feedback Harbs,
    Yeah I couldnt agree with you more on the open source aspect. Maybe well get some form of AIR support on linux for those of use who develop on linux as well (doubt it comes back with Adobe driving the train)  who knows what the future holds.. GOD KNOWS IM SICK OF CYGWIN... 
    All I'm saying is we cant build a business around uncertainty.
    We recently signed up for business catalyst, I would of like'd to see some Actionscript API's for that... (I Love how muse and the dreamweaver extensions are using  them but it seem they forget to package some up for us. I guess they really do expect us to use html5 for everything.)
    They are close to releasing Flash builder 4.6 but Creative Suite Extension Builder hasnt been updated...  Theres a lot of things getting left out...
    There seems to be no communication.  Amidst all that goodness that has drawn us to using Flash and Adobe AIR for our game development theres a lot of confusion.
    And take it from me and save yourself some time and dont call customer service I have found more info over the forums in two minutes then I did in four hours of phone conversation.
    I think we may just hold off on purchasing anything else until they sort through the storm.
    Consider we are currently developing our apps with  Business Catalyst, CS5.5 Web Premium, Flash Media Server,  CS Extension Builder, and there new flash 3d API's  we dont have time or money to waste on such foolishness..
    Someone needs to remind Adobe that they make software, They focus so much on the end users, THEY ARE NOT YOUR CUSTOMERS.. DESIGNERS AND DEVELOPERS ARE.. JUST EQUIP US WITH THE BEST TOOLS AND WELL MAKE THE DECISION...

  • Does CS Extension Builder support CS6?

    Hi,
    Is Extension Builder in the current version designed to work with CS6?
    From what I can see, Extesion Builder does not recognise Photoshop CS6 installed in my system.
    Do I need to cnhange some settings, or is it not supposed to work?
    Thank you,
    Anatoly

    That would be very inconvenient as it doesn't give the developers any
    chance to make their extensions CS6-ready before the release...
    Those people should have paid attention to http://blogs.adobe.com/cssdk/2011/11/cs-extension-builder-prerelease-is-now-live.html back when it was posted in November. The form might still work, but since it was handled by Gabe, who has left Adobe, it might not still work. Dunno.

  • Extension Builder and Photoshop CC

    May I get some info about how to handle the new Photoshop CC version ?
    I need to know if it is compatible with Extension Builder, and if it's possible to get a beta to test my extensions. It should be out in June and have no other info than a press release.
    I believe that building extensions for a product like Photoshop is a way to enhance this application and Adobe should appreciate it, but it's very difficult for me to get the right info and tools to continue enhancing this product.
    Any help will be sincerely appreciated, thanks. 

    You should find your test extensions in the following directory:
    Mac: /Users/<UserName>/Library/Application Support/Adobe/CEP/extensions
    Win: C:\Users\<UserName>\AppData\Roaming\Adobe\CEP\extensions

  • CS5 Extension Builder and Indesign Server ?

    Hello,
    Is it possible to write an extension with CS5 Extension Builder for Indesign Server? It works fine with Indesign Desktop for me, but I'm ot sure for the Server version. Spend time to search on the web, without results.Just found this note in "indesign_cs5_server_scripting_guide.pdf" : You can use the  ExtendScript Toolkit to create JavaScript scripts explicitly for InDesign  Server, or you can use the Creative Suite Extension Builder (CS Extension  Builder) to develop CS extensions in ActionScript. CS extensions are  Flash-based (SWF) and can potentially work in a variety of Creative Suite  applications.
    Many thanks in advance,
    David

    Hello,
    Thanks a lot for the answer. This is not good news for us, but again, thanks for the answer.
    In few words, we are a leading French software editor (www.perigee.fr). Our software is a database that works with Indesign (using a C++ plugin), and manage pictures, text blocs, tables from PIM & DAM mgt.
    We are working on a brand new software suite that will be based on both Indesign and Indesign Server. We intend to develop the Indesign UI in ActionScript and CS5 Extension Builder.
    On the model side, we need something that works as well on both platforms. We tested several solutions (C++, Javascript) so far but we came to the conclusion that it would be ideal to use ActionScript.
    If there is no solution for AS and Indesign Server, we'll have to mix four programming languages in our solution (Java, C++, ActionScript and some JavaScript). Alternatively we could delay part of our project depending on the availability of AS on Indesign Server.
    We really like ActionScript and CS5 Extension Builder, and hopefully a solution to stay on our preferred languages: ActionScript and Java.
    We also explored the full Java/Corba option but it is not supported on the non-server side. And, again, we believe that ActionScript is the best solution.
    I hope our problem is clearer now.
    Do you see anything we may have missed?
    Thanks in advance for your answer!
    David

  • Adobe Acrobat Prof. 8 and Adobe Reader Version 11 under Windows 8.1 x64

    Good Afternoon,
    my company plan migration from Windows XP to Windows 8.1 x64. For this reason shall I find out, which Software run under Windows 8.1 x64. From Adobe Products we need to know, if  Adobe Acrobat Prof. 8 and Adobe Reader Version 11 run under Windows 8.1. 
    If the Software named above run not under Windows 8.1 x64, could you write me please, which version we need und how much it is. Thank you very much.
    Best Regards

    If you have Acrobat, there is no need for Reader. Acrobat 8 is not certified for use on Win8.1, only Acrobat XI. You can get the current cost from the Adobe Store at Adobe.com. The cost is a per computer license. If you have a lot of computer, you might be able to negotiate with Adobe on a volume order or site license (for so many licenses) -- you would have to call Adobe on that.
    AA 8 can be made to work in some cases, but I would not recommend it in a business environment. It is not worth risking some hickup with software that is marginally compatible when you have some deadline or such.

  • Having downloaded and unzipped tutorial builder, extension builder, and scrip tlistener, I cannot find an application file to load.  Please Please help

    Having downloaded and unzipped tutorial builder, extension builder, and scrip tlistener, I cannot find an application file to load.  Please Please help

    Hello Jeff
    I use Photoshop cc and downloaded Tutorial Builder from Adobe Labs.
    Managed to unzip it ok.  Now I am stuck as there are .jsx files and script files but no instructions.
    Hope you can help and thank you for your interest.
    Malcolm

  • Extension Building with multiple CS versions in mind

    Good Morning.
    We are currently working on several InDesign projects which must support and continue to support InDesign CS5, CS 5.5, CS6 and CC.  We are currently using the Extension Builder Flex based UI's with supporting ExtendScript libraries.
    We are compatible with the current versions of CC; but I wonder how long we will be so? Will we need to support 2 UI frameworks in the future or will CC continue to support the Flex based versions of Extension Builder?
    Thanks,
    pjb

    As you might discovered already Adobe thought its the best way to piss off all existing developers and drop the support for flash based extensions as soon as possible. They say at some point mid 2014 most applications wont support extensions built with flash anymore. Photoshop will be the first one, Yehaaa!

  • How to determine (in bulk) whether a document has OCR text and what reader versions are supported?

    Help!
    I've inherited a task which has spanned many years and which was not well thought out over the transitions.  At least three project teams have scanned and stored tens of thousands of documents to PDF.  What was discovered subsequently was that the project teams did not apply a uniform standard for which versions of Adobe would be supported in each PDF, and that not all documents appear to have been OCR'ed as part of the scan process.
    This has resulted in two major problems.  First, PDFs which support all Reader versions are bloated and consuming significant amounts of storage; second, the automated processing tools which depend upon the OCR text are failing once they pass the front and rear cover sheets (which do contain extractable text).  I need to know if there is a way that PDFs can be bulk scanned to determine which Reader versions are supported (say 8.0 to current), and if the OCR'ed / extractable text is not just limited to the first few and last pages of each PDF.
    I have been manually fixing individual files with Adobe Acrobat 9.0.  I can force Adobe to re-OCR and save the files, but I would rather not have to re-process the existing bulk that we have unless absolutely necessary.  If I could determine which ones need fixing and just processing those it will save man years of work.
    Thanks, in advance, for any assistance.
    Michael

    What I meant by supporting a version of Reader is that I don't need the files to be fully backwards compatible all the way back to say the first few versions of Adobe Reader.  (There are likely limitations on that much backwards compatibility, anyway.)  One of the scanners that was used apparently was set for full backwards compatibility, to the extent possible, for every PDF that it generated.  Some of those PDFs are huge, commonly 300-400MBs in size.  If I open them in Acrobat 9.0, limit the backwards compatibility to Adobe Reader 8.0 and forward, then resave the file, the size is often significantly reduced.
    As to how it is measured, there is something in the PDF itself that indicates a minimum version for Adobe Reader for compatibility purposes.  When you select for compatibility in Acrobat during the save process I mentioned, you get to pick the version at which you want to stop -- so if you selected 8.0, it would be compatible with 8.0, 9.0, and so on.

  • PDF Versions of Documents and  Adobe Reader Versions

    hello
    ist there a overview table, which shows the details and compatibility of PDF File Versions and Adope Reader
    of is it easy to say
    PDF1.3 need Adobe Reader 4.0 and higher
    PDF1.4              5.0
    PDF1.5              6.0
    PDF1.6              7.0
    PDF1.7              8.0
    thanks for the answer where i could find an overview table
    if there is a backward compatibility
    reading PDF1.7 with Adobe Reader 5.0
    maybe additional table which function are compatible
    and which are not supported or create errors by using old Reader with new Documents.
    hope you have some answers, thanks
    and best regards
    Laible

    Hello Adobe Team
    thanks for the fast answer regarding my question in your forum
    You cannot reliably read newer versions of pdf with older versions. We
    cannot provide a table, because it depends upon the features used by the
    file. For example you can usually take a pdf raster image that is saved in
    an newer format, with an older version. You'll get an error message, but it
    usually will open. However, if you use a pdf that uses newer security
    features, it will NEVER open.
    have a nice weekend
    best regards from switzerland
    Ingo Laible
    Development Embedded
    R+D Hardware Engineer
    Endress+Hauser Process Solutions AG
    Kaegenstrasse 2
    CH-4153 Reinach
    Switzerland
    Phone:  +41 61 715 73 28
    Fax:      +41 61 715 28 04
    E-Mail:     [email protected]
    Web:  www.process-solutions.endress.com

  • Problem with Adobe 9.1.3 (AIP) and previous Reader versions?

    Hi all,
    I'm new to using Administrative Installs when it comes to Adobe Reader, so please bare with me
    I've put together an AIP for Adobe Reader 9.1.3. I took the 'base' of 9.1.0, and integrated 9.1.1, 9.1.2, 9.1.3 and also did some final customisation with the Adobe Customisation Wizard.
    To help give you some background scenario:
    Our initial workstation image originally went out a few years back, so we've got lots of these still around our site (perhaps 1000). These were originally installed with Reader 8.x. In the meantime, a newer image went out with Reader 9.1.0.
    As our users are allowed to have full admin rights over their workstations, they are able to update their Acrobat Reader's when the update window pops up, however, in reality, some users are always updating as soon as the update is made available, other's don't seem to update hardly at all (luckily, we push the Windows updates down so they don't get a choice with those!!!).
    As we don't automatically re-image all users when a new image is created (it's more based on whenever they get a new PC, or experience big problems), this has led to a situation, where our workstations (approx. 2000), can have any version effectively of Adobe Reader - from 8.x to 9.1.x.
    I built the integrated incremental update install in the expectation that this would basically update anything that is currently out there, i.e.
    Reader 8.x - update to 9.1.3
    Reader 9.1.0 > 9.1.2 - update to 9.1.3
    Reader 9.1.3 - no update
    Having tested this by distributing with SMS 2003, it appears that our 9.1.3 admin install version will happily update Reader 8.x (tried 8.1.0, 8.1.2, 8.1.6) fine, yet as soon as it encounters any occurences of 9.1.x, it fails with the error "Another version of this product is already installed...."
    I would have presumed that a 'slip-streamed' 9.1.3 install would still be able to detect earlier versions of Reader 9 (9.1.0 > 9.1.2) and update them, as surely the Upgrade tables in the MSI's would support this - in fact, I've looked at the Upgrade tables in our 9.1.3 integrated admin install and they do have the ness. upgrade codes for 7/8/9.1.x, so I'm confused as to why this doesn't work.
    I'm presuming that if I tinker around with the Upgrade tables, I should in effect be able to force this MSI to always upgrade a 9.1.x, but has anyone else suffered with this previously when using integrated updates in admin installs? Do you have any details on what I could alter in the tables, as I don't understand why this shouldn't work?
    Thanks in advance, this is proving to be most frustrating!!!

    Hi all,
    I'm new to using Administrative Installs when it comes to Adobe Reader, so please bare with me
    I've put together an AIP for Adobe Reader 9.1.3. I took the 'base' of 9.1.0, and integrated 9.1.1, 9.1.2, 9.1.3 and also did some final customisation with the Adobe Customisation Wizard.
    To help give you some background scenario:
    Our initial workstation image originally went out a few years back, so we've got lots of these still around our site (perhaps 1000). These were originally installed with Reader 8.x. In the meantime, a newer image went out with Reader 9.1.0.
    As our users are allowed to have full admin rights over their workstations, they are able to update their Acrobat Reader's when the update window pops up, however, in reality, some users are always updating as soon as the update is made available, other's don't seem to update hardly at all (luckily, we push the Windows updates down so they don't get a choice with those!!!).
    As we don't automatically re-image all users when a new image is created (it's more based on whenever they get a new PC, or experience big problems), this has led to a situation, where our workstations (approx. 2000), can have any version effectively of Adobe Reader - from 8.x to 9.1.x.
    I built the integrated incremental update install in the expectation that this would basically update anything that is currently out there, i.e.
    Reader 8.x - update to 9.1.3
    Reader 9.1.0 > 9.1.2 - update to 9.1.3
    Reader 9.1.3 - no update
    Having tested this by distributing with SMS 2003, it appears that our 9.1.3 admin install version will happily update Reader 8.x (tried 8.1.0, 8.1.2, 8.1.6) fine, yet as soon as it encounters any occurences of 9.1.x, it fails with the error "Another version of this product is already installed...."
    I would have presumed that a 'slip-streamed' 9.1.3 install would still be able to detect earlier versions of Reader 9 (9.1.0 > 9.1.2) and update them, as surely the Upgrade tables in the MSI's would support this - in fact, I've looked at the Upgrade tables in our 9.1.3 integrated admin install and they do have the ness. upgrade codes for 7/8/9.1.x, so I'm confused as to why this doesn't work.
    I'm presuming that if I tinker around with the Upgrade tables, I should in effect be able to force this MSI to always upgrade a 9.1.x, but has anyone else suffered with this previously when using integrated updates in admin installs? Do you have any details on what I could alter in the tables, as I don't understand why this shouldn't work?
    Thanks in advance, this is proving to be most frustrating!!!

  • Why is there such a diffrency in file size in PS cs6 for mac and cs6 pc version?

    What am i missing in the mac version?

    There's no difference in features between the Mac and PC version. I believe the file difference is simply due to the foundation of the application, and additional support for different OS versions.

  • Photoshop extension building not working for cs6, works for the rest

    I am building an extension for photoshop the manifest file is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <ExtensionManifest Version="4.0" ExtensionBundleId="Kit" ExtensionBundleVersion="2.0.0"
      ExtensionBundleName="Kit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ExtensionList>
      <Extension Id="Kit.extension1" Version="2.0.0" />
      </ExtensionList>
      <ExecutionEnvironment>
      <HostList>
      <Host Name="PHSP" Version="[13.0,15.9]" />
      <Host Name="PHXS" Version="[13.0,15.9]" />
      </HostList>
      <LocaleList>
      <Locale Code="All" />
      </LocaleList>
      <RequiredRuntimeList>
      <RequiredRuntime Name="CSXS" Version="3.0" />
      </RequiredRuntimeList>
      </ExecutionEnvironment>
      <DispatchInfoList>
      <Extension Id="Kit.extension1">
      <DispatchInfo >
      <Resources>
      <MainPath>./index.html</MainPath>
      <ScriptPath>./Kit.jsx</ScriptPath>
      </Resources>
      <Lifecycle>
      <AutoVisible>true</AutoVisible>
      </Lifecycle>
      <UI>
      <Type>Panel</Type>
      <Menu>Beauty Retouching Kit</Menu>
      <Geometry>
      <Size>
      <Height>580</Height>
      <Width>250</Width>
      </Size>
      <MaxSize>
      <Height>580</Height>
      <Width>250</Width>
      </MaxSize>
      <MinSize>
      <Height>580</Height>
      <Width>250</Width>
      </MinSize>
      </Geometry>
      <Icons>
      <Icon Type="Normal">./pictures/thumb/Icon.png</Icon>
      <Icon Type="RollOver">./pictures/thumb/Icon.png</Icon>
      <Icon Type="DarkNormal">./pictures/thumb/Icon.png</Icon>
      <Icon Type="DarkRollOver">./pictures/thumb/Icon.png</Icon>
      </Icons>
      </UI>
      </DispatchInfo>
      </Extension>
      </DispatchInfoList>
    </ExtensionManifest>
    I tried this code for photoshop CC and CC 2014, it works for both but I couldn't get it to run for cs6 it gives the below error from the extension manager:
    so isn't Version="[13.0,15.9]" correct? why would it not work for cs6? thanks in advance.

    Hi,
    CS6 doesn't support HTML Panels but Flash ones, this should be the why the Adobe Extension Manager fails.
    You might find help here (Flash): Creative Suite Extension Builder and here (HTML): Extension Builder 3
    Davide Barranca
    www.davidebarranca.com
    www.cs-extensions.com

  • Extension Builder 2.1 and CC 2014

    Hello,
      we've trying to make our 2.1 extensions available to CC 2014, following the tutorial available at Adobe Extension Builder and Creative Cloud 2014. The problem is that after having installed Premiere Pro CC 2014, we don't have any CEP folder (Win32) C:\Program Files\Common Files\Adobe\CEP or (Win64) C:\Program Files (x86)\Common Files\Adobe\CEP. How to get it installed on our machines?
    Even if we've updated the extension manifest.xml with <Host Name=”PPRO” Version=”[8.0,8.9]” /> and <RequiredRuntime Name=”CSXS” Version=”5.0″ />, Premiere CC 2014 doesn't load our extensions.
    Any help on that?
    Thank you.
    Alessandro

    I mean the tutorial Adobe Extension Builder and Creative Cloud 2014.

  • CS Extension Builder 1.5 and CS SDK 1.5 are available

    Hi all,
    I am pleased to announce that the latest versions (1.5) of Creative Suite Extension Builder and the Creative Suite SDK are now available through the downloads section on the CS Extension Builder website.
    The team has applied significant effort to deliver a release only 12 months after the 1.0 release and we believe that it will be as successful as the first one.
    Some of the highlights of the 1.5 release are:
    improved support for hybrid extensions (more)
    ability to develop for multiple versions of the Creative Suite (more)
    advanced tools for developing with XMP metadata (more)
    support for Content Management Systems that support the CMIS (Content Management Interoperability Services) specification
    extension profiling
    To find out more about the 1.5 release, take a look our CS Extension Builder page on Adobe Developer Connection. Over the next  few weeks we will be pushing more content (tutorials, articles, videos) to this page and we intend to make it the main resource center for Creative Suite developers. You can also check the our channel on youtube.
    As always your feedback is important.
    We hope you enjoy the new release!
    gabriel tavridis
    Product Manager, Developer Technologies
    @gtavridis

    Thanks for the feedback Harbs,
    Yeah I couldnt agree with you more on the open source aspect. Maybe well get some form of AIR support on linux for those of use who develop on linux as well (doubt it comes back with Adobe driving the train)  who knows what the future holds.. GOD KNOWS IM SICK OF CYGWIN... 
    All I'm saying is we cant build a business around uncertainty.
    We recently signed up for business catalyst, I would of like'd to see some Actionscript API's for that... (I Love how muse and the dreamweaver extensions are using  them but it seem they forget to package some up for us. I guess they really do expect us to use html5 for everything.)
    They are close to releasing Flash builder 4.6 but Creative Suite Extension Builder hasnt been updated...  Theres a lot of things getting left out...
    There seems to be no communication.  Amidst all that goodness that has drawn us to using Flash and Adobe AIR for our game development theres a lot of confusion.
    And take it from me and save yourself some time and dont call customer service I have found more info over the forums in two minutes then I did in four hours of phone conversation.
    I think we may just hold off on purchasing anything else until they sort through the storm.
    Consider we are currently developing our apps with  Business Catalyst, CS5.5 Web Premium, Flash Media Server,  CS Extension Builder, and there new flash 3d API's  we dont have time or money to waste on such foolishness..
    Someone needs to remind Adobe that they make software, They focus so much on the end users, THEY ARE NOT YOUR CUSTOMERS.. DESIGNERS AND DEVELOPERS ARE.. JUST EQUIP US WITH THE BEST TOOLS AND WELL MAKE THE DECISION...

Maybe you are looking for

  • How to find the SAP ID of workflow amdin?

    Hi, I need to send one notification mail to workflow admin in my worklfow . Please can anybody give me the table name or give me the  FM available to find the workflow admin. Please it urgent. thanks Manju

  • Function module to change the address on the business partner in SAP-ISU.

    Can some one send me the function module to change the address of businees partner in SAP ISU.

  • What is the yellow 'other' tab made up of?

    My mac keeps warning me that my storage is nearly full, but i don't know which files to delete, it's taking up alot of space. & i also don't know what that superdrive thing is. Someone tell me what is taking up all this space, please reply >.<

  • AT&T International Data Plans

    Is there a set plan for accessing Edge networks using a iPhone in Canada from AT&T and what is the cost?

  • Speakers similar to Inspire P380

    I've been using Inspire P380 for ~11 years, and now I need a replacement since the sound became weaker and lost details. Customer support told me that P380 didn't have a successor, so I was wondering if anyone who has owned them could tell me which c