Get Info Panel Information

Hi All,
How can we get info panel characters count using indesign javascript. We can get characters count using below code:
app.selection[0].characters.length
But if the document is xml document then it includes each xml tag as one character. I want to ignore these types of characters. Info panel ignores these types of characters in character count. So I want to get info panel characters count.
Thanks & Regrads,
Senthilvel

@Senthilvel – you could do a GREP find action on the selection with a simple dot and count the found characters.
app.findGrepPreferences.findWhat = ".";
var myResultArray = app.selection[0].findGrep();
var myLength = myResultArray.length;
alert("Number of characters in text selection:"+"\r"+myLength);
Any other implications?
I'd say, test this one first.
Uwe

Similar Messages

  • How to install custom XMP Get Info Panels in Adobe Bridge CC

    Adobe changed their way they store the custom XMP Get Info Panels in Adobe Bridge CC. Check out this blog to see how you can install the XMP Get Info Panels that you used in Adobe Bridge CS6 in Adobe Bridge CC:
    http://www.databasepublish.com/blog/installing-custom-metadata-panels-and-get-info-panels- adobe-bridge-cc

    Check your Bridge preferences.  It seems that you have the "Don't process images larger than…" option set to a lower amount than some of your files.
    So, don't blame it on Bridge, but on the user who neglects that setting. 

  • Get Info panel metadata all gone after upgrade to Yosemite!

    Shortly after upgrading to Yosemite I discovered that all the metadata I had typed into the Get Info panel for a multitude of image files has been wiped out! Need less to say I'm ****** off. What happened and is there any way to recover this info? On a related note I also discovered that the field where you type info now behaves like a tag entry field, where typing a comma creates separate snippets of text. Whose brilliant idea was that? Is there a preference that can be reset so the field will accept text normally? Thanks.

    I have the same problem, and no I haven't moved it.. but it's back to the default WIKI after the upgrade..
    It seems there's the data in there.. a good 7-8 gig's worth, so I'm not thinking that's the default/empty data.
    There IS a
    Config
    Config.original
    Actually.. I'm not sure about the exact wording cos I can't access the computer as Yosemite is hanging right now.. **** Yosemite, I'm never going there again...

  • Disappearing info in the "Get Info" panel

    When I select "get info" on a jpeg file using Mountain Lion, I am able to see all the "More Info" data, but if I come back to that same file after navigating away from it, all the data disappears? I was able to flawlessly recreate this scenerio with multiple jpeg files.
    Here's where it gets even wierder. If I open that same file in Photoshop and select "File Info," the information is still there; however, after If I close the file and go back in the Finder the info comes back, but goes away as soon as I navigate away from it and come back to it.
    Hardware/Software:
    MacBook Air 13" 2012 Thunderbolt
    1,7GHz Core i5
    4Gig RAM
    OS 10.8 Mountain Lion
    Adobe PhotoShop CS5.5
    Apple Thunderbolt Monitor 27"
    USB external drive for TimeMachine
    USB Keyboard, Mouse
    USB Smart Card Reader

    Please use bugreport.apple.com to file a bug describing the problem.
    Here are the details on what I submitted. If you're seeing the same thing, please reference the Bug ID# 12156897.
    Title: Finder Get Info... "More info" (spotlight info) disappears when reopened
    Summary:
    The "More info" data is replaced with "--" after the first time it is viewed.
    Steps to Reproduce:
    Make sure the boot volume has Spotlight enabled.
    Download some files using Safari.
    In the Finder, navigate to the Download folder.
    Command-I to get info on the downloaded files.
    "More info" shows where the file was downloaded from.
    Close the Info dialog.
    Use Command-I to reopen the Info window.
    Expected Results:
    "More info" has the same data as before.
    Actual Results:
    "More info" is replaced with "--" where it previously showed the download URL.
    Regression:
    If you open the same containing folder (Downloads in this example) in a new Finder window, the first time Get Info is used, "More Info:" is correct. The second time or later, it is replaced with "--".

  • Get Info panel keeps disappearing below bottom edge of screen

    I'm sure I'm not the only one who has ever experienced it . . . but after clicking on Get Info, the panel does appear, but within a nanosecond it slips below the bottom edge of my screen. No matter how rapidly I try to catch it, it always sleeps away just out of reach.
    It was working properly earlier this morning, but started it's game of "catch me if you can" surreptitiously . . . first by moving to different locations on the screen each time I opened a new topic . . . and then by hiding beneath various open pages on my screen. (I know. My fault for having too much going on at one time. It's true. But who ever said neatness is a virtue for multi-taskers?
    Before I knew it, I had the problem described above. I assume the fix is relatively easy; just wish I knew the secret. Anyone care to enlighten me?

    Hi, never seen this problem before, but try dragging this file to the desktop then reboot...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist

  • Can I stop the "get info" panel from jumping to the left of the screen?

    I have a 24" screen and use "get info" a lot. Is there a way to make it default so it opens next to the finder instead of at the left border of the screen?

    Welcome to the Apple Discussions!
    I think it will be a bit complicated to start messing with this default behavior and may ultimately end badly for you.
    If you highlight a group of files and then press Command + "I" the resulting Get Info windows fan across the screen and then cascade down a level and continue fanning until all have opened.
    This behavior is similar for a group of folders, if they all have the same permissions. If the folders have different permissions set the result is a multi object Get Info window.
    Quite sophisticated, not a road I would want to go down.

  • Get Info shows informations greyed-out; I can't edit it!

    Whenever I want to edit a song (because of a misspelling, or to make it go in accordance with the rest of the items, etc.) I find the information is there, but greyed-out, and so, am not able to edit it. This happened before the update to version 11, so I don't know what's wrong.
    I have to say I had a horrendous system crash, and I had to reconstruct two hard drives, so it may stem from the consequences of that lightning strike, but I have no problem with authorizations, so I am at a loss.
    Just yesterday, I put into iTunes a double CD (yes, I don't feel comfortable if I don't own my music. I have DVD's of all I've ever downloaded from iTunes Store, too, so I backup: it's a religion.) And that CD info is also non-editable.
    I really need the capacity to edit my songs. Please help.

    What version of Windows?
    Are you signed into the computer with an Administrator account?

  • How do I make my iPhoto Library's version number appear in the Get Info window?

    I recently (within the past 2 weeks) purchased a new 27 inch iMac and have been importing data (applications and files) from my 2010 Macbook Pro via AirDrop.  One of the first files I migrated over was my iPhoto Library.  I doing so, I noticed a few differences between its file attributes and those of the iPhoto Library file created by default on my new computer - two of which I'll note here.  First, I noticed that the file resident on my new OS was labeled iPhoto Library.photolibrary while my older version did not have the ".photolibrary" extension.  That seemed simple enough to correct so I added that extension to my old library file.  The second difference I'd note - and the source of my question - is that the default iPhoto Library file displayed a version number (9.5.1) in its "Get Info" window, while mine did not.  I checked my file's info.plist file and the correct information seems to be listed.  It reads (in part):
    <dict>
                   <key>CFBundleGetInfoString</key>
                   <string>iPhoto Libary 9.5.1</string>
                   <key>CFBundleShortVersionString</key>
                   <string>9.5.1</string>
    </dict>
    </plist>
    I'm not sure this is really a question for the iPhoto community, as it seems like a more general issue; but, this is my first post to these forums, and I didn't know where to start.  Thanks in advance for the advise/suggestions.

    In terms of the info.plist file, I only reviewed it to see why I wasn't seeing the version number in the GetInfo window.
    The string "<key>CFBundleGetInfoString</key>
                   <string>iPhoto Libary 9.5.1</string>"
    is exactly what will be shown in the Get Info panel. I tested that by simply editing this string in a test library using XCode. I could "Get Info" to show ridiculous versions numbers this way.
    However, none of my older iPhoto libraries will show the version string in Get Info, only libraries I created with iPhoto 9.5.1. or Aperture 3.3 or later.
    There is probably one of the other database files in the folder "database" - *.appdb and *.db  interfering.  None of the Library First Aid options did make the version number show for my older iPhoto libraries - not even rebuilding the iPhoto library. The only way I could make the version number show in "Get Info" was by exporting the library as a new library using Aperture. But this exported library is now showing as Aperture library.

  • Can I change the position of the Get Info window?

    Can I change the position of the Get Info window?

    If you want to open the "Get Info" panel in the center of your screen, define the following Automator service and install it in the "Services" Folder of your User Library. This service will be available when you ctrl-click a file or folder in the pop-up menu and it will open the "Get Info" in the center of the screen.
    Open Automator and select New -> Service.
    Select: Service receives "files or Folders" in "Finder.app"
    Drag a "Run Apple script" action from the Actions pane -> Utilities onto the Workflow
    Paste the following script into the action, after (* Your script goes here *) and before "return input"
              tell application "Finder"
      activate
                        set {d1, d2, d3, d4} to (get bounds of window of desktop)
      open information window of item input
                        set {i1, i2, i3, i4} to (get bounds of information window 1)
                        set position of information window 1 to {d1 + (d3 - i3 + i1) / 2, d2 + (d4 - i4 + i2) / 2}
              end tell
    Save the service and name it e.g. "centeredGetInfo". It will be installed in your library -> Services.
    Now you can ctrl-click any File or Folder, and in the Services Section of the pop-up menu you will see your new service "centeredGetInfo", also in File ->Services in the Finder, when you select a Finder item.
    You can bind this service to a keyboard shortcut in the keyboard preferences and use it like the standard "Get Info"

  • Disk Utility Accident & Weird Symbol In Owner Name In Get Info

    Recently, I was trying to troubleshoot some error messages I was getting with Carbon Copy Cloner, the source of which revolved around a mysterious file in my Shared folder. This file wouldn't delete no matter what I tried, so while searching for answers I heard that repairing permissions might help. Well, I forgot to read the message at the top of Disk Utility when I opened it. You know, the one that tells you that Disk Utility cannot repair permissions on a disk with open files or an on your current startup disk. Well, I ran disk utility without booting from the OS X install disk first. That probably explains why it made a bunch of changes to permissions.
    Well, as I was about to close Disk Utility, I realized what I'd done, and I figured that it was no big deal. All I had to do was boot from the install disk and then run Disk Utility again, and it would repair the permissions the correct way. At least, that's what I thought. Then, when I did so, Disk Utility didn't make near as many changes as it did the first time. And, because I didn't realize until too late that I might need the output from the first time I ran Disk Utility in case something went wrong (i.e. I needed to undo any of the changes it made) I didn't even try to save it, if that is even possible.
    Of course, this all didn't seem so bad. I thought that maybe the reason Disk Utility didn't make so many changes the second time was because some of the changes it made the first time really did need to be made, and thus that's why they weren't undone when I ran it again. However, I knew some thing was wrong when I tried to get info on a random file on my desktop just to verify that the owner was correct and everything. As soon as I either clicked or hovered over get info, I got the little rainbow spinning wheel for a second or two, which never happened before. Then, when I clicked the Ownership and Permissions triangle in the Get Info panel, I noticed something amiss. In the slot where the file's owner was supposed to be displayed, which should read "myusername(me)" the slot instead displayed some east asian character where my username should have been. So far, that, and a longer delay for the Get Info panel's appearance are my only symptoms, but I'm worried there may be further reaching repercussions to my system that I haven't discovered yet.
    So, I guess what I'm asking is, based on my symptoms, can someone figure out what they think is wrong, and then possibly help me fix it. I don't know technical terms, but is it a corruption in the file that holds all the names of the users on my system? Is there a cache or preference file somewhere I can trash or edit to fix this. Or can I run fsck to fix this? Or, if it is a corrupted file like that I may have copy of it. I didn't mention it above, but Carbon Copy Cloner did manage to clone pretty much all of the folders on my hard drive in alphabetical order on an external firewire drive except for a few of the last few hidden folders and my Users folder.
    Anyway, thanks in advance to everyone who takes the time to read this post.

    Hi ailurous,
    I run repair permissions all the time without first booting from the install disk. It works fine. On the other hand, attempting to Repair Disk without booting from the install disk will not work.
    I'm thinking something other than faulty permissions is causing your problems..
    That being said, I'd suggest booting off your install disk, running Disk Utility, and selecting First Aid>Repair Disk.
    If it says that it couldn't repair the disk, just keep running it until it gives you the Disk Successfully Repaired message.
    Let us know if this helps or if you get some error messages.
    Bob

  • Adjusting in "Get Info" tab isn't enough

    I have been trying to consolidate my songs under their proper albums and artist names; because I have been getting music from places other than iTunes. iTunes wont put them together now, for some reason. I went through and looked at all the "Get Info" tab information and it is all identical and it still will not do what I am asking it to. My OCD is going nuts.
    For example:
    I have 7 albums by Ke$ha. They all fall under Ke$ha when I go to the Artist tab, and it shows her name and then all the albums and which songs go in each one.
    I downloaded another song from another album of hers (Not from the iTunes store) that I dont have any music from yet. It is by Ke$ha.
    I put in the info exactly the same as it was for my other songs under her name, and the year it came out, then filled out the appropriate album name for the new album, etc. But it still shows up in a different section. Still under the name Ke$ha because I set it at that, but not with all her other music:
    << where all the other music Ive got from her (From the iTunes store)
    << where the one song from the one album I got, not from the iTunes store, in a fully separate artist category. (I also assigned that album artwork for it because iTunes wouldnt find the artwork for it either. It will find it in the store, but it wont assign the artwork. Glitch?)
    Help? If Im just going to have to live with it, thats fine, I can eventually get over it but.... :/ it would be great if I could change that.

    Under the 'Get Info' option on a song, if I go to
    the
    artwork tab, the artwork, which appears in the
    main
    window and has been successfully transferred to my
    iPod, does not appear, thus preventing me from
    removing or changing any art work. Why is this?
    That's wierd. You're selecting one file? Does the art
    area appear empty, or is there a white box?
    No, it's just blank like there's nothing there. My computer is kinda old, but I don't see why that would stop this element of the program from working.
    I thought it just flat out didn't work until I saw it working on my sister's computer. Then I realised I was screwed.
    Also, with the addition of lyrics, will that only
    work with the newest video iPods and Nanos? I've
    seen
    that it works on "5th Generation", but I don't
    know
    things by their generation number. I have an iPod
    Photo. Why can't they change the program on the
    older
    iPods to accept the lyrics???
    Currentyl, the lyrics work only on the nano and 5G. I
    don't know when/if they'll add that to the iPod photo.
    Okay, 5th Gen = video iPod. Thanks!
    Thanks
    Simone

  • No messages at Inbox, lot of messages on Get Info

    I have two email accounts set up on Mail.app.
    My first one works flawlessly, but number two is acting strange ever since I created it.
    When I do a 'Get Mail', my messages don't show up at the inbox, but only show up at the 'Get Info' panel.
    I can't get the emails that are on that panel to be downloaded to my inbox. Any idea why this is happening? Is this a known issue?
    Thanks.
    Macbook   Mac OS X (10.4.8)   Mail version: 2.1.1

    Sometimes messages left on the server clog up the account there, or Mail chokes on a message it cannot download and that prevents it from downloading the rest as well.
    You may try first removing from the server messages that have already been downloaded. Assuming there is nothing wrong with the MessageUidsAlreadyDownloaded file (or if you’ve already re-created it), you can tell Mail to remove from the server all messages already downloaded by doing Preferences > Accounts > Advanced > Remove now. Alternatively, you may remove specific messages by other means (e.g. webmail or the Account Info window).
    If removing already downloaded messages doesn’t work, the next thing to try would be removing messages that Mail hasn’t downloaded yet (you may want to try to download them with another mail client such as Thunderbird first, to avoid losing them). In particular, try removing the first message that Mail appears to be choking on. Actually, if there is a message on the server that Mail has trouble with, you may be able to identify it in the Account Info window. Don’t assume that it’s junk just because Mail doesn’t display it properly in that window, though. Try looking at its contents by other means (e.g. webmail) before removing it from the server.

  • XMP Info Panels in Illustrator CC

    Hi,
    Please can some let me know where to find the Custom XMP Info Panels in Illustrator CC.
    Thanks

    You may want to look at this…
    http://www.databasepublish.com/blog/installing-custom-metadata-panels-and-get-info-panels- adobe-bridge-cc

  • Get Info not showing Thumbnail

    FCS Newbie (1.5.2).  When opening the 'get info' panel on an asset, it doesn't show the thumbnail above the metadata on the upper left side of the panel.  It's not that big of a deal, but I want to make sure this isn't an indication of other problems with my db. 
    How I got here:  I installed the application and created the database on my startup drive to kick the tires (production media and proxy media folders and associated bundles).  I then moved these folders and bundles to an external drive and updated the devices in admin preferences panel.  Everything seems to work fine except for the thumbnail showing up.  I also noticed that the 'resources' tab of the 'get info' panel doesn't show any path for the primary representation 'library' device. (see image below)  Is this a  problem?

    The assets do load correctly.  It turned out to be a custom metadata group issue.  I recreated my custom metadata group and made sure "Show Thumbnail:" was checked.  It had been checked in the previous one, but somehow jiggling the handle made it display properly.
    Also, there is no path shown for the primary representation "library" device because I'm saving everything to the base level with no folder structures (I warned you I was a newbie).
    Everything is working as expected.  Thanks for your help!

  • Problems with 'Get Info' in movies and TV Shows

    Hey all,
    Very Recently I have acquired a problem with my iTunes application and specifically the 'Get info' option in movies and TV Shows. For some reason I when I use apple + I or go to file then 'get info' the information box for the item in question does not appear.I have tried restarting iTunes and also restarting my machine but the problem still persists. any help would be appreciated, thanks.

    bump

Maybe you are looking for

  • Cannot paste any online pictures from any websites into word/powerpoint/onenote 2013

    I cannot paste any pictures/ images copied from any websites into word, powerpoint and onenote. Now, i am so stressful because this strange problem occurs with both versions of Microsoft Office (2010 and 2013). I had updated the Microsoft Office from

  • Use different ringtones for diff contacts?

    My blackberry used to allow me to change the ringtone for each contact.  Can I do that with iPhone?  I have a 4s. Next question - can I change the ringtone notification for when certain contacts send me texts?  This would be great

  • ITunes for iPhone 4S, Mac OS X 10.6.8

    Hello  - I am currently running OS X 10.6.8 on an iMac Intel Core 2 Duo. I have iPhone 4s iOS 6.1.2 and am trying to connect to the iMac. It tells me that I need at least iTunes 10.6.8 for the iPhone to be recognized. Where can i safely download a ne

  • Error whilst trying to sync my calandar to the desktop

    when I click on configure button, when trying to sync my Curve 9380 to the desktop app it comes up with an error "the organizer applications on your computer are not supported" I am using windows 7, Outlook 2010 butcannot get into the settings to con

  • Error using "web-jsptaglibrary_2_0.xsd"

    I'm trying to use the following: <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0"> In my custom taglib b