Getting area of characters/images... Any tips?

My requirement is that we need to measure the size of some texts in the document using scripts. (The document is created by using Indesign tagged text  file placed in the document.)
So we placed LS and LE tags between those and then run the script to find page wise size like this:
e.g. <LS> some img..
some text
<LE>
some other text
<LS>
some text2
<LE>
Tried using a grep to find the start and end tags. And then find difference between the baselines of LS and LE to get height.
i) But then how do i get the page in which the find is done, tried findPage() function available somewhere else in forum, but not sure it gives correctly as it outputs in reverse page order, in alert.
ii) Is there an alternative to get current page number and size of select text(not manual selection).
Thanks.

tmdnaturephotog wrote:
I don't know what I did wrong, but all of a sudden I have duplicate folders and images both in lightroom and on my computer...to the extent that doing anything in lightroom is very slow and I'm not at all certain which files are the duplciates or even where they are. Trying to identify which images or which folders I could safely eliminate or save to another location is driving me crazy. If anyone has any suggestions on how I can clean things up, I'd certainly appreciate learning about them.
Thanks,
tmdnaturephotog
This sounds as the exact same problem I just have had (see my post http://forums.adobe.com/thread/529862?tstart=0 ) and I really sympathize, having lost 3 days to solve that issue... (thanking those who helped!)
If when you try to synchronize your files, LR wants to import images that are already there and create duplicate folders, that's it. To my opinion, this is due to a catalog corruption (can happen after a hang, USB failure, power cut, bad memory etc). Just guesses however.
You might have to build a new catalog if deleting the duplicates is not enough. To know what folders and images were imported last, switch to the Processing module and then you will see in the history when the image was imported. Deleting the wrong folder will make you loose your settings (happened to me...)
Good luck!

Similar Messages

  • FILE PLACE images are SO blurry in photoshop CC-.. (these are high quality photos) any tips?

    I am deleting backgrounds using eraser > saving > then combining these images into a collage on a new blank document. When I file place the tif's are SO BLURRY. I always do my work like this, but just updated my PS. File, Place is now File, Place Embedded or Place Linked. Let me know if y'all have any fixes.

    OK you noted the image files are high quality photos what can you tell us about the document they are being placed into? What is your Photoshop preference for default interpolation set to.?

  • I have a problem with the Liquify filter - when I launch it all I get is a posterised green screen of the image - Any tips for fixing this?

    Hi
    can you help or suggest a remedy for this problem please?

    My Liquify effect only shows a black preview area and I cannot use the brushes. | Mylenium's Error Code Database
    Mylenium

  • How do I get good Distortion Tone? Any Tips?

    I can't seem to get a good sounding distortion guitar tone using the logic express guitar amp pro or corresponding effects together with it. It always sounds thin or too muddy. So I did double track and make one brighter and one darker which made it sound better but not quite there. All the clean takes sound fine but the distortion sounds like ***. And yes I know how to play and have a gibson les paul. SO anybody have tips other then the obvious (eq, and compression) please lend me a hand.
    Thanks so much!

    No doubt loads of people are now going to recommend 3rd-party plug-ins, but I would advise saving your money until you've had a really good exploration of what the provided plug-ins can manage.
    So keep changing those settings…
    You said you didn't want the obvious advice, but actually that is the best advice (EQ, Compression).
    There are other plug-ins besides Guitar Amp Pro that are worth experimenting with. And if the sound you're getting is "always either too thin or too muddy" then that means all you have to do is find a way of getting in between those two extremes… you must be getting close!
    Alternatively, if your interface allows it, you could run out to a real cab & mic it up. It would be a bit of trouble, but it would be authentic & unique…

  • We had to force quite iMovie, now we cannot get it to open. It keeps saying it is not responding. Any tips?

    We were building a video in imovie when it stopped responding. We had to force quite the program. Now when we cannot get imovie to open.
    Any tips?

    The Problem is resolved by :
    Click on the "Start" button. Click "Run." Type the word "cmd" in the open box. When the DOS screen comes up, type "netsh winsock reset." Press "Enter." Type "exit" to close the DOS window and go back to Windows.
    Restart the computer.
    Thanks to my friend Sunil.
    Read more: http://www.ehow.com/how_2125133_do-winsock-reset.html#ixzz2kyccghec

  • Some of thy images are appearing pixelated.  any idea on how to get the issue fixed

    some of my images in Aperture/iPhoto are appearing pixelated.  any idea on how to get the issue fixed

    Where can I find a copy of that? Like if I were to completely delete everything on my ipod, what would I do to go about restoring my songs?
    Also I have a theory that one of the videos on my ipod is causing all the other stuff. However, I can't delete videos off my ipod (see https://discussions.apple.com/message/20313736?ac_cid=tw123456#20313736). Is there any way i can get the music from the backup but not the videos?

  • I have just reinstalled Adobe Acrobat X1 and I can't save any PDF's that are emailed to me. I just get "This document could not be saves. There is a problem reading this document (21)" and then when I click OK i get "insufficient data for image"  Help!

    I have just reinstalled Adobe Acrobat X1 and I can't save any PDF's that are emailed to me. I just get "This document could not be saves. There is a problem reading this document (21)" and then when I click OK i get "insufficient data for image"  Help!

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • I plugged in my phone to my macbook to transfer images. I pulled ou the usb cord without ejecting it properly and all the pictures from my phone got deleted and didint get transfered. Is there any way I can recover my photos :( They are really important.

    I plugged in my phone to my macbook to transfer images. I pulled ou the usb cord without ejecting it properly and all the pictures from my phone got deleted and didint get transfered. Is there any way I can recover my photos They are really important.

    Plug it back in and restore it from the backup that is made everytime you sync your phone. iPhone forums are here:
    https://discussions.apple.com/community/iphone

  • HT2506 I'm using Preview with a MacBook Pro and MacOS 10.6.8. When adjusting sharpness in the Adjust Colour tool, images are not saved. Any hint? Thanks.

    I'm using Preview with a MacBook Pro and MacOS 10.6.8. When adjusting sharpness in the Adjust Colour tool, images are not saved. Any hint? Thanks.

    I too experienced the same issue.  Here are my details:
    Recently I bought a 15” Macbook Pro and last night I tried to connect and use a Edirol FA/66 Firewire 400 connected outboard audio interface using a Firewire 400 to 800 adapter then connected to a Firewire 800 to Thunderbolt adapter since the MBP doesn’t have a native Firewire port.  What I observed is that the Edirol was not getting power from the bus nor did the MBP (running Yosemite) recognize the Edriol.  At first I thought there was a problem with the Edirol since I haven’t used it in a while but when I connected it to an older MBP that has a native Firewire port, it worked normally.  Is there a known issue with these sorts of external audio interfaces working properly with newer MBP running Yosemite?  I’m hoping that a software update will fix this issue.

  • I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?

    I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view.
    Photos that were synced from a computer are deleted by moving/removing/de-selecting them from where they were synced from and then re-syncing. If you want to remove them all then normally you could just sync an empty folder (in terms of photos) to the iPad, but as you don't want to sync at the moment you can't do that.
    You can reset the iPad back to factory settings and start from scratch with it : Settings > General > Reset > Erase All Content And Settings

  • Itunes suddenly stopped working and i cant  re-install. Get error message (I believe error 7). Any tips?

    Itunes suddenly stopped working and i cant  re-install. Get error message (I believe error 7). Any tips?

    Hello, Ruud1234. 
    Thank you for visiting Apple Support Communities.
    Here are the steps I would recommend going through as they should resolve the issue.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    Jason H.

  • When i try to burn my iMovie to a dvd it does not play correctly. It gets stuck or slows down at parts...please any tips, ideas or help? Thanks

    When I create my movie on iMovie it plays great. Then I try to burn it to a dvd and it doesn't play well on the dvd. It either gets stuck at parts or slows down or skips a little. I try to save it to my theatre and burn it that way. Or I have added it to my documents and burned it that way. Either way worked. Any tips, ideas, help or solutions would be very much appreciated. This is driving me crazy and i am wasting so many dvds! Thanks!

    bertjones00 wrote:
    It reads other DVD's just fine.  I've tried playing commercial DVD's and homemade movies and they all work just fine.  I'm also able to create and read data discs with no problem.   I'm only having trouble playing this one particular DVD movie.   I'm able to play the movie in my PS3 with no problem and can play it in a regular HDMI DVD player.   I'm not sure if my computer doesn't recognize the encoding for the movie or if I need to download another type of software to play the movie.  Someone suggested that i try using PowerDVD to see if it could play the movie. 
    Ok then tell me this what is that DVD your having problem watching then? And what Region Code are you from like Euro is Region 2 and so on??? Could be the Region problem on the DVD doesn't match your drive Region as well?
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • Had to reinstall itunes onto my pc, but now can't get onto itunes store any tips

    had to reinstall itunes onto my pc. but now can't get onto itunes store any tips

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page). Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • IPhone 5c getting restarted itself. any tips or suggestions?, iPhone 5c getting restarted itself. any tips or suggestions?

    Hi ,
    I have got 5c. THis thing gets restarted itself randomly. does anyone else faces this problem? any tips or suggestions?

    It sounds as if the display is failing. This is supported by your saying the screenshot looks normal. The screenshot is created by using the actual video feed for the display, so if it is looking normal and the screen is not, I suspect the screen.
    You could try restoring the device as new and see if it comes back, but you are probably better of making a Genius Bar appointment at the nearest Apple Store to have the hardware checked. Good luck.

  • Apple TV streams with my iPhone fine but with my iPad I get sound only..any tips ?

    When I stream iplayer with Apple TV using my iPhone it works fine but when I try the same thing with my iPad I can only get sound and a box on the tv that says ' internet radio'. Any tips please?

    Safari on Macbook or other PCs does not support Airplay to AppleTV. Some people have added this support using Safari extension called ClickToPlugin but it only works for appleTV Ver 4.3 or older.
    It would be a very useful addition to Safari. Granted that YouTube and other video sites are supported directly on the appleTV but searching is so much easier on the PC.
    I wish appleTV or Safari product manager or a developer sees this and can add support for this to Safari natively. It will surely help for better adoption of both Safari and appleTV !

Maybe you are looking for

  • While Deleting any Web App i dont see Loading or In Process of Deleting

    Hi, I am facing a very strange issue, while deleting a Web App I don't see any progress bar or any loading that show that deleting is in process. Has anyone faced this same or do I need to some settings which it shows me a progress bar. In the below

  • HP Officejet Pro 8500A to printout 100%?

    How can I setup my HP Officejet Pro 8500A to printout 100%? Printout now is reduced.

  • Commit in procedures

    hi, i have written one procedure which contains only insert and update statements which are coming from front end. after insert/update the records into table wether i need to write commit in my procure or commit is done from front end itself ie commi

  • 11g pivot query syntax question

    I searched the forums and I have seen questions similiar to the one I am asking, but its not the exact same issue. I need 3 fields in my 'for' clause. I get 'column ambiguously defined. I think I get this error for a different reason that other peopl

  • Java plug in 1.5.0

    I am using mozilla firefox and recently installed the jre version 1.5.0 java hot spot plug in. I have a 4.5 yr old Dell using 98se. Since the installtion I have had problems with the computer. I would like to uninstall the Java program and see if the