davidderaedt / Illustrator-Layer-Exporter

A panel for Illustrator to easily export all layers
287 stars 39 forks source link

Update to CC 2015? #21

Open bobulated opened 9 years ago

bobulated commented 9 years ago

Will this be updated for the CC 2015 release of Illustrator? Thanks!

philswan commented 9 years ago

An update would be greatly appreciated! Thanks

PeterVermont commented 9 years ago

Yes please!

mos6581 commented 9 years ago

Hi, please, make an update for CC 2015..great extension, though with CC 2015 workflow is completely corrupted..

denysbutenko commented 9 years ago

:+1:

Grawl commented 9 years ago

:+1:

fsmythe commented 9 years ago

:+1:

fsmythe commented 9 years ago

I've rolled back to CC 2014 because this extension is so vital to my workflow!

Link on how to do so:

https://blogs.adobe.com/kevinmonahan/2014/01/29/revert-to-a-previous-version-of-premiere-pro-cc-or-any-creative-cloud-application/

mos6581 commented 9 years ago

Wow! thanks, never know it's possible to roll back. Done!

katiebb commented 9 years ago

:+1:

joeherold commented 9 years ago

A guide for those, who want to make it work in CC 2015:

Summery:

  1. Enable Debug Mode for CSCX 5
  2. Restart the cfprefsd process, because from osx 10.9 and up it caches the property list files
  3. Copy the Extension from CSCX 4 to CSCX 5
  4. Edit the project manifest to make the extension work with CSCX 5 and up to any illustrator version

For @davidderaedt

When you update your plugin, you only have to make topic 4 in your app and redeploy it to adobe. So, change to CSCX5 and raise the illustrator version number... ;) Pullrequest is here: https://github.com/davidderaedt/Illustrator-Layer-Exporter/pull/22

Enable Debug Mode for CSCX 5

Go to

~/YOUR_USER/Library/Preferences/com.adobe.CSXS.5.plist

and add the key-value pair PlayerDebugMode = 1

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>LogLevel</key>
    <string>1</string>
    <key>PlayerDebugMode</key>
    <string>1</string>
</dict>
</plist>

or more simple, just add it with xcode:

screenshot_1

Restart the cfprefsd process, because from osx 10.9 and up it caches the property list files

(or restart your computer) find the cfprefsd PID in activity monitor:

screenshot_2

then go to your terminal and kill the process with: sudo kill -9 PID

screenshot_3

Copy the Extension from CSCX 4 to CSCX 5

Copy the Extension from:

~/YOUR_USER/Library/Application Support/Adobe/CEPServiceManager4/extensions/com.dehats.layerexporter

to:

~/YOUR_USER/Library/Application Support/Adobe/CEP/extensions/com.dehats.layerexporter

Edit the project manifest file according to this changes:

(the file is located here: ~/YOUR_USER/Library/Application Support/Adobe/CEP/extensions/com.dehats.layerexporter/CSCX/manifest.xml)

<?xml version="1.0" encoding="UTF-8"?>

<ExtensionManifest Version="5.0" ExtensionBundleId="com.dehats.layerexporter" ExtensionBundleVersion="2.1.1"
        ExtensionBundleName="Layer Exporter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Author>David Deraedt</Author>
    <Abstract><![CDATA[Export all layers in just one click]]></Abstract>    
    <ExtensionList>
        <Extension Id="com.dehats.layerexporter" Version="2.1.1" />
    </ExtensionList>
    <ExecutionEnvironment>
        <HostList>
            <Host Name="ILST" Version="[17.0,2100.0]" />
        </HostList>
        <LocaleList>
            <Locale Code="All" />
        </LocaleList>
        <RequiredRuntimeList>
            <RequiredRuntime Name="CSXS" Version="5.0" />
        </RequiredRuntimeList>
    </ExecutionEnvironment>
    <DispatchInfoList>
        <Extension Id="com.dehats.layerexporter">
            <DispatchInfo >
                <Resources>
                <MainPath>./index.html</MainPath>
                <ScriptPath>./jsx/hostscript.jsx</ScriptPath>
                </Resources>
                <Lifecycle>
                    <AutoVisible>true</AutoVisible>
                </Lifecycle>
                <UI>
                    <Type>Panel</Type>
                    <Menu>Layer exporter</Menu>
                    <Geometry>
                        <Size>
                            <Height>300</Height>
                            <Width>300</Width>
                        </Size>
                    </Geometry>
                </UI>
            </DispatchInfo>
        </Extension>
    </DispatchInfoList>
</ExtensionManifest>

Restart Illustrator and then you are ready to go ;)

screenshot_4
joeherold commented 9 years ago

Sidenote

if you yet have not installed the plugin in CC (so before CC 2015) you may just download the githubpackage from here und copy the "com.dehats.layerexporter" folder to ~/YOUR_USER/Library/Application Support/Adobe/CEP/extensions/com.dehats.layerexporter

dlewand691 commented 9 years ago

Thanks joeherold for this. I followed the instructions explicitly and under Window > Extensions, Layer Exporter does show up now, but the panel does not open. Could there be a conflict with another extension? Or any other tips to get it to work? Thank you!

joeherold commented 9 years ago

did you properly restarted the cfprefsd process? just changing the property list does not mean it takes effect in OSX 10.9 and later, because it is cached.so you need to kill all the cfprefsd processes, so that on a restart of illustrator the new settings may take effect. otherwise it will load the cached (unchanged) version and the playerdebugmode is not activated

for more info you may read this: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/cfprefsd.8.html

joeherold commented 9 years ago

the bad thing in illustrator is, that it does not show an error message. while i figured out the solution, i enabled the plugin in photoshop as well, just to see the error messages.. :)

svermeulen commented 9 years ago

I'm encountering the same issue as @dlewand691 - @joeherold 's instructions helped in that I can now see the menu option however the window does not open after selecting it

svermeulen commented 9 years ago

I actually managed to resolve my issue - after checking the log file csxs6-ILST.log I found the signature verification was failing and it was because I didn't correctly enable debug mode

joeherold commented 9 years ago

@svermeulen glad to read it worked out for you. yes, some people told me that they skipped step 2 (restarting cfprefsd) and so the cached property list was loaded in illustrator. and this just does not enable the playerdebug mode. :)

joeherold commented 9 years ago

I hope you all enjoy this little "workaround" fix. i hope @davidderaedt, the plugin developer, will update/fix his plugin. He only has to modify his manifest.xml settings to cscx5 and the upcoming illustrator version number, not more not less. Even the debug mode would not be necessary when he deploys it to adobe, because his plugin will be signed correctly then...

we well see.

joeherold commented 9 years ago

i informed @davidderaedt now via twitter. we will see... https://twitter.com/JohPichler/status/638263108386095104

dlewand691 commented 9 years ago

Ah ha! Thanks @svermeulen for the tip. I edited the com.adobe.CSXS.6.plist file to enable debug mode and it worked perfect. May want to update the tip to include the CSXS6 file reference. Thank you!

callil commented 9 years ago

@joeherold @dlewand691 Good tip! I also had to enable debug in both com.adobe.CSXS.6.plist and com.adobe.CSXS.5.plist to get the window to appear.

joeherold commented 9 years ago

:+1:

tomothumb commented 8 years ago

@joeherold @dlewand691

I edited the com.adobe.CSXS.6.plist file to enable debug mode and it worked perfect. May want to update the tip to include the CSXS6 file reference.

Thanks, It worked too.

ignaciogiri commented 8 years ago

Still works with CC 2017 on Mac OS Sierra by following @joeherold hack. This is easily the most useful extension ever, I don't know why they make it so complicated. The new Asset Export is nice, but you have to "drag" every single item... Long live Illustrator-Layer-Exporter.

jw-miaem commented 6 years ago

this is so handy would be even handier if install was easier - unable to install on CC 2018 at the moment