Setting PS5 Fonts with a VBScript

Just getting started with scripting.  Wrote a small VBScript to place a photo's file name as a caption, but cannot set the desired font. The caption's position and wording appear, but it's always in the current PS5 default font, and no error message appears.
Guessing that I'm not referencing a correct object/property/method, but don't see the problem.  Script is not available just now, or I'd include - will post again with the script if that's what's needed for some assistance.  Thanks!

Thanks for your feedback.
I prepared a stand-alone version of the script which doesn't require including files from the JSON Action Manager library: Get-Font-PostScript-Name-SA.js.zip
Once unzipped, move the script to Presets>Scripts inside your Photoshop CS5 folder; after (re)starting the application, the script should be available from the File>Automate menu, and display an interactive dialog (from which you can copy the PostScript name of the selected font from the text field):
Please let me know if you have any problem...

Similar Messages

  • How can i set my fonts to keep webpages viewable they keep changing size?

    i set my fonts with tools. but when i go to webpages it will show very small.
    How can i keep my webpages set to a certain size font to make it viewable?

    You may need to disable the hardware acceleration if you have a problem with font display.
    Tools > Options > Advanced > General > Browsing: [ ] "Use hardware acceleration when available"
    You can increase the String pref <b>layout.css.devPixelsPerPx</b> from 1.0 to 2.0 in 0.1 steps to see what works best.<br />
    In current Firefox versions this pref is a String value parsed to a float and allows to fine tune the dimensions of all elements (user interface and web pages) more precisely.
    See http://kb.mozillazine.org/about%3Aconfig

  • How do you define which character set gets embedded with a font embedded in the library (i.e. Korean)?

    I have project that uses a shared fonts. The fonts are all
    contained in a single swf ("fonts.swf"), are embedded in that swf's
    library and are set to export for actionscript and runtime sharing.
    The text in the project is dynamic and is loaded in from
    external XML files. The text is formatted via styles contained in a
    CSS object.
    This project needs to be localized into 20 or so different
    languages.
    Everything works great with one exception: I can’t
    figure out how to set which character set gets exported for runtime
    sharing. i.e. I want to create a fonts.swf that contains Korean
    characters, change the XML based text to Korean and have the text
    display correctly.
    I’ve tried changing the language of my OS (WinXP) and
    re-exporting but that doesn’t work correctly. I’ve also
    tried adding substitute font keys to the registry (at:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
    NT\CurrentVersion\FontSubstitutes) as outlined here:
    http://www.quasimondo.com/archives/000211.php
    but the fonts I added did not show up in Flash's font menue.
    I’ve also tried the method outlined here:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275
    to no avail.
    I know there must be a simple solution that will allow me to
    embed language specific character sets for the fonts embedded in
    the library but I have yet to discover what it is.
    Any insight would be greatly appreciated.
    http://www.quasimondo.com/archives/000211.php
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275

    Thanks Jim,
    I know that it is easy to specify the language you want to
    use when setting the embed font properties for a specific text
    field but my project has hundreds of text fields and I'm setting
    the font globally by referencing the font symbols in a single swf.
    I have looked at the info you've pointed out but wasn't
    helped by it. What I'd like to be able to do is to tell Flash to
    embed a language specific character-set for the font symbols in the
    library. It currently is only embedding Latin characters even
    though I know the fonts specified contains characters for other
    languages.
    For example. I have a font symbol in the libary named
    "Font1". When I look at its properties I can see it is spcified as
    Tahoma. I know the Tahoma font on my system contains the characters
    for Korean but when I compile the swf it only contains Latin
    characters (gylphs) - this corresponds to the language of my OS (US
    English). I want to know how to tell Flash to embedd the Korean
    language charaters rather than or as well as the Latin characters
    for any given FONT SYMBOL. If I could do that, then, when I enter
    Korean text into my XML files the correct characters will be
    available to Flash. As it is now, the characters are not available
    and thus the text doesn' t display.
    Make sense?
    Many thanks,
    Mike

  • Simple OTF fonts with maximum set of Unicode ranges

    I'm shopping around for fonts for use in a global corporate organization that creates printed packaging in numerous languages.  What I need is as small a set of fonts as possible that would include at least the following Unicode ranges (and be all Unicode-friendly, obviously):
    Latin (and supplements/extensions), Cyrillic (and extensions), Greek (and exts), CJK Unified Ideograph, Hiragana, Katakana, Hangul Jamo (Hangul Choseong & Hangul Jungseong), Tha, Hebrew and Arabic.  Devanagari would be nice, but isn't needed immediately.
    An Opentype version of Arial Unicode MS would solve this issue totally for the sans-serif side of things (we can't use Arial Unicode MS itself for,... stupid reasons), but we also need a serif'd font, anyway.
    I've tried digging around on the Adobe fonts site looking for precise, hard, quantitative information like this, but have come up empty handed.  Help?

    For better or worse, you won't find such information on Adobe's website since we don't offer any single font family that covers that full range or even a reasonable subset of it.
    Another consideration is that the concept of a serifed font is not universal to typography in all languages. Hebrew and Arabic, for example don't have fonts with serifs. Although Monotype's Times New Roman (ships with Windows) supports both the Hebrew and Arabic characters, those characters within the Times New Roman font are hardly serifed characters. They may look good with the truly-serifed Latin and Cyrillic characters in the font, but they themselves are not serifed.
    What you will need to do is find a selection of fonts covering the code pages you require which complement each other. I know I'd be very interested in your reporting back what your conclusions are and especially if you can find any on-line discussion of this issue with specific recommendations.
              - Dov

  • Print Module - Set Explicit Font Sizes

    In the Print Module Identity Plate can Lightroom set font size explicitly instead of using only a % scale factor?
    The scale factor is a great idea but it would be a lot more convenient at times to set the font size explicitly to 10 or 12 or whatever so it could carry over to other titles if you want all your titles to print in a specific font size (e.g. 12 points). That's already possible with Vibrance, Recovery and a host of other settings (including the Identity Plate scale factor itself!) and it's very valuable to be able to have those exacting controls.
    Thanks,
    Robert

    Ian,
    I'd be very pleased if I'm doing something wrong. From what I see the Identity Plate supports only one font size, and only for the most recent photo. When I choose Edit and type in a new title of a different length Lightroom changes the size of the font (the longer the title, the smaller the font and vice versa). Try this:
    1) Open Identity Plate and title the picture "Hello".
    2) Change the title to "I just love Adobe Lightroom so very much!"
    The title will be smaller. Lightroom seems to disregard the Identity Plate font size.
    I just tried your recommendation and no matter how I changed the Identity Plate font size in the Print module (e.g. from 38pt to 8pt) the photo's title text size barely changes, I have to use the Scaling slider every time. That font sizing functionality only works for me in the Library module when I'm creating my actual Identity Plate.
    Every time I change pictures I have to re-do this step. The way I'm dealing with this is changing the scaling factor (or with your recommendation, the font size) every time for every different-length title and/or enlarging/shrinking the title box for each photo.
    As I explained in my other reply to your other post, this is very time-consuming when you're printing 50-100 titled photos in a single day/weekend (not to mention the fact that it's physically impossible to set every scaling factor so all titles print exactly the same size font).
    It would be a lot better for Lightroom to automatically save all the print parameters the way it saves all other of the picture's metadata.
    If you could share an easy way to make that much faster I'd be quite grateful.
    Robert

  • [SOLVED] Lousy fonts with .chm viewer for Linux

    I installed the .chm file viewer HelpExplorer 3.0 in both Windows XP and Arch Linux (chm = compiled HTML help file).  In Windows XP, with default fonts installed, the fonts in text read with this viewer appear crisp, sharp and anti-aliased.  In Arch with KDE 3.5.7, on the other hand, the fonts appear fuzzy, grainy and don't seem to be anti-aliased, in contrast with their appearance in all other apps (except for a few such as Dillo) which render text good-looking, sharp and anti-aliased.
    HelpExplorer for Linux was provided as a tarball that included a precompiled 'helpexplorer' binary.  The program doesn't seem to allow for customizing font settings.
    The following fonts are installed in Arch (in /usr/share/fonts/):
    ttf-bitstream-vera-1.10-5 is installed by default
    gsfonts 8.11-4 is installed by default
    PostScript Type 1 fonts installed: Century Schoolbook, Nimbus, URW Bookman, URW Gothic, URW Palladio
    ttf-ms-fonts-2.0-1 (Microsoft TTF: Andale Mono, Arial, Comic, Courier, Georgia, Impact, Tahoma, Times New Roman, Trebuchet)
    font-bh-ttf-1.0.0-3 (Luxi BH)
    xorg-fonts-100dpi-1.0.1-1 (courier, helvetica, lucida, new century, times)
    The "Files" section of my xorg.conf looks as follows:
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    # Additional fonts: Locale, Gimp, TTF...
    FontPath "/usr/share/fonts/cyrillic"
    # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    I've attached a screenshot of some text displayed in the HelpExplorer reader in Arch (the font is Times New Roman): http://img216.imageshack.us/my.php?imag … ot1zh9.png
    [img=http://img216.imageshack.us/img216/8401/snapshot1zh9.th.png]
    What do I need to do to improve the font appearance in this program in Linux?
    Last edited by RobF (2007-10-02 18:06:46)

    I found a solution of sorts by installing and running the Windows version of HelpExplorer in Wine or Crossover.  There is still very little control over fonts but when I enlarge the default font (with 2x CTRL-+) I do get a nice-looking anti-aliased Times New Roman font, and this solution would be my preferred way of reading .chm files in Linux (i.e. better than KchmViewer or Xchm).
    Recap of the problem:
    1. The .chm viewer HelpExplorer Viewer 3.0 when installed in Windows XP renders fonts crisp and clear and anti-aliased.
    2. The Linux version of HelpExplorer Viewer 3.0 (delivered as a precompiled executable in a tarball) doesn't render fonts antialiased, regardless of what I tried, and they look grainy and unattractive.
    3. The Windows version of HelpExplorer Viewer 3.0 when installed and run in Arch in Wine or Crossover does render the default font they offer (looks like Times New Roman) fairly crisp and clear and anti-aliased, at least at the enlarged setting.
    Can someone explain to me what might be going on?  Why is it that the Linux version cannot render fonts anti-aliased when the Windows version running in the emulator in Linux can?  Is there something that I have to change in my fonts config, fonts location, symlinks or path to get the anti-aliased fonts to work in HelpExplorer in Linux?
    Robert

  • How can I set the font size of a form field in the fdf file?

    I need to dynamically set the font size of a field to accommodate text of varying length, automatic font size won't work in this case. It seems like this can be done in the FDF but I have tried several variants without success. Could someone help out with a real example of what the syntax in the fdf should look like.
    I am using Acrobat Professional 8.1 but the created fdf will need to work with Reader also.

    I think that the font size has to be set in the form itself, not the FDF.

  • Formatting issues: when I open a msg, the font is sooo small you need a magnifier to read it. How can I set the font size to one I can easily read?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have various formatting issues:
    a. When I open a msg from my web browser (Cablevision), the font is sooo small I need a magnifier to read it. How can I set the font to a size I can easily read?
    b. When I forward msgs, the text gets all distorted and I need to clean it up (some symbols, lots of spaces between words). How can this be fixed?
    c. When I want to tell someone about a website, I cannot type the URL in so that all they have to do is click on it. How can this be fixed?
    d. When I open messages, the text opens in a small window and covers the "Show Images" button. Why?
    == This happened
    ==
    Every time Firefox opened
    == Ever since I started using Firefox (a few months ago)
    ==
    '''Troubleshooting information'''
    I didn't find any results
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows 7
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-nphpclipbook
    *Office Plugin for Netscape Navigator
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The Hulu Desktop Plugin allows Hulu.com to integrate with the Hulu Desktop application.
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *iTunes Detector Plug-in
    *3.0.40624.0
    *NPWLPG
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    The text editor is the text area that you use on the webmail (Yahoo, Hotmail) website to create a new mail.
    You can compare that with the ''Post new message'' text area that you use to create a new post on this forum.
    Just above the text area that you use to enter the message text there is usually a button bar with buttons that allows some text formatting like Bold and Italic and can also include a button to make a clickable hyperlink.
    Check the tooltip of each button by hovering with the mouse over each button.
    Make Link - https://addons.mozilla.org/firefox/addon/142

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable?
    I want to change the font color for only a couple of rows inside a JTable.
    I've seen some ways to possibly do this with an individual cell.
    Clarification on changing the font color in an individual cell would be helpful too if
    there is no easy way to do this for a row.

    hai,
    Try out with this piece of code.Create your table and assign the renderer to each column in the table.
    CellColorRenderer m_CellColorRenderer = new CellColorRenderer();
    for(int i=0;i<your_JTable.getColumnCount();i++)
    your_JTable.getColumnModel().getColumn(i).setCellRenderer(m_CellColorRenderer);
    class CellColorRenderer extends JLabel implements TableCellRenderer
    CellColorRenderer()     
    setOpaque(true);     
    setHorizontalAlignment(LEFT);
    setVerticalAlignment(CENTER);
    setBackground(Color.white);
    setForeground(Color.black);
    protected void setValue(Object value)
         setText((value == null) ? "" : value.toString());
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected, boolean hasFocus, int row,int column)
         if(isSelected == true)
              setForeground(Color.red);
         else
              setForeground(Color.black);
         setValue(value);
         return this;
    regards,
    bala

  • How to set custom font family in qml label in black berry 10 os

    how to set custom font family in label text  qml in black berry 10 OS

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • How to add text in .ai file and  set position, font, size and colour

    I want to place multiple lines of of text (individually) into .ai file and set size, font, colour and position for each.
    Preferably text should have origin in a single point (rather than be framed)
    Hope anyone can help me out.
    Thank you in advance.

    Here's what's in the Scripting Reference
    Creating and modifying text frames
    // Creates a document with text frames displaying path, area and point
    // text, changes the content of each frame then deletes the 2nd frame
    // create a new document
    var docRef = documents.add();
    // create 3 new textFrames (area, line, point)
    // Area Text
    var rectRef = docRef.pathItems.rectangle(700, 50, 100, 100);
    var areaTextRef = docRef.textFrames.areaText(rectRef);
    areaTextRef.contents = "TextFrame #1";
    areaTextRef.selected = true;
    // Line Text
    var lineRef = docRef.pathItems.add();
    lineRef.setEntirePath( Array(Array(200, 700), Array(300, 550) ) );
    var pathTextRef = docRef.textFrames.pathText(lineRef);
    pathTextRef.contents = "TextFrame #2";
    pathTextRef.selected = true;
    // Point Text
    var pointTextRef = docRef.textFrames.add();
    pointTextRef.contents = "TextFrame #3";
    pointTextRef.top = 700;
    pointTextRef.left = 400;
    pointTextRef.selected = true;
    redraw();
    // count the TextFrames
    var iCount = docRef.textFrames.length;
    var sText = "There are " + iCount + " TextFrames.\r"
    sText += "Changing contents of each TextFrame.";
    // change the content of each
    docRef.textFrames[0].contents = "Area TextFrame.";
    docRef.textFrames[1].contents = "Path TextFrame.";
    docRef.textFrames[2].contents = "Point TextFrame.";
    redraw();
    docRef.textFrames[1].remove();
    redraw();
    // count again
    var iCount = docRef.textFrames.length;
    Your are looking stuff with the pointTextRef.

  • Is there a way to permanently set a font in pages?

    The default font in pages is Helvetica.  Every time I start a new document, I have to change it to Times New Roman.  Is there a way to permanently set the font as Times New Roman so that I do not have to do it every time.  Thanks.

    You need to create your own default template. Open the blank template & set up your document with the line spacing, margins, headers, etc. as you'd like. Redefine all of the paragraph & character styles to have your desired font. You can set default wrap for any object as well as many other settings. Insert a table, click in it & choose the font, size, color, etc. you want in the fonts panel or format bar. You can do similar changes to inserted objects & text boxes. While you're at it resize the box if you want, set the amount of extra space in the wrap inspector, etc. Delete each text box, object & table after you've set them.
    Now, save this document as a template & select that template as default in preferences. If you decide to make any changes to the template down the road, just Save As Template again with the same name & replace the previous version. All of your new documents will have these settings for inserted objects, images & tables. Unfortunately, the settings won't apply to any other templates or "foreign" documents you open with Pages.

  • Is there way to set thicker font for Clock widget?

    Is there way to set thicker font for Clock widget (including Home and Unlock screens) ?
    Solved!
    Go to Solution.

    As I understand, not by default.
    Check on Google Play store if you can find any clock widgets that may suit your needs.
     - Community Manager Sony Xperia Support Forum
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • Set default font type and size in formcreated using Acrobat X Pro

    I have a word document that I used Acrobat X Pro to create a PDF and then a Form.  The Form has over 200 text fields.  Is there a way to globally set the font type and size to one type, for instance Arial 10 so that when someone opens the Form and fills it in, the global font type and size is preset         

    Are you talking about fields that you create manually or field created with the Form Wizard? Exactly what version of Acrobat are you using? What OS?
    In any case, using a script is a quick and easy approach:
    for (var i = 0; i < numFields; i++) {
        var fName = getNthFieldName(i);
        var f = getField(fName);
        if (f.type === "text") {
            f.textFont = font.Times;
            f.textSize = 9;
            // Other properties go here
    I use this type of thing all the time to quickly alter a form. Such a script isn't added anywhere, just executed (e.g., JavaScript console). Over time a developer can build up a collection of utility scripts that can do all sorts of things to dramatically speed up development. It would be bad if this option were not available.
    If there is a bug, it should certainly be addressed, so don't think I'm arguing against that, but I'm not seeing it on any of my systems. I can successfully set the default field properties by selecting "Use Current Properties as New Defaults". The Form Wizard does not use these defaults, but that's a different matter.

Maybe you are looking for

  • Tips to deal with the appalling wifi on iPhone 5 since 6.1 update?

    Hi guys I'm aware there are hundreds of threads on this issue and various different ways of addressing it. I just wanted the most up to date tips and fixes and to share my symptoms. Ever since I updated to 6.1 my home wifi connection has been horrifi

  • Timing Java Apps on Portable Devices and Desktops

    I am trying find an efficient way to time my Java applications running on Linux on portable devices like Pocket PCs and other hand held computers. I also need to time the running of applications on desktop and laptop computers and compare the two. I

  • My external hard drive holding half my iMovie events and projects has crashed: how do I restore the events from another source?

    My external hard drive holding half my iMovie events and projects has become corrupted.  I have now downloaded all the same files (from a backup in the cloud) to another hard drive - but iMovie is not "seeing" those events or movies in that external

  • Access Denied error

    Hi, I've just plumbed a new server (running OS X Leopard Server 10.5.3) into the office and I'm getting a weird error that I haven't seen before. In ARD, I can find the server in the scanner by looking at its public IP address (the public address is

  • APD with date variable in filter object

    Have an APD with a filter object. The filter uses a range for 0CALDAY. the range includes a variable (customer_exit) whic calculates the date of previous fiscal period-end date. Works perfectly in Bex. However, when running the APD, the date format c