Cannot set the kerning value

Hello guys,.

I'm on a script that updates the value of the kerning between characters in a textframe.

The following does not work (it gives me error - "the property is not applicable to the current state")

newTextFrame.words [0] .insertionPoints [f] .kerningValue = 10;

However, I don't get error when you use the property kerningValue of characters: -.

newTextFrame.characters [f] .kerningValue = 10;

On alert, it is even send me the '10', as defined in advance, but on my indesign document, kerning all values of the remains (0)

Does anyone have an idea on how to fix this?

Thanking you in advance

What happens if you do this:

newTextFrame.words.everyItem (). insertionPoints.everyItem () .kerningValue = 10;

What version of InDesign are you using?

Tags: InDesign

Similar Questions

  • Cannot set the default value for the selection list

    I created a list of selection, the 'value list', and it's like this:
    STATIC:Morning;M,Noon;N,Evening;E
    I want that he selects 'Morning' by default. But when the page is displayed, it sorts actually three items in alphabetical order, so "night" is still the default.

    Someone knows how to change that? Thank you!

    Specify am ' in the default value of the edit page of the item field.

    CITY

  • Cannot set the default value to all files video VLC media player.

    Windows media player and others fail microsoft products support the vlc media player file extension ".mkv" plays however each video I ever want to watch and I have NEVER downloaded a codec package. It is a FAR superior program and way easier to use.  the question I have is that when I try to set it on the media player by default it will not accept as a program.  I can browse programs open my .mkv film, find vlc and click on it to use it to open my file and nothing happens. the only way I am able to make this film to play is to open vlc media player and select media play in the drop-down menu inside the vlc player.

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-default-programs-using-set-program-access-and-computer-defaults

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-which-programs-Windows-uses-by-default

    Have you read the above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    How to set file Associations:

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    How do I... Change file extension associations in Windows Vista?

    See you soon.

    Mick Murphy - Microsoft partner

  • Cannot set the configured property "/ Initial.initialServices".

    Hi all

    I'm getting following error.

    05:21:52, 006 INFO [STDOUT] cannot set the configured property "/ Initial.initialServices" atg.nucleus.ConfigurationException: could not resolve the component/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet

    05:21:52, 013 INFO [STDOUT] * error

    05:21:52, 064 INFO [STDOUT] cannot set the configured property "/ Initial.initialServices" atg.nucleus.ConfigurationException: could not resolve the component/com/progiweb/fbconnect/pipeline/FacebookProfileRequestServlet

    I checked the path of configuration of two components and the structure of the servlet is as below.

    src/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.java and src/com/progiweb/fbconnect/pipeline/FacebookProfileRequestServlet.java.java

    For properties files I created them under the path - config/atg/dynamo/servlet/dafpipeline / config/atg/dynamo/servlet/pipeline

    Inside of these I keep the files FacebookAuthStatusServlet.properties and FacebookProfileRequestServlet.properties

    The Initial.properties is as below - config/atg/dynamo/servlet/Initial.properties

    The content of Initial.properties is-

    & initialServices =.

    / ATG/Dynamo/servlet/dafpipeline/FacebookAuthStatusServlet,.

    / ATG/Dynamo/servlet/dafpipeline/FacebookProfileRequestServlet


    Should I have to keep the two pipelines-dafpipeline and pipeline or one of them?

    And my pipeline structure is correct or not?

    How to solve the error above?

    Please help on this!

    Kind regards

    Prateek

    You seem to be confusing core components and classes Java.  They are completely different.  The error message that you get "Unable to resolve component", says that the kernel is unable to find a file of specific properties anywhere in the directories named in your configpath trees.  To be precise, there is no file named /com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.properties in your config directory.  If I read correctly this conversation, it is because the file with this name is a .java file, not a .properties file.  The two most likely causes of your problem are:

    1. you have a file of properties somewhere that mentions/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet as the value of something else than $class.  $class is a special case whose value is sought by a Java ClassLoader in the classpath.  Values of the other properties are interpreted as references to the component, and looked up from core in the configpath.

    2. in the directory tree that contains the /com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.properties isn't in the configpath.  ATG displays the complete configpath during startup.  If your directory is missing, you have may have specified correct information in the entrance of the ATG-Config-path in your module MANIFEST. MF file.

  • Satellite M100: Cannot set the resolution 1368 x 768 on external LCD screen

    Satellite M100-179
    Graphics - ATI x 1400 card.
    Cannot set the resolution 1368 x 768 on connected usung Sub - D LCD TV Samsung 32R72
    There is no resolution 1368 x 768 in the available resolution list.

    The graphics card hardware support different screen resolutions, but if the driver doesn't contain this resolution of the screen so that you cannot choose it.
    I think so you re not able to choose this special resolution on the external display.

    In my opinion it has nothing to do with the graphics card or with the screen, but only with the graphics driver.

  • Cannot set the default mail Client

    All,

    I have Office for Mac 2016 installed on my Mac Mini. When I go in the Mail from Mac client to set the default value for Outlook he selects fine, but then when I exit the application and go back inside, he returned back to Mac Mail?

    Assistance to get this resolved would be greatly appreciated!

    I'm under El Capitan 10.11.2 - the latest updates everything up ;-)

    Although the problem is not the same, please follow the instructions in this article to support to reset the launch Services database. Instead of typing the shell command in the article, I suggest that you copy and paste the web page in the Terminal window. Make sure you only select the entire line. One way to do that is triple - click anywhere in the line.

    If you do not already have a current backup, back up all data before proceeding. You should perhaps log out or restart to see a change.

  • Cannot set the time zone of Moscow winter + 3 hours.

    Cannot set the time zone of Moscow winter + 3 hours.
    Set the time zone Minsk 3 after the GPS clock moves forward 1 hour, timezone is set back from Moscow + 4.
    It is an error of your software when you are ready to address this issue.

    Automatic deactivation date & time(Settings>Date&Time...)

  • How to set the minimum value of a graphic waveform window?

    I have a graphics property of waveform "minimum value", but the graph is not take the value that I gave him. He tends to zero, as well as the first two sliders that I put on the graph. The maximum value "will be" no problem, just like the second slider value. Everyone knows about this problem? Here's a screenshot...

    Is there a reason why my chart does not have what I have to say?

    Thank you

    Sometimes you may have problems if the new minimum is higher than the maximum of old.  Try to write at least again in another node in property after you set the maximum value

    Without seeing your VI and some parameters of the example, (old max and min) new max and min, it is otherwise difficult to say.

  • Cannot set the restore point with the error "The Volume Shadow Copy service used by the system restore does not work."

    Cannot set the restore point with the error "The Volume Shadow Copy service used by the system restore does not work."  How can this be repaired?

    Hi rebick,.

    Try the troubleshooting steps presented by spirit X in this thread.

    Dena
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • BIOS HP Compaq Elite (i5-2400 CPU) 8280 cannot set the VT option

    BIOS HP Compaq Elite (i5-2400 CPU) 8280 cannot set the VT option

    found in the security system] [, thanks]

  • < af:valueChangeListener > sets the new value back to the old value

    Hi people,

    I'm trying to implement a search bar with < af:inputText > and < af:selectOneListbox >.

    When the user selects an item in the listbox control, the inputText will be updated. After hitting the "ENTER" key, the search action will be taken.

    The valueChangeListener will be called when the selection of items in the listbox.

    The problem can be described by the following two cases:

    (1) the user types something in the inputText box and hitting 'ENTER' key for a search. The valueChangeListener is called and sets the value of the string user typed.

    (2) the user selects something in the list box, each time changes the selection in the listbox control, the valueChangeListener will be called. But when the user presses the "ENTER" key, the valueChangeListener is still called, and it sets the return value to the old value. For example, the list has 'a ', ' b', 'c '. The user selects 'a', then 'b '. After hitting the "ENTER" key, the value in the inputText is replaced with "a".

    The code is as follows:

    Code in .jspx:

    < af:inputText value = "#{pageFlowScope.word} '"

    autoSubmit = 'true' immediate = "true".

    valueChangeListener = "#{pageFlowScope.update}" / >

    < af:selectOneListbox valuePassThru = "true" >

    < f: selectItems value = "#{pageFlowScope.items}" / >

    < / af:selectOneListbox >

    Bean managed code:

    publicvoid update (ValueChangeEvent event) {}

    This.Word = event.getNewValue (m:System.NET.SocketAddress.ToString ());

    }

    I don't know how the valueChangeListener behaves like that.

    Could someone provide me with clues or tips?

    Thank you

    Carl

    Carl, tell us your version of jdev, please!

    There is something wrong in your implementation. I do not see an inputText field who's value stored in a variable pageflowscope "word". This field has an attached valuechangelistener which is obsolete, because the field already stores its value in the variable pageflowscope. The same that you are trying to do in the valuechangelistener. So I don't see a selectonelistbox which does not store the value selected anywhere because it doesn't have the value property for it. There isn't an attached valuechangelistener so I wonder how your valuechangelistener is called at all when you change the selectoneListBox.

    Timo

  • ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.

    Hi all

    I tried provide access to filter the group in both SSP and thru Maxl command but still get the error below. Any experience of this problem? If Yes, please let me know how you solved this problem.


    ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.


    Thanks in advance!

    Krishna

    Read the support document that I posted the link, prior to changes for openldap ensure you that it is saved.

  • Extension of EO or CO to set the default values?

    Hi all!

    I spread an EO, ExtBankAccountsEOImpl, which contains the bank details of a provider.

    When I create a new retail bank, I want to set the default value of some fields (for example the currency)

    According to the nationality of the supplier (all fields are null by default oracle). See below.

    bank_det.PNG

    Is this possible with EOs? Can the EO extended somehow get their hands on the party_id?

    Or do I have to extend the CO instead?

    Best regards

    Christian

    Christian,

    Thus, your EO extension works very well, no?

    You need to check the standard code (controller and methods of AM which is called by the CO) and see if the party_id is stored as part of the operation or not. If so, you should be able to get the values in extended OS.

    If this isn't the case, you must extend the CO.

    Note: Changes made by extension EO EO will affect all pages using the OS, if any other page exists.

    I hope this helps.

    See you soon

    AJ

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Concerning

    For the date, you can use groovy expression adf.currentDate to set the current date. reference http://adfgouravtkiet.blogspot.in/2012/11/how-to-set-default-values-for-entity.html

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • How to set the initial value programmatically in af:selectOneChoice

    Hi all

    How to set the initial value programmatically in af:selectOneChoice

    filled with view object instance, but I want to show the value initial programmactically

    This can help you: Re: how to set the default value of the component selectOneChoice in ADF

    and the default af:selectOneChoice programmatically from backing bean

Maybe you are looking for

  • WindowsUpdate_80200010 ".

    I got error "WindowsUpdate_80200010" when I installed my updates, what is and how to fix it? Thank you

  • HP Pavilion 15: bios password lock

    Hello is could someone please help me access my bios as I do not know the password. Lock code is 67976899 Thank you

  • [EC |] SOLVED] fan edge power 2900 server

    Buongiorno,Come da telefonata del mio collega Guido Lucchi, con the present chiedo Vostra best offer by price di n. 2 di una delle ventole6 'System Board Fan' di questo modello:Model PowerEdge 2900Service Tag 8G5693JExpress Service Code 18390407311 S

  • HP Officejet Pro 8000 A809 will not connect wo USB port

    I have a WiFi with a SSID wireless but I would like to change to a different SSID.  This requires a USB connection and my wii printer not connect to my computer with the USB cable.  I tried several cables and different USB ports,

  • ASA firewall and Nat

    Hi to everyone. I have a firewall asa with the external interface pointing to a router on the subnet 192.168.1.0 And the inside of the 192.168.0.0 subnet interface I want to know if is required to configure the Nat object between the two interface or