Change KerningMethod for all TextFrame?

Does anyone know how to change the KerningMethod value for a TextFrame in an Illustrator file?
I tried every possible way I can find without success.
I thought the code below would work but it didn't
//After getting the textFrame object...
Illustrator.CharacterStyle charStyle = textFrame.TextRange.CharacterStyles[1];
Illustrator.CharacterAttributes charAttr = charStyle.CharacterAttributes;
charAttr.KerningMethod = Illustrator.AiAutoKernType.aiOptical;
Note that I can change every other attributes like Size, Font, Text, ... but not KerningMethod. The file is just a simple file with one text frame.
Your help is appreciated.
T.

Given an open document containing a frame of text…
var doc = app.activeDocument;
var tF = doc.textFrames[0];
tF.textRange.characterAttributes.kerningMethod = AutoKernType.OPTICAL;

Similar Messages

  • How to change settings for all users?

    Hi All,
    In cPro we have User Settings button. On clicking that we get a Tabstrip where you will find "User" tab.
    my question is: How can we change the default settings for all users e.g setting the checkbox "Scheduling only manually" to true ?
    Best Regards,
    Arti.

    Hi Arti,
    In cProjects the authorizations can be managed either by authorization profile administration by system administrator for General authorizations or by Project specific authorizations for individual cProjects elements by Project owner.
    Try the first one and I hope you will get the solution.
    Regards,
    Nishit Jani
    Award points only if you find the information useful.

  • How to change preferences for all users in a Citrix enviroment

    Hello.
    I need change some preference settings for all users in my Citrix enviroment.
    I know change the preference settings for a user, of course, but a have 160 users and a need to change some settings configuration one time on the server for all users.
    The preferents I need change are: 'disable javascript' and 'don't show pdf in IE'
    Thanks.

    Hi Arti,
    In cProjects the authorizations can be managed either by authorization profile administration by system administrator for General authorizations or by Project specific authorizations for individual cProjects elements by Project owner.
    Try the first one and I hope you will get the solution.
    Regards,
    Nishit Jani
    Award points only if you find the information useful.

  • Attr changes runs for  all Infoobject in a process chain

    Hi,
    I have a process chain for the master data ( ATTR, TEXT and HIER),I want a Hierarchy/attribute change run like a last process in my chain and actives all the InfoObject and Hierarchy.
    How can I carry out the structural changes for all InfoObject in a process chain?
    Thanks!

    yes but it requests me a variant. then a layout "execute infopackage", then the attr change doesn´t have Object.
    I don´t know what I do?
    This process actives all my ATTR and HIER in my chain???
    Message was edited by: Victoria León

  • Unable to load embedded PDF - must change settings for all users

    Hello.  We recently updated to Adobe Reader X on our three terminal servers.  Since the update we have found that a lot of our users are having an issue loading PDF's that are embedded in web sites.
    They access different websites that have such features and the PDF must be displayed in the browswer for it to load correctly.  Anyways, I have properly found what settings to adjust in Adobe Reader, my issue is that I need these settings adjusted for all 50 something employees and I really don't want to log into each user account and change the settings.
    The settings that must be adjusted are as follows:
    Edit > Preferences > General > Uncheck Enable Protected Mode at Startup
    Edit > Preferences > Internet > Uncheck Display in Read Mode by Default
    Edit > Preferences > Internet > Uncheck Allow fast web view
    Edit > Preferences > Internet > Uncheck Allow speculative downloading in the background
    I have found the registry files for the Protected Mode startup and Display in Read Mode, but am unable to find the other two registry settings.  Does anyone have any idea where those might be?  Or if you have a better suggestion on how to deploy Adobe with these settings already configured?  I have looked in the Customization Tool but was unable to find all the settings there as well.  Thanks!

    Acrobat is not permitted to run as a server process.
    Licenses are assigned to individual users, each of whom must have their own serialized copy.

  • Howto change color for all elements

    I want to update the formatting for some existing Keynote presentations. Applying a new Theme does most of the work, but there are some things that are not updated to the new theme. For example: background color of certain text boxes -- and the color of actual bullets for bullet points.
    In the case of these presentations:
    - the background color of the textboxes is blue and I want them all to be transparent
    - the color of the bullets is blue and I want them all to be the default color/picture of the particular theme
    I realize this is because Keynote is "respecting" textbox formatting changes I have made in the original, but it would be nice if I could over-ride this "respect" somehow. It is easy to select all the text of a Keynote presentation and apply various ways to all the text. Is there a trick for selecting all textboxes (and changing the background color of them) -- or of specifying something to the effect of, "apply the following format to all the bullets in a presentation?

    Ok, in that file, you'll find a set of parameters that looks like this.
    sfa:r="1" sfa:g="0" sfa:b="0" sfa:a=".5"
    Those stand for the red, green, and blue of a color and the last one is the opacity. This particular combination would create a red object with 50 percent opacity. Still looking for which one of these controls the background of a text box.
    You know, it looks like if you go through the file searching for sf:fill and deleting that section, then that removes the fill. Once you find the right section, one find and replace would do it for you. It's one of those things that makes me wish I was handy enough with Automator and/or Applescript.
    Message was edited by: Kyn Drake

  • LIKE operator- change symbol for [all characters]

    I have an input parameter which contains symbols "*" (star symbol), example:
    i_search_par := 'country * street';
    I gonna do query:
    select * from SearchTable
    where col1 like i_search_par;
    I want that the "*" would act the same way as "%"-symbol in LIKE operator.
    So i want that query would return such results:
    'country 1 street'
    'country 200 street'
    and so on.
    What is the better way to achieve this, that "*" is going to be interpreted as a "any number of any symbols"?
    Maybe i can say something like:
    SET SESSION ANYCHAR SYMBOL = "*".
    And after doing that Oracle understands in LIKE operators that star-symbol is like i want?
    Or should i really do string replacement by replacing ""%" to "*" in "i_search_par" and in other 30 such varaibles?

    Hi,
    Sorry, I don't think there's any way to tell LIKE to use different wildcards.
    CharlesRoos wrote:
    I have ca 30 input parameters:
    i_search_par1 := 'country * street';
    i_search_par2 := 'country * street';
    i_search_par30 := 'country * street';Wouldn't it be just as easy to say:
    i_search_par1 := 'country % street';
    i_search_par2 := 'country % street';
    i_search_par30 := 'country % street';?
    >
    And i will use them all like this:
    select * from T
    where Col1 like i_search_par1
    and Col2 like i_search_par2
    and
    Col30 like i_search_par30You could write a very simple user-defined function. It would be slower, but the query would be a tiny bit simpler:
    select * from T
    where my_like (Col1, i_search_par1) = 1
    and   my_like (Col2, i_search_par2) = 1
    and   my_like (Col30, i_search_par30) = 1
    Then you suggest that i sgould do string replacement 30 times for each parameter?Do you mean 1 time for each parameter, or 30 times altogether? Yes.
    Isn't there better solution?
    Maybe database has instruction that changes interpetation of symbol "*" into "%".It would be handy, but I don't think such a thing exists.

  • Script to change language for all  style lables in one click

    Hello,
    We are a dutch pre press company and often we get (English or French or German) books that are translated into Dutch. And often the copublisher has created documents with 80+ stylelables. It is quite a pain to change all stylelables one by one into Dutch (for dictionary and correct hypenation). Quark has an option to save a document as multi language or singe language. With the last option the programme asks for the desired language and all stylelables are immediately changed to (in my case) Dutch. That works great. Maybe someone out there has a script to achive the same in Indesign (5 or 5.5?) Thanks in advance!
    kind regards
    Peter

    Hi Selva,
    I have been trying for a long time to change the paragraph composer of all paragraph styles in a document, say from Adobe Paragraph composer to Adobe single-line composer. Nothing goes. Do you know how I can do that? I work with the french version and the composers are named: Compositeur de paragraphe Adobe and Compositeur ligne simple Adobe. The following works for a paragraph style if i refer explicitely to its name. But then, I don't gain much. So I want to find a way to change ALL paragraph styles at once. Your help would be great.
    var myDoc = app.activeDocument;
    var myPstyle = myDoc.paragraphStyles.item("Indents");
    myPstyle.composer = "Compositeur ligne simple Adobe";
    Thanks in advance.
    Diane

  • How to change service for all members

    Hello,
    We setup our cluster with member1 and member2 as follows.
    backup-count = 1 on cluster configuration.
    service-name = CACHE-TEST-A, which is stored in Member1
    the backup of CACHE-TEST-A is stored in Member2
    Now we change the service name CACHE-TEST-A to CACHE-TEST-B.
    The question under consideration is how to change CACHE-TEST-A to
    CACHE-TEST-B in both members.
    Test steps:
    1 Turn off the service, execute the following code:
    CacheFactory.getCluster (). Shutdown ();
    CacheFactory.getCluster (). Stop ();
    2 Modify the configuration file, the CACHE-TEST-A modified CACHE-TEST-B
    3 Restart the service, execute the following code:
    DefaultCacheServer cacheServer = new DefaultCacheServer (new DefaultConfigurableCacheFactory ());
    cacheServer.start ();
    Result:
    Service started, but the configuration file is not loaded,
    it seems that the system is still configured with CACHE-TEST-A.

    We are going to achieve as below.
    Requirements:
    In the existing cluster nodes without adding a new premise, deploy new business class package (based on CacheStore the jar), also updating some of the Cache service scheme of the configuration.
    Solution:
    We use the above coding part (using a custom Jmx and DefaultCacheServer to stop and start nodes) to achieve the requirement, but do not know whether any other better solution for this.

  • Where can I see change documents for all changes to WBS elements

    I have set up config via OPSA for both Basic Data and Status Management change documents to be allowed for nominated project profiles.  I have then created a new project with the required project profile and whilst I can see the history for status  management / user status.  I am unable to see changes for other field information.
    Is there a way to be able to see who changes the data like (wbs description, person responsible /applicant, profit centres etc)?
    I have checked table JCDS and that only appears to give me status management.
    Thanks
    Trish

    Try transaction CJCD or CN60
    Abraham

  • Change View for All Playlists

    I now have all my playlists in the "List" view. How do I switch them all at once to the 'Grid' view?

    There's no FAST way I know of, which is what I think you mean.
    Only the painful SLOW way of one-by-one.
    You could make a new playlist from the main library after you've set the columns up as you like.
    Go to an existing playlist that doesn't have the columns you want, and select all.
    RIght-click > Add to Playlist and send them to the new playlist.
    That's still one-by-one and only works with static playlists, not smart ones.

  • Changing view permanently for all playlists

    Howdy!
    I'm going to ask this question again:
    How do I
    1. change the order of columns and the selection of columns in the playlist view;
    2. make the changes permanent
    3. have the changes include column resizing; and,
    4. make the changes effective for all playlists but only do it once?
    I don't need to see some columns and want to see others, and I want to see the same columns each time I open a playlist -- any playlist -- and I don't want to be continually fiddling with the column headers and sizes.
    Surely I can do that. I mean, this is an Apple product, right?

    Hello,
    AFAIK, 4. cannot be done, but the first three should happen automatically.
    Whatever you do to a playlist is supposed to stay that way.
    To reorder columns, just drag and drop, to select which columns you see, right-click the column bar and select.
    Hope this helps.

  • How to change application action for all Firefox users?

    Hi,
    Is there any way I can change application action for all FF users. I am using Firefox admin 0.5.9.3 and deploy FF 3.6 through GP.
    Thanks

    You can change the system colors based on the system you are logging on to.  We have many users here doing that. (Red for prod, Green for Dev, etc)  You cannot use the Sap signature Design theme as it does not allow color changing.  I explained this in another post and how to change it.
    Re: Set Color for several system with sap gui 7.20
    To answer your question on how to change this for ALL users... That I cannot answer as our user base differs and they change it as they wish.  Hope this helps.
    Regards,
    Zecher

  • Changes like password and removal of roles for all users

    Hi
    i want to change password for all users and remove single roles from all users.When i am doing this in SU10 changes are not reflecting for users.Please help reg this
    Vinod

    Me too...I have never been able to remove roles from multiple users with SU10.  I don't know if it's a bug or (more likely) just a confusing screen, but in 4.7 it never worked for me.

  • Change icon for file type

    how to change icon for all of the tile type? not just one, but all!

    Changing the file icon will not enable Quicktime to play Matroska files. Changing the file suffix might.
    It could be a 'difficult' form of Matroska file. FYI Matroska is just a container like MOV or AVI, and some mkv have the video encoded with Real Video Codec (RV9 RV10). Perian+QT can't decode this, but VLC will play .mkv files just fine on OS X, as long as they don't use H.264!
    It's a bit of a lottery until Matroska decide to support the Apple platform. I have found this:
    http://mkv4mac.free.fr/index.php?lang=en&p=lec
    which may help.
    But there may be another workaround: 1. Get Info the mkv file
    2. Change to extension to wmv. Save as wmv and that could work better.
    Or this link may be helpful:
    http://www.squidoo.com/mkv-converter-mac
    Recently, a poster (ZachP14) suggested this:
    "There's a program called Plex that runs .mkv files awesome on my 2.0 ghz macbook."
    http://www.plexapp.com/
    Maybe worth a try?
    More information here:
    ttp://en.wikipedia.org/wiki/Matroska

Maybe you are looking for