AppleScript remove lines

Hello

I am trying to remove a range of line with Applescript in InDesign, but I do make...

I now how to remove a single line:

Tell application "Adobe InDesign CS5.5"

activate

the value allTables all tables in all the stories of the active document

say point 1 of allTables

Remove line I

tell the end

tell the end

But not for a range...

If you know how, can you help me?

Thank you very much

PS: Sorry for my English, I'm a french girl...

Thai

Hello Thaïs,

For the CC 2015 version is:

say application "Adobe InDesign CC 2015"

activate

say each table of each history of the active document

delete (lines 2 to 5)

end say

end say

It should work the same for your version.

Tags: InDesign

Similar Questions

  • Remove line home pg up, pg dn buttons does not

    Laptop HP G60 - 243CL

    PrtSc remove line home pg up, pg dn buttons does not. they simply stop for some odd reason. How to fix?

    Thank you

    laptop is under warranty

    Bill

    Hi Bill,

    In this case, it would look like it is a hardware problem.

    As your laptop is still under warranty, my best advice would be to contact HP and make arrangements for this fixed - you can check the status of your warranty here.

    If you live in the United States, contact HP here.

    If you are in another part of the world, begin here.

    Kind regards

    DP - K

  • How to remove line/address in PDF file?

    How to remove line/address in PDF file?

    Joan Willets

    Remove you it with text editing / retouching tools in Acrobat object or mark for redaction, so he gets blacked out.

    Mylenium

  • Add or remove lines of a treeTable with a view read-only object

    Hello-

    I get an error of Houston-25016 when I go to remove a line in a treeTable. I want to create the hierarchy of a stored procedure, have the user add and remove nodes without remind to the database. I'll walk the tree and see what has changed and made the necessary updates to the database manually.

    What is the correct method to add or remove lines form the user interface component?

    Thank you!
    Tom

    Try the definition property for each attribute in VO on still changeable.

    Amit

  • PDF Optimization removes lines for the arrows & circles

    I am using Acrobat 9 Pro for Mac.  I created documents that have need of arrows and circles around some of the images, & have created PDFs of these documents.  I need to optimize PDF files to reduce the size of the file, but in doing so, the PDF Optimization removes lines from the arrows & circles, leaving just the start & end points.  Here is an example of before and after optimization:

    Lines Removed.png

    I changed almost all the settings in the PDF Optimizer, but it always deletes the lines.  What I'm missing here?

    Thanks for your help!

    I just found it seems to do with the way that Word for Mac 2011 creates PDF via "Save as PDF".  I found that this works:

    1. In Word, print-> "Save as Adobe PDF" with the highest print quality.
    2. In Acrobat Pro, run optimization PDF with "Standard settings".

    I had the following results:

    • Original Word doc @ 17.2 MB
    • Adobe @ 14.2 MB PDF file
    • Optimized @ 3.8 MB PDF file

    It looks like a lot of steps for me, but it produces a PDF file of high quality to a decent size.

  • How can I remove lines "separator" bookmark?

    I want to eliminate all the separator lines in my favorites. I'd like them to go away.

    Hi, the separators that you created yourself can be removed by a right click on it > delete. Hope that helps.

  • How to remove line before Panel table with databases?

    Hi friends,

    I created the table creation of database for the list of users. Which works very well. And I also recover data that is I've stored previously and I have displayed in table format on the front. Now, I want to delete a whole line, is not a wise order, for example, now, I have a table, there total 7 rows and 5 columns. Now, I want to delete the 3 rows using by selecting the line (i.e., click anywhere in this line and press the button) that day that the rank will be remove from the database. Then remaining will again store in the database.

    I want this way is it possible or not?

    Thanks

    Concerning

    Joel M

    India

    Note: I use the LabVIEW database connectivity toolkit

    Database: Ms access

    Sorry for my grammatical error

    arun575 wrote:

    Hi friends,

    [...] Now, I want to delete the 3 rows using by selecting the line (i.e., click anywhere in this line and press the button) that day that the rank will be remove from the database. Then remaining will again store in the database.

    Instead of storing data in the database, simply remove the record that you have removed from your FP indicator and recharge the light on the database.  (The first column in my database is named ID - autoindexed, the primary key)

    EDIT - only sub blue-vi is https://lavag.org/files/file/60-array-point-to-rowcol/

  • How to remove lines null in a matrix?

    Hello

    I have a 2D datamatrix and there are a few lines nil. My original program should recognize all zero lines and remove them. How to do this?

    I tried with the function delete of table but without success. I also tried with the functions of table OpenG but... No.

    I have attached a vi that simulates my problem. There is a zero line and I want to remove it and have a table with no rows.

    Cheers for good help!

    If you have more large data structures, you should never use of "delete table" inside a, because it requires constant memory reallocations. A better solution would be to make operations on-site and resize once at the end. Here's a simple example (8.5).

    (This solution can be optimized, but should show you the basic idea).

  • How to remove lines in my vo fit two and sometimes in sound?

    Mr President

    My worm jdev is 12.2.1.

    My use case, it is that I have a VO in which I enter two lines and sometimes its due to the involvement of certain products sales tax.

    On two rows as a single line is visible to the user for which the product id.

    The second row two is hidden who have no product id.

    Now how to remove these two lines and the other in the same way that they have been inserted in two and his.

    The peak of lines is something like that

    multiple rows delete.png

    Now my question is what a single line is visible to users who have IDs and product line without product id is hidden to the user in my vo.

    Then if the user click on the Remove button and then the two rows are deleted together with the click of one button Delete in the case of two lines combined.

    Concerning

    Mr President

    In fact, my goal was to remove only lines which were inserted in some and not all rank both in the join of two by vid.

    I find the solution by adding a new column in my table of details named joinrows.

    Change my code like below and at the same time only one or two lines are deleted at once in the same way that they have been inserted in the one and two.

        public oracle.jbo.domain.Number getFirstSeqNumber(String seq_name){
    
                 SequenceImpl seq=new SequenceImpl(seq_name, getDBTransaction());
                    return seq.getSequenceNumber();          
    
                       }
    
        /**
         * Custom DML update/insert/delete logic here.
         * @param operation the operation type
         * @param e the transaction event
         */
        protected void doDML(int operation, TransactionEvent e) {    
    
            if(operation != DML_DELETE)
                 {
                     setAmount(getPurqty().multiply(getUnitpurprice()));
                 }
            if(operation == DML_DELETE)
                {
                  deleteSecondRowInDatabase(getJoinrows());
                }  
    
                           if (getStaxrate() != null )
                                      {
            if (operation == DML_INSERT )
                       {                     
    
                               oracle.jbo.domain.Number joinrow = getFirstSeqNumber("JOINROWS_SEQ");
    
                               setJoinrows(joinrow); 
    
                               System.out.println("I am in Insert with vid= " + getVid());
                           insertSecondRowInDatabase(getVid(),getLineitem(),getJoinrows(),"6010010","SALES TAX PAYABLE",getCredit(),getCrname(),
                            (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));     
    
                           }
    
            if(operation == DML_UPDATE)
                              {                                                    
    
                                 System.out.println("I am in Update with vid= " + getVid());
                             updateSecondRowInDatabase(getVid(),
                                 (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                              }
                       }
            super.doDML(operation, e);
        }
        private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7, Object value8)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "Insert into vdet (VID,LINEITEM,JOINROWS,DEBIT,DRNAME,CREDIT,CRNAME,AMOUNT) values " +
                 "('" + value1 + "','" + value2 + "','" + value3 + "','" + value4 + "','" + value5 + "','" + value6 + "','" + value7 + "','" + value8 + "')";  
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }
                  }  
    
                  private void updateSecondRowInDatabase(Object value1, Object value8)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "update vdet set  AMOUNT='"+ value8+"' where VID='" + value1 + "'";                     
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);  
    
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }                  
    
                  }
    
        private void deleteSecondRowInDatabase(Object joinrows)
          {
            PreparedStatement stat = null;
            try
            {
              String sql = "delete from vdet where JOINROWS='" + joinrows + "'";
              stat = getDBTransaction().createPreparedStatement(sql, 1);
              stat.executeUpdate();
            }
            catch (Exception e)
            {
              e.printStackTrace();
            }
            finally
            {
              try
              {  
    
                stat.close();
              }
              catch (Exception e)
              {
                e.printStackTrace();
              }
            }
          }      
    

    Concerning

  • Remove lines from the file export with scripts

    Hi all

    I'm trying to remove some lines after their mapping in FDMEE given a condition. Here I have an example of the source file:

    Account Currency Currency source Company Amount
    100000EURUSDXX100

    100000

    USDUSDXX120
    200000EURAUDXXX10
    300000EUREURXXX20
    200000AUDAUDXXX10

    I want to remove from the export file, lines that are red. I mapped to the column currency to ignore all the currencies EUR (maybe it's not necessary) to have:

    Account Currency Company Header 4
    100000EURYY100
    100000IGNOREYY120
    200000EURYYY10
    300000EURYYY20
    200000IGNOREYYY10

    Currency source is not necessary, but I am without mapping it. I'm new in FDMEE and in the scripts, but I thought that maybe a script custom or an AftExportToDat but I'm naïve... Could someone help me please?

    Thank you!

    Hello

    using custom application as application target in FDMEE?

    If you define mappings to IGNORE as Simon suggests that they should not be exported to the file. They are always exported? I do not expect that

    If the lines are exported so that you can use AftExportToDat to remove currency field lines to IGNORE.

    Probably, you will need to create a new empty file, then go through the lines of your export file and write that in the new file if CURRENCY <> IGNORE

    Better would be to Enable export file value not so you can write your own script to export the data in the event your want to TDATASEG for the current LOADID

    (Ex: SELECT...) OF TDATASEG where LOADID =? AND the MOTTO <> 'IGNORE')

    where? fdmContext ["LOADID'] is passed within the parameter list

    Concerning

  • Best way to remove lines of 38million?

    Hello

    ENV: Oracle 11 g 2 (11.2.0.3.6) on the file system, Oracle Linux 6.2 64bits

    I was invited to remove redundant/old data from a table that has not been cleaned for long loooong.

    Select count (0) PI PROC_INST

    where there is not (select id

    of ids_to_keep rb

    where rb.id = pi. RAW_BUFFER_ID

    )

    and pi.instruction_type not in ('URL1', 'URL2')

    Returns the count = 38442973

    Delete it:

    remove IP PROC_INST

    where there is not (select id

    of ids_to_keep rb

    where rb.id = pi. RAW_BUFFER_ID

    )

    and pi.instruction_type not in ('URL1', 'URL2')


    I tried to delete like this, but it failed with "ORA-30036: unable to extend segment by 8 in the undo tablespace ' UNDOTBS.

    What is the best way to remove pieces and validation for each segment of deleted data?

    Best regards

    How many lines will remain in the table? Maybe create a new table using ETG and exchange the original after the operation table would be more efficient (if the table is not in permanent access).

  • How can I remove lines in my picture?

    I remember seeing an easy way to remove wrinkles as power lines of an image, but I don't remember how to do it. Can someone tell me please?

    Try the disappearance of lines with Photoshop CC - YouTube

  • How to remove lines under separate Notes?

    My document has strange lines between each note - does not know how to remove them. It is not the 'rule above,' as far as I can tell. I adjusted the rule above a lot, and that affects only the line between the body of the text and the Notes section. The problem is the lines between each note. They resemble the underscores, but I don't think that's what they are, either. Kind of a rule that I don't know how to change. See:

    Screen Shot 2016-01-21 at 11.01.45 AM.png

    Looks like the paragraph style that you are using has a rule in paragraph below market.

  • How to remove lines

    How can I remove the blue lines in Adobe InDesign CS5. I want to see how the document looks without it.

    Screenshot_15.png

    Switch to preview mode. There is a button at the bottom of the Toolbox, a command on the view menu, or you can use the keyboard toggle W, when there is no active text cursor.

  • Check box to remove lines

    Hi guys,.
    I had a simple requirement for the removal of certain rows in a table by using a check box. I googled for the same thing and I got a few solutions. First try to use a temporary variable appeared in the original Version, but which on get this attribute at the bean he gives null (the reason I guess is that I'm adding values when running and also removing during execution, and as it is transitory and not from not DB so it gives null). The second method uses the table.get selectedRowData, but it is deleting only one line at a time. I made the selection of rows in table also properties several natures he deletes one line at a time. Please suggest a way out.

    You can check this link for the example:

    http://adfsonal.blogspot.in/2013/01/select-multiple-records-crud-operations.html
    

    Also, make sure that the checkbox column Updatable property is set as "always."

Maybe you are looking for

  • iPhone ios 9.3.1 6s keyboard

    Hi, in short, you used to power press and hold the number of characters on the keyboard of the iphone and it would display alternatives, a good example is the key of £, which, on my 5 s on IOS 9.1, you press it for a long time and it shows many signs

  • Recovery of product does not work

    I believe I had crashes on my computer so I decided to use the recovery of the product CD. Whenever I try to restore it, it blocks to halfway through the writing of the Ghost image on the hard drive. Could you all this be due to a bug/virus on the ha

  • save paper photos

    I have hundreds of pictures of the hard copy.  Need to make room for storage and want a copy, scanning of discs.  Which is the easiest and fastest way to do it.  I have a HP Photosmart all-in-One e-printer.

  • Vista add %20 to Eudora names of attachments

    I have a new HP with Intel quad core chip.  OS is Vista Home Premium 64-bit.  Very happy with the PC and Vista.  Use McAFee antivirus for 64 bit OS.Problem I use Eudora 6.1.2 in paid mode for email and it works perfectly.  My problem is to save attac

  • lost the mapped drive

    Our office has a small working group, while using Windows 7.  To keep all our data files on one of the three (as a server).  My computer is mapped to the drive and I can see the 'server' in my view of the network, but he does not see the drive on thi