Written with a specific paragraph style Can I transfer data

In a document in every text frame there are short texts written in paragraph style
the data in this paragraph style can I transfer into a new text frame
I'm doing this process with TOC
Is it possible with a script
If possible specified in the data (1. and 7.) can we transfer the characters with grep

app.findGrepPreferences = app.changeGrepPreferences = null;   
app.findGrepPreferences.findWhat = ".+";   
app.findGrepPreferences.appliedParagraphStyle = "test"; //mention your paragraph style name 
var mySearch = app.activeDocument.findGrep();   
myFrame = myDoc.textFrames.add ({geometricBounds:[".5in",".5in","5.5in","5.5in"]});//textframe will created in the first page of your InDesign document 
myFrame.insertionPoints[-1].contents = "CONTENTS\r"; 
for(i=0; i<mySearch.length; i++)   
    var mySearchContent = mySearch[i].contents; 
    mySearchContent = mySearchContent.replace(/(\d+)(\t.+?\t)(.+?)(\t\d+)/g, '$1-$3'); 
    myFrame.insertionPoints[-1].contents = mySearchContent + "~f" // THİS ERROR  1-A~f2-A~f3-A....
app.findGrepPreferences = app.changeGrepPreferences = null;

Similar Messages

  • HT1373 if I have a Apple ID for my company provided iphone and now have a personal ipad with a different Apple ID, can I transfer data thru icloud?

    I have an apple id associated with my company provided iphone.  Just received an ipad air for christman and set up a different apple id. Can I transfer data thru icloud since I have 2 different apple ids?

    No. You must use the same Apple ID.

  • Exporting text only from specific paragraph style

    Hi,
    Is there a way to export text from Indesign to txt or preferably Excel from specific paragraph style ? I am trying to export only item numbers and prices to excel spread sheet so I can compare against original excel spreadsheet.
    Thank you !

    Not built in, no. But you could do this:
    Create a new paragraph style called "Delete Me". In the paragraph styles
    palette, select all the paragraph styles you're NOT interested in.
    Delete them in one go, and replace them with "Delete Me."
    Now, in the find/replace box, search for "Delete Me" and replace with
    nothing. This will cause all the paragraphs that have the "Delete Me"
    style to be deleted.
    Now what remains in your document is only the text that you're
    interested in.
    Ariel

  • I have Macbook Air with Yosemite os but i can't transfer my file on ftp server

    i have Macbook Air with Yosemite os but i can't transfer my file on ftp server
    i need help

    I'm confused how you think someone on Apple's discussion board can help you with what's clearly a Windows Server problem.
    Surely this would be something better asked in a Microsoft support forum?

  • I no longer have access to my old email for my old apple ID, I made a new apple ID with a new email. Can I transfer purchases?

    I no longer have access to my old email for my old apple ID, I made a new apple ID with a new email. Can I transfer purchases?

    kyrenamackay wrote:
    I no longer have access to my old email for my old apple ID
    You dont need access to yoru old email address.
    Go here -> https://appleid.apple.com
    and update yoru old account.
    I made a new apple ID with a new email.
    Can I transfer purchases?
    No.
    There's really no need to create a new AppleID as this will simply cause problems with multiple accounts.
    Just update your old account with new info.

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • Please how can I transfer data from my laptop to my ipad

    Please how can i transfer data from my Hp laptop windows 8 to my ipad 2 iOS 8.1

    Launch iTunes on the PC with the iPad connected, click on the iPad icon in iTunes, and you will see the different kinds of data that can be synced.
    Matt

  • How can you transfer data from one ipod to another ?

    How can you transfer data from one ipod to another ipod ?

    The geniusbar told me what to do, I understood but there is still a problem for me >:/ It's not showing up though. Like "device."  Nothing is happening, and I tried as soon as I got home. Then after half an hour, then an hour, then 3 hours. My problem is that it's not showing up! It's stuck in recovery mode! There's still like 25% battery. So I have no idea why.

  • Can you transfer data from one iPad to another iPad

    Can you transfer data, books and music from one iPad to another .

    You can use iCloud to sync your books and music bought in the iTunes Store, but for anything that you didn't purchased in iTunes Store you must use iTunes

  • Can I transfer data from my G4 to my IMac over a firewire without them syncing or messing either one up - do not want to modify either one...!

    Can I transfer data from my G4 to my IMac over a firewire without them syncing or messing either one up - do not want to modify either one...!

    Boot the G4 Mac into Target mode...
    http://support.apple.com/kb/HT1661
    That should make the G4 look like a big FW drive to the iMac.

  • Paragraph styles - can I create one so that tables label: Table 1, Table 2, Table 2A, Table 3...

    I have certain sections where the table headings continue with letters, but not always.  Can I create a paragraph style, or manipulate the numbering easily, so that I can add letters after the table # when it is necessary?
    Table 1
    Table 2
    Table 2A
    Table 3
    Table 3A
    Table 3B
    Table 4
    etc...

    Try Numbered list
    http://blogs.adobe.com/indesigndocs/2009/04/numbered_lists_part_iii_figure.html

  • How to handle paragraph styles in imported text with no tagged paragraph styles

    Hi
    Im currently trying to import a file (word file / excel I have both formats) into an indesign book and formatting the text automatically!
    My question is: How is it possible to reflow text into frames and when changing frame it changes paragraph?
    Or how is it possible to change paragraph style when forcing a line break when using text reflow?
    I have already figured out how to reflow the text, and actually also managed to relow text into the frames and change paragraph style. I know how to use the keep option, and by this change the paragraph style when e.g. changing frame break/page break etc.  (but if the content being flowed-in is not tagged with style names then I cannot figure out how to do it) The document and its content I whish to import do not have any tagged paragraphs!
    Then I tried to look into "object styles" and format a text frame on a master page with an object style, and by using a "dilimiter character" forcing the text to start in a new frame when bringing the frame into live on a page. But here I cannot make the "text frame/object style" to apply or to work.
    If any of you have a hint, I would be more than happy to hear from you
    This picture are illustrating the outcome I would to get to....

    If the incoming text does not have styles, or has only one style, there is really not much you can do other than assign styles after the import. If there are recognizable patterns in the formatting, a lot of that can be done with Find/Change, and there are a few scripts floating around that can help automate some of that.
    Also, if your styles have a a good "next style" heirarchy built in, you can select large blocks of text (up to the point where applying next style would be incorrect), then right click the style name in the paragraph styles panel and choose apply style and next style (remove overrides). Warning. Removing overrides will remove any locally applied formatting like bold or italics, so local formatting should be converted to character styles first. Applied character styles are not overrides and will be preserved.

  • Find a specific paragraph style within a table and apply a specific cell style?

    I'm a total beginner when it comes to scripting, but I would like to create a script that finds the paragraph style "resultsUL" within a large table and applies the cell style "female". Sure wish the find/replace was able to account for cell styles as well as paragraph and character styles. Is anyone willing to help me with this? Thank you!

    Hi,
    I do it quickly defining a simple research on the "resultsUL" para style and using a loop with QuicKeys as:
    Cmd-0 is a shortcut associated to the "female" cell style.
    So, What I do: search the para style (Cmd-option-F) and apply the cell style, then search again…
    As easy to do with QuicKeys, I think that can be easily done with a [JS] (faster process!).

  • Trouble with CS5 InDesign Paragraph Styles

    I am creating a new template. I want one style to be "TOC Title", and another to be "TOC Level 1". All my concerns center around the Paragraph Style Options window (Type > Paragraph Styles > Create New Style >(double-click style to modify)  )
    1. No matter what I do, if I stipulate that "TOC Level 1" has leading (Tabs option, enter a "." or period in the Leader box), then InDesign does this for ALL my paragraph styles.
    For the record, under the General option, my "Based On" box is set to "[No Paragraph Style]" for both paragraph styles.
    So either I have to live with the TOC title having leading on it, or the TOC Level 1 having none, and in either case having to do something manually to the TOC everytime I use the template.
    How can I fix this so that TOC Title has no Leader and TOC Level 1 has a Leader of "." ?
    2. How can I set my TOC Title paragraph style so that it centers on the page?
    Edit: Two days later and no reply - I would have gladly supplied more information if I did not make the issue clear enough, and I would have even appreciated a simple "Sorry, I don't know." Since it is highly improbable that nobody out there knows ANYTHING about Paragraph Style tabs in Adobe CS5 InDesign, I must conclude that my issue is simply not "in" enough to be considered worthy of attention from the unnamed scores of elitists which must run this forum.

    I think the only way I'm going to be able to understand the problem is to see a sample file. Please make a sample, even if it has nothing more than your style definitions that are failing, and post a link to it here.

  • Using "Next style" with the same paragraph style for more than one paragraph

    Hi.
    I have been using paragraph styles with the "next style" option, it's a huge help. But I need a bit more. So I have the following paragraph structure: ABCCCABCCCAB...
    I defined paragraph styles for each kind of paragraph, then in paragraph style A, I added paragraph style B as the next style, and so on. However, when I get to paragraph style C I reach a dilemma. Should I define the next style as the same, or define three paragraph C styles (C1, C2 and C3), link them to each other with next style, and then loop the C3 style into the A style again?
    My hope is that there is a way, something like the nested style options, that allows me to define that style C should be used for 3 paragraphs and then the next style becomes style A again.
    Thanks.

    You just need two styles, almost identical, you can duplicate one.  The only
    difference is one has the next paragraph c and one has the next paragraph
    a.  After that I don't see the problem.

Maybe you are looking for

  • Mini displayport doesn't work any more

    My Mini Displayport doesn't work any more with VGA, DVi, just with the Apple Cinema Display. It started one week ago, I've tried many different monitors, but it seems to be that it only works with the Apple Cinema Display, Thunderbolt Ethernet Adapte

  • Unable to deploy example 'banking' application on weblogic, please help...

    Hi, I have downloaded the example 'banking.zip' and have installed it. I have followed all given steps in the tutorial, but I am unable to see the login page. I am also not able to see the ejb and web application descriptor file from the admin consol

  • Not able to create a VO on OAF

    please look at the case scenario below related to the issue. When build the custom page with custom VO using JDeveloper and ran .. the page opens up perfectly as expected. when deployed the same files and ran XML import successfully.. bounced OACore

  • Unable to run a Batch File Operating System Command

    Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing. My Batch file: gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin My Command Line (ID scenario) exec "cmd.exe /c C:\Progra~1\

  • Setting up wireless printing

    I currently have a PC running Windows Xp that has the printer connected via USB. I want to use my Mac Mini to connect wirelessly through the PC computer and connect to the printer. I already enabled sharing on the Windows computer . Is there anyway I