• My name is apcdytc.

Related Discussions

I got your file, and the script runs fine! I see you are using the ExtendScript Toolkit.

Make sure you have Do Not Break on Guarded Exceptions checked!

ExtendScript Toolkit | Debug | ✓ Do Not Break on Guarded Exceptions

>Do Not Break on Guarded Exceptions[/quote]
Where do I you put a check?

I do not have knowledge of the program.
please tell me in detail.

In the menu, here:

Image removed due to the lack of support for HTTPS. | Show Anyway

Also, you could just run the script directly from After Effects, and don't use ExtendScript Toolkit.

私は日本語話せるけど漢字はよめないです。

You can see the path for each image in the Spine hierarchy:

Image removed due to the lack of support for HTTPS. | Show Anyway

Select Images in the heirarchy to see the path for all images:

Image removed due to the lack of support for HTTPS. | Show Anyway


Image removed due to the lack of support for HTTPS. | Show Anyway

That is how Spine finds the image:
/Users/nimai/Downloads/160608_chara001/chara001_idle_ae-assets/chara001_idle_hip

Image removed due to the lack of support for HTTPS. | Show Anyway

Your images are in a folder named "(Footage)"
I made a copy of that folder and renamed it to "chara001_idle_ae-assets"

Image removed due to the lack of support for HTTPS. | Show Anyway

perfect!There was no problem.Thank you!
Do you speak Japanese !?Great.
I this year, launched the company.
And the United States advance in the near future.
It is a miracle when you are working together

Are there any rules in the name of a folder?

aep and image folders and json is Do I have the same hierarchy?

This is probably a bad assumption, but I have it coded to use the project name or composition name with an "-assets" suffix. I did this because my projects were using Photoshop. We use the "Generate | Image Assets" function in Photoshop. This makes a directory ending with "-assets".
My code in the Spine exporter does this:

if (this.numCompsSelected > 1) {
   return this.projName+"-assets/"+attachmentName;
} else {
   return this.activeComp+"-assets/"+attachmentName;
}

I should probably change this!

How do change, do you read all of the specified folder?
Please tell us if you know.

Image is not displayed even with a -assets to folder

Why this is I do not know what can be displayed
chara001_idle_ae-assets

Image does not appear when you run the script on your own

It had no effect I tried to this↓↓

ae_to_spine.jsx
1144〜

AE2JSON.prototype.makeSpineAttachmentNameStr = function(sourceName) {
if (sourceName == null) {
return null;
} else {
var attachmentName = sourceName.replace(/([.]+).*/,"$1");
attachmentName = attachmentName
.replace(/L[0-9]+$/,'')
.replace(/ /g,'
')
.replace(/.[A-Za-z.]+$/,'');
if (this.numCompsSelected > 1) {
return this.projName+"/"+attachmentName;
} else {
return this.activeComp+"/"+attachmentName;
}
}
}

You do not need to change the script code.
Just make sure the folder is named correctly. This is what my directory looks like:

ImagePath6.png
ImagePath6.jpg
ImagePath1.png
ImagePath2.png
ImagePath3.png
ImagePath4.png
ImagePath5.png
160608_chara001.aep
.DS_Store
b[/b]
Adobe After Effects Auto-Save
chara001_idle_ae-assets
chara001_idle_ae_spine.json
160608_chara001Report.txt

Thank you very much. solved!
thank you very much!