Find text based on its font "Bold"

Hi,
   I want to find the content based on its font bold.
I dono the syntax to find conent based on font.
Please any one help me on this.

Hi,
   Thanks for your respose.  I used the below code as you said, but it shows the below error as in Image.
var myDoc = app.activeDocument;
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
app.findTextPreference.fontStyle = "Bold"
var boldCont = myDoc.findText();
alert(boldCont.length)
for(var cnt = 0 ; cnt < boldCont.length; cnt ++)
var selCont = boldCont[cnt]
selCont.select();
alert(selCont.contents+"\n"+app.selection[0].paragraphs[0].contents.length);
v

Similar Messages

  • Finding text based files containing a keyword/pattern... filtering those that match pattern 2... etc.

    I'm looking to see if Powershell can help me solve a common issue I come across dealing with a large code base / set of files.
    In short I'm very frequently wanting to "grep" for files that contain a certain keyword or pattern... then (recursively) filter that set of files to those that (A) also include or (B) specifically do not include another keyword or pattern.
    e.g.
    Lets say that I have 300 PHP files that are all somewhere within a folder called "project_files".  I'd like to find all files that contain "someInclude.php"... and also contain "specialFunction()"
    Can I do this in one pass... e.g. pipe to pipe to pipe? or do I need to collect the list of file names in the first pass, then re-run the sub-query(/ies)
    $results = Get-ChildItem -recurse -ErrorAction SilentlyContinue | Select-String -pattern "someInclude.php"
    (wrapped code for readability)
    ...this is where I'm stuck as to where to go next...
    Can I iterate over my results? or do I need to write these to a file and read that file back in, searching in each file as I load it?

    Ideally I'd like to get an output at the end that is a result for each match with data including the file, the line number where the match was found, and even the line of text itself.
    I currently have this working for a single keyword search... outputting the final results object to a CSV file
    Get-ChildItem -recurse -ErrorAction SilentlyContinue |
    Select-String -pattern "someInclude.php" -AllMatches -CaseSensitive -ErrorAction SilentlyContinue |
    Select-Object path,linenumber,line |
    Export-Csv "c:\someFolder\MyMatches.csv"
    I wrapped the code above for readability... and in the Select-Object
    path = full file path
    linenumber = the line of the match
    line = the actual (full) line of text that was matched
    However in all honesty the format doesn't really matter... I just want to find the files that meet my criteria ;-)

  • [AS][CS5] Find and replace a missing font

    I have an overly complex script that compares the document's fonts missing fonts to the system fonts and makes a best guess. It was written to handle conversion of Multi-ad Creator documents to InDesign. It has worked 100% of the time so far. It needs a LOT of cleaning up and tweaking to make effecient, but that is not the point of my question. Everyday I am sent an InDesign file I have to work with and everyday it will has a missing font. Arial (OTF).
    I ran my script thinking it would replace it with Arial (TT). No problem...
    Ran it... nothing.
    When I use the find dialog in Indesign to search based on the applied font it works, the returned properties in AS contain:
    return properties of find text preferences
    font:"Arial (OTF)"
    Ok, fine so I try...
    set properties of find change text options to {case sensitive:false, whole word:false, include footnotes:false, include hidden layers:false, include locked layers for find:true, include locked stories for find:true, include master pages:true}
        set applied font of find text preferences to "Arial (OTF)"
        set applied character style of change text preferences to "Page&Header"
        tell document 1
            set myFoundItems to change text
        end tell
    Nothing.
    This has pretty much worked on every other font I've tried, so what am I doing wrong here?

    All right, back at it....
    I've run into even more fonts that it is an issue with. My basic thoughts on this are as follows: When bringing a document from Multi-ad Creator to InDesign the fonts are named in a way that InDesign does not recognize them. The thing is those fonts are really fonts that are on my system. It is simply a matter of rearranging the name of the applied font to match what InDesign would recognize. The thing is InDesign will allow me to use Find/Change to modify the fonts in the document.
    Now the fonts I've run across that give me an issue are fonts that do not correspond to any font on my system. I do not have any TrueType fonts, this document I opened today did...
    tell application "Adobe InDesign CS5.5"
        set myDocument to active document
        tell myDocument
            set myPage to page 1
            return properties of every font
        end tell   
    end tell
     {{font family:"Helvetica (TT)", PostScript name:"Helvetica-Bold", parent:document id 34 of application "Adobe InDesign CS5.5", index:1, name:"Helvetica (TT)     Bold", object reference:font "Helvetica (TT)     Bold" of document id 34 of application "Adobe InDesign CS5.5", status:not available}, {font family:"Helvetica (TT)", PostScript name:"Helvetica", parent:document id 34 of application "Adobe InDesign CS5.5", index:0, name:"Helvetica (TT)     Regular", object reference:font "Helvetica (TT)     Regular" of document id 34 of application "Adobe InDesign CS5.5", status:not available}, {font family:"Times (TT)", PostScript name:"Times-Bold", parent:document id 34 of application "Adobe InDesign CS5.5", index:3, name:"Times (TT)     Bold", object reference:font "Times (TT)     Bold" of document id 34 of application "Adobe InDesign CS5.5", status:not available}, {font family:"Times (TT)", PostScript name:"Times-Roman", parent:document id 34 of application "Adobe InDesign CS5.5", index:0, name:"Times (TT)     Regular", object reference:font "Times (TT)     Regular" of document id 34 of application "Adobe InDesign CS5.5", status:not available}}
    Ok, so let me try this (commented out are the different ways I've tried):
    tell application "Adobe InDesign CS5.5"
        set myDocument to active document
        tell myDocument
            set myPage to page 1
              --return properties of "Helvetica (TT)" --"Helvetica (TT)     Bold"
            return properties of font "Helvetica (TT)" -- "Helvetica (TT)   Bold"
            set myDocumentFonts to name of every font
        end tell
    end tell
    Adobe InDesign CS5.5 got an error: Unable to retrieve the font's UID from its name.
    I was able to get the properties of the font using:
    return properties of every font whose PostScript name is "Helvetica-Bold"{font family:"Helvetica (TT)", PostScript name:"Helvetica-Bold", parent:document id 34 of application "Adobe InDesign CS5.5", index:1, name:"Helvetica (TT)     Bold", object reference:font "Helvetica (TT)     Bold" of document id 34 of application "Adobe InDesign CS5.5", status:not available}
    Now I thought of trying the following:
    tell application "Adobe InDesign CS5.5"
        set find text preferences to nothing
        set change text preferences to nothing
        --Set the find options.
        set properties of find change text options to {case sensitive:false, whole word:false, include footnotes:false, include hidden layers:false, include locked layers for find:true, include locked stories for find:true, include master pages:true}
        set applied font of find text preferences to every font whose PostScript name is "Helvetica-Bold"
        set applied font of change text preferences to "Helvetica"
        tell document 1
            set myFoundItems to change text
        end tell
    end tell
    Now this does result in something, the find of the Find/Change dialog is looking for Helvetica + Bold. The only problem with that is it isn't looking for the TT font.
    tell application "Adobe InDesign CS5.5"
        set myDocument to active document
        tell myDocument
            set myfind to properties of every font whose PostScript name is "Helvetica-Bold"
        end tell
        set find text preferences to nothing
        set change text preferences to nothing
        --Set the find options.
        set properties of find change text options to {case sensitive:false, whole word:false, include footnotes:false, include hidden layers:false, include locked layers for find:true, include locked stories for find:true, include master pages:true}
        set applied font of find text preferences to name of myfind
        set applied font of change text preferences to "Helvetica"
        tell document 1
            set myFoundItems to change text
        end tell
    end tell
    And nothing happens.. other than it trying to search for Helvetica + Bold
    I'll try some other ideas later when I have more time.

  • Find text in pdf

    I need to develop a plugin that search for some text into the document, then when I found a particular string I need to examine the page where the text is found, and I need to export all the page as TIFF and also exporting all text in a text file.
    I suppose that I use the PD Layer. Anyone can give me a brief list of the function I have to use?
    Alk.

    The PDE layer is not recommended for finding text because
    * it is not broken into words
    * it may not be in reading order
    * there is no encoding conversion
    This means that you will only sometimes find text based on a simple
    scan of PDEText elements.
    In reading about AVConversion realise that there are two things being
    documented.
    1. How a plug-in can provide new formats for conversion to or from
    PDF. You do not want this.
    2. How a plug-in can use an existing AVConversion handler to convert
    to or from PDF. This is what you want.
    Aandi Inston

  • Can't find text in distilled file, using some fonts

    The products I have are Mac OS 10.6.8, Acrobat X and 9, and Word 2011 and Apple Pages for Mac; Acrobat 9 and Word 2007 for Windows XP.
    There are numerous ways to create PDFs on both platforms, whether through save as or creating a PostScript file and distilling it. The problem is that with docs I have using Calibri, Cambria, and Candara, if I distill a PostScript file made from Mac Word or Pages, neither Acrobat nor Apple Preview can find text in the resulting PDF, whether the file distilled with Mac or Windows Distiller. (Meaning a "find" for a string comes up as not found.)  All other combinations are okay, even writing a PS file in Windows Word and distilling with Mac Distiller.
    I mention the fonts specifically because most of the time I use OTF faces, which always work. I even tried using the Windows TTF versions in the Mac operating system -- same failure.
    And even if I force these fonts to be embedded in the Distiller job options, still no joy. If I take so much as a comma and set it to an OTF, I can find the comma. Also, Acrobat *can* find Arial text in a Visio flowchart placed in the Word doc. I don't know how the author placed it there, but it's probably copy from Visio, paste into Word.
    The reason why I care about this is because the distilled PFDs are just a tiny bit better looking on the screen than other options, such as "Save as PDF" from the Mac OS Print dialogue. The only other one that looks as good is the Create PDF button in Windows Word, but I would rather not have to use Windows just to get a better-looking PDF.
    So to summarize:
    Mac app > write PS file > Mac Distiller = fail
    Mac app > write PS file > Win Distiller  = fail
    Win app > write PS file > Mac Distiller  = okay
    Win app > write PS file > Win Distiller  = okay
    Mac app > save as PDF directly > okay
    This might not be a problem with Distiller per se; it could be the Mac OS engine that creates the PS files. You see, I had heard that Apple used their own internally developed engine for the options to save PDF files directly, but was using Adobe code when one used the option to write a PostScript file, so that's why I'm so surprised and disappointed it fails.

    tlmurray23 wrote:
    The reason why I care about this is because the distilled PFDs are just a tiny bit better looking on the screen than other options, such as "Save as PDF" from the Mac OS Print dialogue. The only other one that looks as good is the Create PDF button in Windows Word, but I would rather not have to use Windows just to get a better-looking PDF.
    Hmmm. In what way are Distilled PDFs "a tiny bit better looking on screen" than those made by OS X?
    You are viewing both in the same app and platform?
    And you're referring to font display?
    What settings are you using in Distiller which you think might have some bearing on this?
    tlmurray23 wrote:
    This might not be a problem with Distiller per se; it could be the Mac OS engine that creates the PS files. You see, I had heard that Apple used their own internally developed engine for the options to save PDF files directly, but was using Adobe code when one used the option to write a PostScript file, so that's why I'm so surprised and disappointed it fails.
    OS X's native graphics drawing environment, Quartz, is essentially a "Display PDF", so creating a PDF file is a very simple procedure.
    Writing PostScript for printing uses Apple's own cgpdftops CUPS filter. I doubt there is any "Adobe code" as such, and I dispute the implication that "Apple code == bad; Adobe code == good", which you seem to suggest.
    The specifications for PDF and PostScript are clearly documented, and it should be easy for anyone to follow them.
    However, the fact remains that when Apple converts these MS fonts to PS, something goes wrong. It may be a bug in Apple's code; or it may be that Apple it strictly interpreting font data which MS is playing fast and loose with. Windows' own PS export would no doubt be designed to work with the looser implementation in MS's fonts. This is just hypothetical of course, though is in keeping with tradition.
    What you could do is use a decent text editor like TextWrangler (free from BareBones software) to compare the PostScript code from Windows and OS X.
    You could also look a the Properties tab in Acrobat of the PDFs, and compare the font encoding.
    You could also test running out PostScript from any other app on OS X that you have using those fonts.
    However, I think it is unlikely that you will see resolution unless MS releases a new version of their fonts, or some new version of OS X makes an amendment to fix the bug or cater for the MS issue. Perhaps Lion will do this; perhaps it won't.
    Are you using the versions of these fonts that came with Office 2011 for Mac? What happens if you use the Windows versions of the fonts on OS X?

  • Read Text row by row, plot them and find the max of its Power spectrum

    Hi, everyone,
    I have to read data from a text file, plot as a time serie and find the frequency to its max power spectrum. I found a previous post related to my issue so I revised his example a little bit. But once I decide to store the data into an array, the Labview reported:' Error 1 occurred at Scan From String (arg 1)'. Can anyone help me out?
    Thanks in Advance!
    Gab
    Attachments:
    ReadXYZmine.vi ‏18 KB

    Again my attachment got missed out.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    ReadXYZmine_Trim Whitespaces.vi ‏19 KB

  • Find text set in a certain font?

    I sometimes emphasize with italics, in Id this means I select the word and select the italic version of the font. Or at least, that is what I did a few times in the past. But these days, I have a character style that sets the character style to slanted. I know, I have one or two instances left in the text where I selected a different font and in one case even accidentally the italic version of a wrong font.
    Is there a way I can find (any) text set in a specific font?

    Sure. Use Find Text!
    (You probably need to press the More Options button, for the very first time, to get the Find Formatting box.)

  • IE8 Rendering Standard Text Fonts Bold?

    I am currenty designing an XHTML page in Dreamweaver CS4 and have tried various standard fonts (Times New Roman, Courier, Georgia etc.) and whichever I chose the font renders absolutely perfect (as in design view) on Firefox, Google Chrome, Opera and Safari but renders BOLD in IE8. I have clearly defined the text family, size, style, variant and weight in CCS rules for the body tag and p tag and have even created a seperate class for the text but it still renders bold in IE8. I also tried to do a CSS reset but that didnt alter anything. Is there anyway around this or are my IE8 visitors just going to have to put up with bold text?

    And being a little bit contrary - the font looks the same  to me viewing in Firefox and using IETester IE8.
    Just a side note:
    I might add, that the H1 (About Us) is very difficult to read on my laptop.. seems to blend into the black background. Need to be lightened up a bit I believe.
    The blue text (whether it is normal font weight or bold)  is also very difficult to read on the black background - causing a bit of an accessibility issue. (My eyes are probably older than most here   :-)   I don't usually have problems reading up close to the monitor, but that blue is very hard on the eyes).

  • Can anyone suggest a app or programme for creating a simple text based logo with a font I already own?

    Hi.
    I run my own company and would like to create my own simple text based logo using a font I've downloaded. Can anyone suggest an app or programme that will be simple enough for a dunce like me to create vectored graphics and reliable enough to create something professional and usable, please?
    Thanks.

    I believe if you copy the font into the font folder, any application should be able to use that font.

  • Select text based on format (free form style text)

    As suggested by Apple, I'm trying to create my first ePub using Pages as opposed to inDesign.
    I only have a PDF as a source file and don't want to re-type all the text.
    When I copy the text from the PDF and paste to Pages, the text comes in with the 'free form' style applied no matter what options I select during copy and paste.
    In order to produce an ePub, I need to set styles for the text. This is quite tedious.
    Is there any way to select text based on the way it is formatted when styles are not applied to the text?

    Here is a script which may be useful if your problem surface again.
    --{code}
    --[SCRIPT words_attributes_to_Style]
    Enregistrer le script en tant que Script : words_attributes_to_Style.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    Ouvrir un document Pages contenant des mots soulignés
    Aller au menu Scripts , choisir Pages puis choisir “words_attributes_to_Style”
    Le script appliquera :
    le style "Souligné" aux mots soulignés
    le style "Accentuation" aux mots en gras
    le style "Italic" (si vous l'avez créé) aux mots en italique.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: words_attributes_to_Style.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    Select a Pages document embedding underlined words
    Go to the Scripts Menu, choose Pages, then choose “words_attributes_to_Style”
    The script will apply :
    the named style "Underlined" to the underlined words
    the named style "Emphasis" to bolded words
    the named style "Italic" (assuming that you defined it) to italicized words.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/11/13
    2011/11/13 enhanced by Nigel Garvey in : http://macscripter.net/viewtopic.php?pid=145883#p145883
    --=====
    on run
              set Underlined_loc to my getLocalizedStyleName("Pages", "Blank.template", "STYLE_Underline")
              set Emphasis_loc to my getLocalizedStyleName("Pages", "Blank.template", "STYLE_Emphasis")
              tell application "Pages" to tell document 1
                        set character style of words whose underline type is single underline or underline type is double underline to character style Underlined_loc
                        set character style of words whose bold is true to character style Emphasis_loc
    Assuming that you defined your own Italic style named "Italic", you may use : *)
                        try
                                  set character style of words whose italic is true to character style "Italic"
                        end try
              end tell
    end run
    --=====
    Example
    set Heading8_loc to my getLocalizedStyleName("Pages", "STYLE_Heading 8")
    Requires :
    getLocalizedName()
    on getLocalizedStyleName(theApp, tName, x)
      activate application theApp
              tell application "System Events"
                        (application file of application process theApp as text) & "Contents:Resources:Templates:" & tName & ":Contents:Resources:"
                        return my getLocalizedName(theApp, x, result)
              end tell
    end getLocalizedStyleName
    --=====
    on getLocalizedName(a, x, f)
              tell application a to return localized string x from table "Localizable" in bundle file f
    end getLocalizedName
    --=====
    List of default styles embedded in the Blank template :
    "STYLE_Body" = "Corps";
    "STYLE_Body Bullet" = "Puce du corps de texte";
    "STYLE_Bullet" = "Puce";
    "STYLE_Caption" = "Légende";
    "STYLE_Emphasis" = "Accentuation";
    "STYLE_Footnote Text" = "Texte de note de bas de page";
    "STYLE_Free Form" = "Format libre";
    "STYLE_Harvard" = "Harvard";
    "STYLE_Header & Footer" = "En-tête et bas de page";
    "STYLE_Heading 1" = "Sous-section 1";
    "STYLE_Heading 2" = "Sous-section 2";
    "STYLE_Heading 3" = "Sous-section 3";
    "STYLE_Heading 4" = "Sous-section 4";
    "STYLE_Heading 5" = "Sous-section 5";
    "STYLE_Heading 6" = "Sous-section 6";
    "STYLE_Heading 7" = "Sous-section 7";
    "STYLE_Heading 8" = "Sous-section 8";
    "STYLE_Heading 9" = "Sous-section 9";
    "STYLE_Legal" = "Légal";
    "STYLE_None" = "Aucun";
    "STYLE_Normal" = "Normal";
    "STYLE_Normal 22" = "Normal 22";
    "STYLE_Normal 4" = "Normal 4";
    "STYLE_Normal 8" = "Normal 8";
    "STYLE_Numbered List" = "Liste numérotée";
    "STYLE_Series_0" = "Series_0";
    "STYLE_Series_1" = "Series_1";
    "STYLE_Series_2" = "Series_2";
    "STYLE_Series_3" = "Series_3";
    "STYLE_Series_4" = "Series_4";
    "STYLE_Series_5" = "Series_5";
    "STYLE_Strikethrough" = "Barré";
    "STYLE_TOC" = "Table des matières";
    "STYLE_TOC Heading 1" = "Sous-section 1 de table des matières";
    "STYLE_TOC Heading 2" = "Sous-section 2 de table des matières";
    "STYLE_TOC Heading 3" = "Sous-section 3 de table des matières";
    "STYLE_TOC Heading 4" = "Sous-section 4 de table des matières";
    "STYLE_Title" = "Titre";
    "STYLE_Underline" = "Souligné";
    "STYLE_[Null]" = "[Nul]";
    You may use more sophisticated custom styles embedding several properties:
    baseline shift (real) : Raise or lower the target text.
    bold (boolean) : Whether the font style is bold.
    capitalization type (all caps/normal capitalization/small caps) : Whether a capitalization style is applied.
    character background color (color) : The color of the character's background.
    color (color) : The color of the font.
    font name (text) : The name of the font.
    font size (real) : The size of the font.
    italic (boolean) : Whether the font style is italic.
    ligatures (all ligatures/default ligatures/none) : Remove ligatures from the target text if the document is set to use ligatures.
    name (text) : The name of the style.
    outline (boolean) : Whether the font style is outline.
    shadow (boolean) : Whether the text box content casts a shadow or not.
    shadow angle (real) : The directional angle, in degrees, that the shadow is cast.
    shadow blur (integer) : The relative amount of blur of images seen through the shadow.
    shadow color (color) : The color of the shadow.
    shadow offset (real) : The offset from the text box content that the shadow extends to.
    shadow opacity (real) : The amount of opacity for the shadow, in percent.
    strikethrough color (color) : The color of the strikethrough line(s).
    strikethrough type (double strikethrough/none/single strikethrough) : Whether one or more lines are drawn through the characters.
    subscript (boolean) : Decrease the font size and lower the baseline of the text.
    superscript (boolean) : Decrease the font size and raise the baseline of the text.
    tracking (real) : The space between text characters, in percent.
    underline color (color) : The color of the underline(s).
    underline type (double underline/none/single underline) : Whether the font style is underline.
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) lundi 2 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Fonts bolded on publish?

    Hey
    Does anyone know why my iWeb pages have normal text when viewed in iWeb but most of the text suddenly appears to be bolded when I view the pages in any of the web browsers I have (Safari, Firefox, Omniweb...). I've tried trashing the preferences, logging into a new account, trashing the webpage and starting from scratch, but nothing seems to work. Most of the text does this but I have had a couple of text boxes that do appear normal.
    Any ideas?
    Thanks

    I don't have a server currently so I can't post it for inspection.
    I'd have to e-mail a copy of the page.
    But the problem is as I said above. When I publish and then check in the browsers Arial Regular is thickened so that it looks like Arial Bold, Verdana Regular looks like Verdana Bold. The thickening is just slightly less than the actual bold for that text but it's very close to full bold size. The same thing happens with the actual bolded versions of all the fonts I have. They are all thicker than they appear in iWeb or any of my word processors. The extra size is throwing off my paragraph formatting forcing words onto the next line. It's bizarre.
    I'm checking the html code but I can't seem to find what's causing it.
    Thanks for asking.

  • IMAQ Overlay Text.vi: "User-specified Font" ignored

    I'm trying to use "IMAQ Overlay Text.vi" use draw a fixed-width tag on an image. In my trials so far, I cannot determine how to use any other font but the default. The "User-specified Font" choice appears to ignore my font requests, but does use my size and bold settings.
    What I've tried so far:
    Use LabVIEW to tell me font names via the application drop-down menu, and then type one in verbatim into the "Font Name" component of the "User Specified Font" cluster.
    Use another Windows program (like Write.exe) to give me font names, and then typing one in verbatim as before.
    Use a nonsense font name to provoke some kind of "font not found" error, but none were raised.
    This third data point makes me think that a default font is selected if the user's is not found. How do I learn which font names this VI will use? LabVIEW can see and use the font I want, but not IMAQ :-(
    I have LabVIEW 2009 with the 2012 Vision Development Module.
    Solved!
    Go to Solution.

    Silver_Shaper wrote:
    Check the built in example.. It works.
    Excellent! Thanks for your reply :-)
    I can confirm that switching from "IMAQ Overlay Text.vi" (and "IMAQ Merge Overlay.vi") to "IMAQ Draw Text.vi" uses the font I specify by name on the Front Panel. This will suit my needs
    I have two points for NI engineers and I would like a response:
    Does "IMAQ Overlay Text.vi" have any outstanding bug reports about this behavior? Or, am I doing something wrong?
    Please make your examples easier to discover and find. With help from Silver_Shaper, I was able to find the example, but the directions on your website are incomplete and misleading. To experience the frustration first hand, follow the link in Silver_Shaper's post and read and follow the text.
    You will find that it is incomplete: the article takes you halfway there, pointing you to to "Help » Find Examples... » Toolkits and Modules", but doesn't follow through and ask you to expand "Vision » Functions" before you find the example.
    But once you're there, you will also find that the article is misleading. The article is called "Overlay Text on Image" and the same title is used in the overview, but on disk it is called "DrawText Example.vi" and the real name can only be found in the front panel image.
    Please confirm the bug or my misunderstanding of "IMAQ Overlay Text.vi", and please confirm that you will update that article.

  • Ideas for text based budget management and software

    I'm looking for suggestions for text-based software or just basic scripts for tracking expenses.
    For the last six months I've been recording my purchases in text files, one file for each month.
    An entry looks like this:
    01/01/2013,Schnucks,banana, groceries,1.00,cash
    It works pretty well for recording info, no alternative system could be much faster than just adding a line to a text file.
    Now that I've been recording data for about 6 months, I'm more interested in parsing through it to see what I'm spending in each month and in various categories. At the moment, I just run the files through grep and awk to get what I want. I'm contemplating writing a python program to let me filter and calculate totals and do whatever else comes to mind: importing credit card statements, generating graphs, etc. But at that point, I feel like I'm probably just re-inventing the wheel.
    Does anybody want to share how they are handling a similar case?
    I'm ok with changing my entry format, but I'm pretty attached to handling things as text files. I don't need anything more complex if it adds to the overhead of creating an entry.

    Hey, I been doing something very similar!
    Except it also will measure income, so I can know how much I have done/expend this month, week, etc.
    I don't have it at hand atm, but I use : to separate the fields, and use slashes to escape it (like \:)
    Yes, that is a DSV file.
    I haven't dedicated time to work on it lately, but I was writing a perl script to do the calculations.
    One idea I have is to create an additonal file for a list of expenses names, like this:
    milk-z:Milk brand Z:milk
    milk-y:Milk brand Y:milk
    the first field is an unique code for the product, second field a description, and third field is a category.
    That way I could see how much I have expend on milk, no matter the brand.
    On the expenses file, an expense would be similar to this:
    2012-12-20:expense:milk-z:5.0
    The first field has the date, in the format YYYY-MM-DD; that order is important to be able to sort the file if is necessary
    Second field has "expense"; it could be "income" if it was an income
    Third field is the product code - if its something I don't buy regulary, I could be only a name (like "new led tv" or something), if is an income, the reason behind the income.
    And fourth field is just the amount of money.
    Oh, I think I'll dedicate some time to the project again

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • Sending Rich Text Emails - Default Message font doesn't work!

    I have just set up Mail to compose Rich Text emails as default which seems to have worked okay. However, I have set the default Message font as 'Arial' and it doesn't seem to work when sent to Microsoft Outlook. However if I set the text to a different font and then back to arial when composing it works fine.
    I just looked at the raw source of the email and it doesn't actually state in the HTML that the font is set to Arial by default, only when it is manually changes when composing. It may display correctly in Mail but with more users on a windows based machine using outlook this is no good! I don't want to have to change the font manually every time!
    Anyone got a fix for this?

    Are there no fixes for this?
    In my eyes this is a major problem and certainly something that is making me consider moving away from Mail...

Maybe you are looking for

  • Safari will not open pdf files.

    Safari will not open pdf files, instead I get a blank grey screen. How can I get a viewable and downloadable screen/file? Tried Alt/Option to view and it doesn't work either. Firefox and Chrome will not work either.

  • How can I delete my Apple account

    Par for the course with so many companies - "Delete My Account" is virtually impossible to find. How can I delete my Apple account? I don't want yet another account that people can hack and buy stuff fraudulently. Thanks. But really, these companies

  • CUPS - Store username in Device URI no longer works?

    Previously, i.e. OS 10.6.7, you could store a username in the Device URI in /etc/cups/printers.conf as shown below: smb://username:password@server_name/queue_name This was quite handy as it meant that users were not prompted to enter a username and p

  • Mac Book OS X 10.6.8  installer not working

    I've trying to update my Itunes and it will not work i get the following message: "The update could not be expanded, and may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update ru

  • Olympus E-P1 Raw Import Question

    Hi, just a quick question for those of you importing RAW files from your Oly E-P1: Does Aperture perform the lens distortion correction function on the files as part of the RAW conversion process? Or do I have to run them through Olympus Master first