-
1. Re: Internal error creating CSS: undefined is not an object at script line 947
JJMack Jul 12, 2017 12:38 PM (in response to karpiyon)What actual steps did you use. That message states that some Photoshop Script failed in line 947.... What version of Photoshop doo you use. What OS?
-
2. Re: Internal error creating CSS: undefined is not an object at script line 947
karpiyon Jul 12, 2017 12:41 PM (in response to JJMack)right click and select copy css.
i can copy css in the same manner for other element and when i delete teh drop shadow i can copy the css (not hide, delete it)
-
3. Re: Internal error creating CSS: undefined is not an object at script line 947
JJMack Jul 12, 2017 1:09 PM (in response to karpiyon)Scripts fail when something it depends one does not currently exists.. I do not use generator or develop for the web and know little to nothing about HTML CSS. The Script statement that failed use a variable that did not get set during its processing so it is not set, not defined, it is undefined. All I can do is show you the Area of code that failed. Perhaps with your knowledge about CSS, your document and with the comments in the code you may see something it is trying to use that is not in your document structure.
-
4. Re: Internal error creating CSS: undefined is not an object at script line 947
karpiyon Jul 12, 2017 1:12 PM (in response to JJMack)Thank you but this does not shed any light on the issue.
I think it's a but as i saw a similar problem reported already.
-
5. Re: Internal error creating CSS: undefined is not an object at script line 947
JJMack Jul 12, 2017 1:19 PM (in response to karpiyon)Are you sure your document has all that is needed for some color stops in you fonts text? The script seem to be looping through a list of color stops whatever that is in CSS...
-
6. Re: Internal error creating CSS: undefined is not an object at script line 947
karpiyon Jul 12, 2017 9:19 PM (in response to JJMack)i don't think it's the css problem.
The same command works on other layers and I, the user, need not case about the actual color he uses.
It does work when i "extract" it in Dreamweaver though,
-
7. Re: Internal error creating CSS: undefined is not an object at script line 947
JJMack Jul 13, 2017 5:20 AM (in response to karpiyon)The command is an Photoshop Script and the Active layer is processed by the Script. So you are writting the script works with some layer and it fails with other layers. I have no knowledge of CSS web development or what is required in layers for creating CSS files. It can be a logic error in the script it may be a bug with what I know I can not state that it is or not a bug.
-
8. Re: Internal error creating CSS: undefined is not an object at script line 947
karpiyon Jul 13, 2017 9:51 PM (in response to karpiyon)it's definitely a bug...
I tried with a different doc and whenever i add a gradient overlay to a shape and try to copy the CSS i get this error.
Can someone from DW team look into this?
-
9. Re: Internal error creating CSS: undefined is not an object at script line 947
JJMack Jul 14, 2017 3:45 AM (in response to karpiyon)You are not dealing with Adobe here. This is a User forum the is funded by Adobe. For users to help each other using Adobe products. This one for Photoshop. It seems you are using Photoshop and DW. The may be a Bug or limitation in Photoshop. So you want the Bug fixed or a new feature in Photoshop. You should use Adobe feedback site to report Bugs and feature request. Photoshop Family Customer Community