Need help to find the "main point size.

Hello

I need help to find the "main point size.

Any style of Pará which is more than 2 points of my font size, I need the alert message "His more than 2 points for your font size". For example, the font size of my para 10 here is my attack should be 12 points rather than his 14 points, I need the alert message.

Is it possible by script?

by

hasvi

Hi Hasvi,

Try this.

var doc = app.activeDocument;

var texts = doc.stories.everyItem ().textStyleRanges.everyItem () .getElements ();

pstyle var = ' Suite of paragraph styles have more leadings: \r\r ";

for (var i = 0; i)<>

{

PS var = text [i] .pointSize;

If (texts [i] .leading > ps + 2).

{

pStyle += text [i].appliedParagraphStyle.name;

}

}

Alert (pStyle)

While it is true that mark as answer correct and do not select your question as a correct answer.

Kind regards

Cognet

Tags: InDesign

Similar Questions

  • I JUST DOWNLOAD THE CC ON MY DESKTOP N HAVE NO IDEA WHERE TO START PHOTO EDITING IT S LITTLE DIFFERENT OF MY ITEM 12 NEED HELP TO FIND THE TUTORIAL THANK YOU A.S.A.P.

    I JUST DOWNLOAD THE CC ON MY DESKTOP N HAVE NO IDEA WHERE TO START PHOTO EDITING IT S LITTLE DIFFERENT OF MY ITEM 12 NEED HELP TO FIND THE TUTORIAL THANK YOU A.S.A.P.

    Start with the tutorials in the Welcome window to start and takes a course from a site like Lynda.com.

  • I need help to find the correct version of the BIOS.

    As the title says I need assistance to find the correct version of the BIOS and now I have P02 - A2: 2011-10-31 and an Acer G3610 predator.

    I need an update is because I bought a new CPU and when I start the computer, it starts only for like 2 sec then turns off then on again one then it emits a beep of 3 or 4 times, then he is leaving and on but never goes Windows just a black screen so my guess is that I have an older version of the bios that does not recognize the CPU.

    Nope.

    I think they changed the revision of the motherboard, so you can't Flash this BIOS on your system.

    That's why you have a size mismatch error.

    So, you can not upgrade to Ivy bridge, sorry.

  • need help to find the windows vista key

    need help to find windows vista key product I lost my kit, but I have windows vista cd/dvd. Please answer me as soon as posssible, thank you

    http://magicaljellybean.com/KeyFinder/

    Use the program above to find the product key in your operating system Vista running and active.

    If a desktop computer: Watch next or back.
    If a laptop: look on the underside.

    If a recovery disk, most of the manufacturer's recovery disks do not need a product key to get back to factory settings.

    This is the limit of the help that we can give you a missing product key.

    See you soon. Mick Murphy - Microsoft partner

  • need help to find the folder of firefox on iMac

    New to this bear so please with me.  Here's the situation.

    I was getting malware and understand how to get rid of it, ok so far.

    Then I noticed that my sites kept has the question 'connection' in the top bar.

    I was trying to figure this out when I followed some information 'to a point' - big flaw here.

    I caught and then drag to a folder that was causing my problem.  It was not the case.

    I think it was my firefox profile folder, but the folder is not sure - klzqb90r.default.

    Put in the trash.  Oops again.

    Tired opening Firefox - come with LACK of PROFILE error message - your firefox profile cannot be loaded.  It may be missing or inaccessible.

    I think I got it but now, just do not know where to put it.

    So, read more.  Search for the library and the firefox folder, is not there.

    Now I am panicking because I can't open firefox to do 'something' to him to try to find my profile / refresh etc.

    Can someone please help?  I think I need to find the correct folder that belongs to my folder by default, BUT am not a guru of computing here... some understanding of computers.

    Thank you.

    In the menu go to the Finder, select "go to folder...". "(Shift + command + G)

    Type or paste in

    ~/Library/application support/Firefox/Profiles

    return.

  • HP-15f039wm: need help to find the driver

    I got lost. need help finding the (USB) Universal Serial Bus controller. would be very grateful for help.

    Hello

    Try the driver on this link.

    http://ftp.HP.com/pub/SoftPaq/sp66001-66500/sp66211.exe

    Kind regards

    DP - K

  • HP pavilion dm1: need help to find the correct drivers

    Hello

    my laptop was incredibly slow, so I formatted my drive and reinstalled windows 7. Now to looking for reinstall the proper drivers, but can't find the right one.

    My laptop is a HP Pavilion dm1, model 3387 36.0 A (according to CPU - Z)

    K12 F.01 BMI and Bios HP AMD chipset

    If you need more information please let me know.

    Thanks in advance for any help you can give,

    with sincere friendships.

    Low van den Dungen

    Hello @Bas4,

    Thanks for the quick response!

    Please use the following link to find the product number of your laptop:

    How can I find my model number or product number?

    Using the product number, follow the instructions in my previous post, and you should be able to access the drivers for your product.

    I hope this helps.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution' , this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Kind regards!

  • need help to find the driver of fingerprints...

    Hi there: -.

    I need the printer driver finger for hp pavilion dv6-6160ee for 32-bit windows, I changed my window from 64 bit to 32 bit and I found all the drivers does not work, I downloaded all the drivers, but could not find the driver of fingerprints.

    Please someone help me...

    Abdo free

    Hello

    Uninstall any driver and the system fingerprint reader software.

    Resources:
    Uninstall software in Windows 7

    Uninstall or change a program in Windows 7

    Download and install the driver for the fingerprint sensor fingerprint validity here.

    Download and install the latest version of the software from here.

    Restart the system and check the results.

  • Need help to find the number of the sequence of CCTV

    Can someone help me get the car license plate. I enclose the video and the image still, if someone help me I'll be very grateful to her.

    In fact, I am nothing to do with it, but need to find the owner of the car as it did something bad to somebody and run from the place.

    Please do the needful.capture.png

    Can't be done I'm afraid.

    There is nothing in the license plate, and it is impossible to retrieve the number.

  • HP 15-f010dx: need help to find the drivers for Windows 7

    Had to load Windows 7 on my laptop for work.

    Could not find the drivers for the following items:

    PCI device

    SM Bus controllers

    Ethernet controller

    USB controller

    Any help would be greatly appreciated.

    Hello:

    See if these drivers work:

    SM Bus controller: Install this driver first and then restart.

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64380.exe

    PCI device:

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64387.exe

    Ethernet controller:

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64388.exe

    USB controller:

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64386.exe

  • HP 15-g041AU: downgraded Win8.1 to Win7 and now need help to find the drivers

    I didn't like Windows 8.1 and demoted Windows 7 SP1 64-bit, all drives in the formatting process. Now, I don't have some drivers and I don't know which ones to download because there are like 2 identical types of drivers for everything on the page: http://support.hp.com/us-en/drivers/selfservice/hp-15-g000-notebook-pc-series/6545564/model/7234521

    In Device Manager there are 6 things with yellow! s

    1. Ethernet controller
    2. Network controller
    3. PCI device
    4. PCI encryption/decryption controller
    5. SM Bus controller
    6. (USB) Universal Serial Bus controller

    I don't know if I'm supposed to provide the device ID or hardware ID so tell me please provide any ones.

    And also additional things that I think are related to drivers

    • Function keys do not work, so I can't change the brightness while now the fn + f2/f3. What is the HP System Event Utility driver?
    • "The current video card can supoprt Aero with a driver that is compatible with the driver model (WDDM) Display Windows. I just do the graphics drivers on the page I put up? And who? Or is not serious?
    • See also the information system > components > display, is intended to be generic llike "" Standard VGA Graphics adapt "what is that its meant to be or will they have specific network adapters after I installed some drivers?"
    • Under components > Modem, there is nothing there
    • Under components > Ports > series, there is nothing there
    • Under components > USB, it says "Standard Enhanced PCI to USB Host Controller" rather than something more speciifc.

    I compared these to my laptop which has fairly specific things written under these articles, so I'm assuming that they are to do with the right drivers? I just threw these here in the case where theres more underlying issues.

    Also how one I would go about installing these drivers because the USB ports do not work? The pilots put it on a CD?

    I'd appreciate any assistance because without them, my laptop is essentially unusable. Thank you very much.

    Hello:

    Yes, you can burn the files to a CD and use it to install the drivers you need.

    You must install Chipset AMD and 3 USB drivers that are not on the support page for your laptop.

    http://h20565.www2.HP.com/hpsc/SWD/public/detail?swItemId=cp_117181_1

    Download and install both of these drivers for usb...

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?s p4ts.oid = 6943835 & swItemId = ob_139250_1 & swEnvOid = 405...

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?s p4ts.oid = 6943835 & swItemId = ob_133037_1 & swEnvOid = 405...

    Reboot after each installation.

    E/D PCI controller: Not on your laptop support page.

    Run this file and then manually install the driver.

    http://h20565.www2.HP.com/hpsc/SWD/public/detail?swItemId=vc_133833_1

    To manually install the driver, go to Device Manager and click on the controller E/D PCI who need the driver.

    Click on the driver tab, click on set to update driver.  Select her browse my computer for driver software option and find the folder of the driver that was created when you ran the file.

    This file will be located in C:\SWSetup\sp66974.   Make sure that the include subfolders is selected and the driver should install.  Then restart.

    Ethernet controller:

    Realtek LAN driver (LAN)

    File name: sp69625.exe

    PCI device:

    Realtek card reader driver

    File name: sp69619.exe

    I do not know what model wireless card your model uses, so if you still need the driver for the wireless (network controller) card, follow these steps not so I can understand this and then I'll post the link for the driver for the wireless card, you need...

    To find the hardware ID, go to the Device Manager and click the labeled device network controller.

    Then click on the Details tab in the upper part of the window network controller.

    Now, you see a drop-down list of property and it is set by default to the Description of the unit.

    On this list and select the second element (Hardware ID).

    After the first string of characters you see in the window.

  • Need help to find the position of a substring in a string

    Hi all

    I have a VARCHAR2 column in my table that contains data similar to '152-425-3265-8-5623-45 '.

    I want to find the position of the numbers in the column.

    For example:
    If I give 8 - the query should return me 4.
    If I give 425 - query should return me 2.

    The numbers are delimited by '-' value.

    Help, please.

    Thanks in advance.

    Published by: 868171 on June 24, 2011 04:33

    Published by: 868171 on June 24, 2011 04:34

    Please try this it might work
    I have not tested for REGEXP_COUNT

    SELECT REGEXP_COUNT(SUBSTR('152-425-3265-8-5623-45',1,INSTR('152-425-3265-8-5623-45','425',1,1)),'[-]')+1
    FROM DUAL
    
  • Need help to find the pilots! [Compaq 6910] [Win 8.1]

    OK, so I have 4 missing drivers, I need installers for. I have a problem where he plays the unit unplug his every few seconds, and it is a potential solution. If the drivers that I need are:

    Note: I will ask with name, id of material with the compatible id in that order.

    PCI serial port

    PCI\VEN_8086 & DEV_2A07 & SUBSYS_30BE103C & REV_0C
    PCI\VEN_8086 & DEV_2A07 & SUBSYS_30BE103C
    PCI\VEN_8086 & DEV_2A07 & CC_070002
    PCI\VEN_8086 & DEV_2A07 & CC_0700

    PCI\VEN_8086 & DEV_2A07 & REV_0C
    PCI\VEN_8086 & DEV_2A07
    PCI\VEN_8086 & CC_070002
    PCI\VEN_8086 & CC_0700
    PCI\VEN_8086
    PCI\CC_070002
    PCI\CC_0700

    PCI Simple Communications Contoller

    PCI\VEN_8086 & DEV_2A04 & SUBSYS_30BE103C & REV_0C
    PCI\VEN_8086 & DEV_2A04 & SUBSYS_30BE103C
    PCI\VEN_8086 & DEV_2A04 & CC_078000
    PCI\VEN_8086 & DEV_2A04 & CC_0780

    PCI\VEN_8086 & DEV_2A04 & REV_0C
    PCI\VEN_8086 & DEV_2A04
    PCI\VEN_8086 & CC_078000
    PCI\VEN_8086 & CC_0780
    PCI\VEN_8086
    PCI\CC_078000
    PCI\CC_0780

    Unknown device

    ACPI\VEN_HPQ & DEV_0004
    ACPI\HPQ0004
    * HPQ0004

    [Does not]

    Video controller

    PCI\VEN_8086 & DEV_2A03 & SUBSYS_30BE103C & REV_0C
    PCI\VEN_8086 & DEV_2A03 & SUBSYS_30BE103C
    PCI\VEN_8086 & DEV_2A03 & CC_038000
    PCI\VEN_8086 & DEV_2A03 & CC_0380

    PCI\VEN_8086 & DEV_2A03 & REV_0C
    PCI\VEN_8086 & DEV_2A03
    PCI\VEN_8086 & CC_038000
    PCI\VEN_8086 & CC_0380
    PCI\VEN_8086
    PCI\CC_038000
    PCI\CC_0380

    Looking for drivers for this will be extremely useful for a lot of people, and although this sentence bothers some people, thanks in advance!

    P. S.

    I found the drivers for certain things, they are below! They say Windows 7, but they also work with 8.

    PCI serial port:

    PCI Simple Communications controller

    Unknown device:

    Video controller:

    [32-bit] https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=18223

    [64-bit] https://Downloadcenter.Intel.com/Detail_Desc.aspx?DwnldID=18228

    Hello:

    You need this driver for the first 2:

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=3357379&swItemId=ob_78214_2&swEnvOid=4059

    This one for the 0004.

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_125640_1

  • BlackBerry Smartphones need help to find the 'Blocking' menu

    IM finding the menu to disable call blocking. After I enable it I can't remember where they are? Fool me > _

    Finally... I found it...

  • Need help to find the link to the external AS2 file

    I bought a picture gallery program that works very well, but I'm fighting to make a very slight change. I asked the author for assistance, but previous requests have met with no response, so I ask my question here, too.

    This program has most of its logic in an external file of AS2. I made some small modifications to this file and want to save it under a new name. However, which also would require me to change the reference to the external file AS2 from in the fla file. That is my problem. I can't find any code in the fla that contains such a reference.

    If I try to publish a swf without this file in the desired location, it causes a compilation error, proving that there must be a reference somewhere to this file. However, doing a search for this file in the "current document" AS2 when to display the fla file in Flash CS4 produces no result. Where else this reference can be hidden?

    David

    This .as file is definitely a class file based on what you described, not just an actionscript include file.  You might be able to find that it connected via the objects in the library.  Right click on each object movieclip in the library and choose the option to link in the menu that appears.  You should see an interface that has fields for an identifier and a class.  You may find the file attached in this way.

    To find the code associated with objects, you must have the Actions panel open and just click on an object on the stage, like a button or whatever.  Code is attached in the Actions window.  The ability to attach the code like this was abandoned when AS3 was released.

Maybe you are looking for