Thread View: adobe.document.graphics.server
4 messages
4 total messages
Started by Derrick_Jackson
Thu, 12 Aug 2004 13:16
Text Fill Color
Author: Derrick_Jackson
Date: Thu, 12 Aug 2004 13:16
Date: Thu, 12 Aug 2004 13:16
7 lines
848 bytes
848 bytes
Hi, I am trying to change the color of text in a layer using the following line of code: <set target="/psd/layer[@name='ButtonText']/textFlow/flow/p/span/@fill" value="#FFFFFF" /> But it seems to not work. Any ideas would be greatly appreciated.
Re: Text Fill Color
Author: Derrick_Jackson
Date: Thu, 12 Aug 2004 13:19
Date: Thu, 12 Aug 2004 13:19
1 lines
669 bytes
669 bytes
Subscribing to email discussion...
Re: Text Fill Color
Author: Bob_Emerson
Date: Thu, 12 Aug 2004 18:09
Date: Thu, 12 Aug 2004 18:09
5 lines
1067 bytes
1067 bytes
What error message are you getting? Have you done an imageInfo and save on the PSD you are trying to change and examined the XML structure? The structure of your PSD may not match the xPath in your set command. Other than an xPath problem, your code looks like it should work. Another possiblity is that your PSD was created with Photoshop CS. AGS is not fully compatible with Photoshop CS--especially when using the set command.
Re: Text Fill Color
Author: Derrick_Jackson
Date: Thu, 12 Aug 2004 18:12
Date: Thu, 12 Aug 2004 18:12
7 lines
937 bytes
937 bytes
Bob, I did do an imageInfo on the PSD. Per the XML file, the XPath is /psd/layer[@name='ButtonText']/textFlow/flow/p/spah/@fill. I did create the template I'm using in Photoshop CS. I'll try redoing the template in Photoshop 7.0 and see what happens. Thanks again for the help.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads