1 Layer 2 Fonts

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: xbytor, Kukurykus, Tom

mikedpe
Posts: 2
Joined: Thu Jun 11, 2020 9:10 am

1 Layer 2 Fonts

Post by mikedpe »

I am trying to write a script that uses 1 font for the first character (technical symbol) and then writes the rest of the text in a different font. I can currently write as 2 layers and use spaces to make it look like 1 layer

Code: Select all

		text_layer.textItem.font = fontName2;
		text_layer.textItem.contents =  " q ";
q being the symbol

and then I would want to do something like;

Code: Select all

	text_layer.textItem.font = fontName1;
		text_layer.textItem.contents =  " of all the fishes in the sea "
Help really appreciated

Mike

User avatar
txuku
Posts: 111
Joined: Thu Jan 01, 1970 12:00 am

Re: 1 Layer 2 Fonts

Post by txuku »

Bonjour

with two textLayers ? :)

mikedpe
Posts: 2
Joined: Thu Jun 11, 2020 9:10 am

Re: 1 Layer 2 Fonts

Post by mikedpe »

I already do it with 2 text layers, I want to do it within 1

Mike

User avatar
txuku
Posts: 111
Joined: Thu Jan 01, 1970 12:00 am

Re: 1 Layer 2 Fonts

Post by txuku »

OK ! :)