Access all different attributes of a text layer in PS via extension

Is it possible to grab all the different color, fontsize, fontname, ... attributes that make up the text in a text layer. In my tests it looks like each text layer had 1 textitem with just 1 set of attributes for color, size, font, .. There did not seem to be a way to find out everything about what makes up the text layer from within a PS extension. Is this possible?
Thanks

Worked it out, it should be
    $.writeln("Text item ",item.textRange.characterAttributes.size);
Bit long winded but got there

Similar Messages

  • My mac keeps highlighting different boxes all the time and a text box has appeared on the screen that says what box is highlighted if the sound is turned up when you press a key or click on a box you are informed of the action any ideas what i can do?

    Hi my Mac keeps highlighting different action boxes (on its own) all the time a strange text box has appeared on the screen that informs you if you press a key or click on a item. if the sound is turned up you are informed when a item is highlighted or a you click on a item HELP!

    Hi Thanks for your help fixed the problem
    Kind Regards
    Nannedee

  • Add text layer to all files in folder: what about files that already are searchable?

    Hi everyone
    I'd like to make my scanned PDF documents searchable using the OCR feature of Adobe Acrobat X Standard. The scanned PDF files are stored in one folder (or its subfolders respectively). In principle I could just go to the OCR feature, tell it to add that folder to the OCR conversion list and replace all PDF files in it with searchable versions.
    Some of the files in the folder, however, already are searchable because they were created from Word files for instance. My question is: What will Acrobat's OCR feature do with these files that already are searchable? Will it leave them unchangend? Or will it create new files and replace their existing "text layer" with a new text layer?
    One of the reasons for my question is, that the existing "text layer" is free of recognition errors by definition (because it has been added by Word's conversion feature). This means, a new text layer added by Acrobat's OCR feature can only be equal or inferior in quality compared to the existing one. In the latter case, it wouldn't make sense to replace the existing "text layer".
    A second reason is that some of the already searchable files have security properties (i. e. signatures). What is going to happen to them when the OCR feature creates a new file?
    Thank you for your answers!

    The usual thing is that Acrobat will object, saying the file contains "renderable text", and do nothing.
    OCR on a file with signatures will, at best, invalidate the signature. More likely, all trace of the signature will be deleted, and it will attempt to do OCR on the visual appearance, finally leaving a graphic. OCR is  not really intended as a late-stage process.

  • How can my wife access all of our itunes music if she signs up for iTunes match, but her apple id is different than mine?

    How can my wife access all of our iTunes music, even if she subscribes to iTunes Match, if her Apple ID is different than mine?

    I do subscribe to iTunes Match.....and the music i am referring to is all of our downloaded albums and songs that are currently in iTunes and in the "cloud" on my iPhone and my iPad.
    So if she uses my Apple ID for her iPhone, she can sign up for iTunes Match on my account?  Will any of my apps then transfer to her phone?  Or just the iTunes "data"?

  • I am unable to access all the different Movie Themes in Elements.

    I have Premiere Elements 10. I do not have Photoshop.com Plus Membership. I am trying to make an Instant Movie, but not all the movie themes are availble to me since I do not have Plus Membership. How can I access all the different Instant Movie Themes? Is there something I need to purchase?

    Well, there are three groups of Instant Movie Themes.
    The first is a very limited subset, installed with the program. I do not know the count, but I would expect maybe 1 - 3.
    Then, there is a additional subset, which is much larger, and installed with the Additional Functional Content, which contains DVD/BD Menus, Titles, etc. (in addition to the few installed with the program). This is where the bulk of the Themes, etc. are. It depends on whether one installed from physical media, or from a download file. With the physical, it is a separate installation, done after the program has been installed, and on a separate disc, in most cases. With a download, it is a separate download file. Did you install from physical media, or a download.
    Last, with a Photoshop.com Plus membership, from time to time, Adobe made a very few extra Themes available for download, but not that many, and a lot of subscribers were dissatisfied with that extra content. Though I have never seen the Plus material, it seemed that Adobe would offer maybe one holiday-oriented Theme per Season, i.e. a Halloween Theme in October, etc.
    Please let us know a bit more,
    Hunt

  • Replacing a text layer in many different psd files

    I have 100 psd files with the same text layer information "Happy Birthday 2010". Next year I will be replacing the same information with "Happy Birthday 2011" Is there a way to do this automatically in Photoshop cs5? If so how?

    Only with scripting and that is best asked in teh respectivce sub-forum. in the long run you may have better luck creating such documents in programs liek InDesign that can cross-reference documents with editable text...
    Mylenium

  • I have an iPad 2 screen has gone blank, I've reset via iTunes now screen is still blank but flashes white and you can see the hello, hallo in all different languages, but can't access anything???I

    I Have an iPad 2 the screen has gone blank, I have held both home and off button but nothing working the screens still blank. I have also reset my iPad via iTunes but now the screen is blank but it's flashes white and you can vaguely see hello, hallo in all different languages. Can anyone please help?

    Is it fully charged?
    The computer usb port will not charge it.  Plug it into an outlet with the charger that came with it for a few hours & try again.

  • Installing 9i DB , Accessing all othre DB from different through Client

    I just want to clear my concepts,
    Oracle client is installed on my computer & accessing all DBs through it , But i am installing RDBMS 9i on my computer just for testing?
    This new RDBMS has its own OEM?
    Will there be any effect on client & RDBMS?

    I Want to keep RDBMS separate just for testing,
    Ok here is problem, i installed RDBMS, create test db on local machine but cannot access db with the errore failed to parse tnsname,
    How i can connect this newly created db with my newly installed RDBMS ?
    I dont want to effect client also.

  • Why does FCP X crash when I apply a text layer?

    I just bought FCP X and was very happy with everything until I tried to add a text layer to the timeline.  The software tried to access the text attributes and crashed.  I re-opened the software and clicked on the text layer to delete it and FCP crashed.  The only solution was to delete the project, I am glad that I was not working on something important and tried to add this text layer.  The next day I went to the coffee shop and suddenly it worked...I was thrilled.  I thought that the external drives at my home might have been the problem since none are plugged in at the coffee shop. Did some more tests back at the house and it crashed. Today it back to the same status of crashing. 
    Has this happened to anyone else? 
    My work around for this problem is to build the title in Motion 5 and then import the quicktime with alpha to FCP event/project and then apply it to the video in the timeline of FCP.  Not very efficient.
    Running the software on a MacBook Pro late 2009, 2.66 GHz Intel Core 2 Duo,  Memory  4 GB 1067 MHz DDR3, NVIDIA GeForce 9400M 256 MB

    I am using 10.1.3 and finding it very unstable. I've taken some time to work with it a little while before I responded to your posted response. After updating projects and files, I did manage to share the master file. I am still finding random crashes that get to a point where I cannot launch FCP X until I restart the computer. It seems to crash consistently when trying to share DVD. The previous version did not have all these issues. I really wish I finished my current project before trying to update FCP X.
    Other info regarding my current system: MacBook Pro 2.4 GHz Intel Core 2 Duo, 4Gb memory. I am running OS X 10.9.5.
    Thanks,
    Mary

  • Expanding Text Layer Size

    It has been a while since I have asked a question so bare with me as I have been taking a break from AE development for a while
    Below are two images that show the standard blur effect in After Effects
    Notice how the blur effect is going outside the boundries of the layer the effect is being applied to (text layer).  My starting question is how this type of functionality can be achieved in a SmartFX plugin.  I have been messing with the max_result_rect, etc in the PreRender call trying to expand the area I am working with but have not been having much luck.  So before sinking too much more time into this I figured I would pose the question in case one of the other developers on here have looked into this before
    Thank you in advance!

    I did a pretty horrible job explaining the situation ... I will say I was on too little sleep as always so let me try this one again with much more detail
    What I am trying to accomplish is to perform a blur effect.  I have the blur working well enough (i think) but where I am getting caught up on is trying to get the blur effect to extend beyond the the edge of the layer it is applied onto when that layer is smaller than the composition size.  I had noticed that the blur effect built into AE was showing the behavior above, which is appearing to extend the effect beyond the size of the text layer. 
    From looking at the sample projects it seems like the most similair one would be the "Resizer" project, however I am writing a SmartFX (32bit) plugin so I do not have access to the FrameSetup which is where they are modifying the size of the output buffer from what I can tell. 
    I have attempted to alter the output->result_rect as well as the output->max_result_rect in the PreRender call but am pretty sure what I am trying to accomplish is not the desired way as I end up getting an error when trying to move the layer around the composition having to do with exceeding the max_result_rect.
    Now, my math is doing some fun stuff under the hood like creating temporary AEWorlds and copying to/from these worlds to perform the plugins functionality before finally copying the final result back to the output world.
    My composition has the following size:
    Height: 720px
    Width: 405px
    My text layer is:
    Height: 214px
    Width: 177px
    My input world on Render is showing the following sizes:
    Height: 214px
    Width: 177px
    My output world on Render is showing the following sizes:
    Height: 214px
    Width: 177px
    As a side note, you asked about the extent ... my extent_hint is reading as the following for both the input and output world
    { left=0  top=0  right=177  bottom = 214 }
    While it is reading as the text layer size on the input_world and output_world I can retrieve the original comp size from the in_data object which does show:
    Height: 720px
    Width: 405px
    The plugin is being directly applied to the text layer and is producing the following output:
    What I would like for it to be emulating is the AE gausian blur plugin effect like (which is exceeding the red rectangle of it's layers size from what I can tell):
    This all might still be kind of vague and if it is I appologize, I will keep trying to reword things until I can get my question across ... at it's core I am not sure how to extend the output buffer of the woutput world on a SmartFX plugin I think?
    As a side note, I am working against the CS5 AE SDK
    Thank you in advance for reading through my post and with any luck we can start narrowing down the wording of the issue I am having as sometimes I am not sure of the proper way to describe things it seems

  • How to import a text layer on multi-page document?

    Hi All,
    I have a slight problem and was wondering if there is a quicker solution?
    I'm working with acrobatproX
    I have been sent two pdf's form different sources. The first document is a 4c layer and the second is a translated text layer and
    I need to combine the two to check that the text is setup correctly and doesn't over run any images.
    I understand that I could import each text layer to a single page of the 4c but as it is a 256 page book?
    Is there a quicker solution than the one page at a time method?
    Many Thanks

    In PSE, to draw an empty circle use the elliptical marquee tool and hold down shift while you drag to constrain it to a circle. That will give you an empty selection, then go to Edit>Stroke (outline) selection. A window appears where you can choose the width and color of the stroke.
    However, I'm not understanding why you would want to create your business card in PSE rather than in Pages or equivalent. Is there a special reason for this?
    EDIT As for the text file, it would be simpler just to retype it in PSE, since it can't be very much text. Remember that PSE doesn't do all the fancy things with text that Pages can, although it can do some things (like warping) that Pages can't.
    You could activate the text tool and use copy/paste, but you'll lose most of the formatting.

  • Text Problem - 'Editing or Rendering the text layer will cause the layout to change'

    Hello all,
    The problem I'm having is that when I try to edit a text layer, the layout of the layer changes completely - I have a grey warning triangle in the affected layer thumbnail that states the following message when I hover over it :
    'Font is present on system but requires a layout change'
    When I double click to edit the text layer, the following warning dialog pops up:
    'Editing or Rendering the text layer will cause the layout to change'
    I'm forced to click 'okay' to proceed which is when the layout of the text layer changes completely! Obviously this has massive implications for branding and page consitency!!
    Now even if I have to do this the long way round, which means rebuilding each individual text layer for every single document, there is another problem, it appears that after I click 'OK' photoshop distorts the text! This means that I can't increase or decrease the font size to match it up! Same font, Same height, same AA, same weight, different circle radius!
    Any help is massively appreciated,
    I'm using CS5 64bit Cloud edition on Windows 7, I've already tried updating and reinstalling Photoshop but it doesnt remedy the problem, I've reinstalled a sample batch of the fonts affected and deleted any plugins
    GULP!

    That warning is pretty clear - you don't appear to have the font on your system. Not sure what otehr answer you are looking for. The layout changes beyond that could be indicative of a million things like the original source layers having been heavily customized with manual kerning, used a different version of a seemingly similar font, have been created with glyph substitution on a system with a different language and whatever... Unless you mean you created the files yourself just yesterday and the warning appears despite nothing have changed, everything works as intended. If you think something is up, you need to provide more info.
    Mylenium

  • Need help subscripting in a text layer

    Hi.  I need some help getting the Java Script right for subscripting in a text layer.
    Specifically, I need to access the text in layers named "Formula1" "Formula2" thru "Formula6", find each number in the text and subscript it.
    I actually want to set the baseline for that character to -3
    I usually write code in VBA, and JavaScript is winning the battle!  I need Java so I can share it with someone on a mac. 
    Ideas?  Help?  I'll take em!  Thanks!

    As others have said, to change the format of just some of the chars in a textItem can only be done with Action Manager. On Windows you can use javascript or VB. On Mac you can only use javascript.
    A textItem's descriptor has 10 keys. The one controls that kind of char formatting is stored in the 'textStyleRange' key. That one descriptor has 69 keys that store the formatting for that range. There may be several ranges.. Some of the keys in 'textStyleRange'  are also descriptors that have their own keys. To avoid unwanted changes to the existing formatting you need to read all those keys, change only the 'baselineShift' key in the 'textStyleRange' descriptor, then write all the settings back to the textItem's descriptor.
    It may be that it is possible to do this kind of format editing with a script but it would take a lot of work and many, many line of code. It also would take a good understanding of how Action Manager works with it's actionDescriptors, actionReferences, actionLists, and their methods and properties.
    It has been a good while since I looked at Xbytor's script, but when I last looked it only supports limited formatting and overwrites existing formatting it doesn't support with default text formatting. If your text doesn't have any special formatting his script would be the best way to go.
    If your text does have formatting unsported by X's script you will either need to expand his script or create your own. Unless this kind of text editing is something that you need to do very often it may not be worth the effort.

  • Apply Different effects to different parts of same text?

    I have a text logo, which I want to keep intact (there's kerning) so it's all in one text box.
    Let's say:
    HelloNiceWeather
    Could I apply different effects to different parts of the text? (for example I have 'hello' slide up from the bottom of the screen and 'nice' from the top?)
    thanks! It's appreciated

    You can use text Animators to effect specific characters within a text layer, defined by the "Range" parameters of the Animator.  This includes functions like moves, colour fill and stroke, rotation, blur, and many more.  So, in your example, you can apply an Animator to the character range "Nice", program your horizontal move, then apply a new Animator to the character range "Hello", and move them in a different way.
    Read more about Animators in the Help documents here.
    To apply plugin effects (like Lens Blur or Bezier Warp, for example) you would probably need to duplicate your text layer, mask out the unwanted characters, and apply the effect - depending on what you were trying to achieve.

  • Access the oparational attribute 'entryUUID' of an ldap entry

    How can I access the oparational attribute 'entryUUID' of an ldap entry? Does someone have a sample code fragment?

    Attributes attribs = initLdapCtx.getAttributes(fullName, new String[]{"+"});
    This is for OpenLDAP only, because it's the only server I know which supports "+" meaning "all Attributes".
    For other Servers you might need to specify the entryUUID Attibute explicitly in the String Array. But be aware that this Attribute might have different Names on different Servers.
    Cheers,
    Peter

Maybe you are looking for