How can I write a script to set left indent?

In three cases as below:

2044.jpg

for example:

Indent from left: 8 mm; first indent: 0 mm

Indent from left: 0 mm; first indent: 8 mm

Indent from left: 8 mm; first indent:-8 mm


How can I write a script to tell Indesign, everywhere where text is, every time when I run the script once, the text can put just a step to the right, and 'a step = 8mm.

Please, I beg you!

Yes, it's exactly what I want, thanks Trevor, thank you very much!

Tags: InDesign

Similar Questions

  • How can I write a script to set the maximum pixel dimensions?

    I need lots of JPGs and limit the maximum size of 500 px. This must apply to the largest side of the image, either in height or width. The other side should auto size proportionally. I currently have to make these changes to size manually. I have not found any scripting language or function which will allow me to set the size of larger pixel to 500 px, no matter what size is the most important.

    Example:

    1. If the image is 1000 w x 750 px: px, I want the script to resize the image proportionally to the largest side, change the width to 500 px

    2. If the image is 750 px x 1000 px h w, I want the script to change the height to 500 px and proportions are consistent for the width

    All ideas are welcome grately.

    Thank you

    Linda

    Create an action that use file - automate - Fit Image.

    I think that there may always be a bug that this should fix...

    Mage http://www.PS-scripts.com/BB/viewtopic.php?f=10&t=3370&p=15152&Hilit=Don%27t+Enlarge+fit+i & sid = ea73e8349aaf965015a4a351340e865d #p15152

  • How can I write Hebrew from right to left in Illustrator?

    How can I write Hebrew from right to left in Illustrator?

    Hi Oriya,

    Please see the thread:

    https://forums.Adobe.com/thread/1570797

    Let us know if that helps.

    Concerning

    Megha Rawat

  • How can I use a script to set the variables?

    I have a script to set a few variables and I need to run the script multiple times throughout the form, for different users at different times.  How can I configure the script as an object in the Variables and call it when I need to run it?  Appreciate all help.  I use SS3.

    var emailSubject = "";
    var cleanDate = Page1.EventDetails.Block2.SpeakingDate.rawValue.replace(/[\/]/g, "-");
    var eventName = Page1.EventDetails.Block1.EventName.rawValue;
    var eventCity = Page1.EventDetails.USaddress.CityEvent.rawValue;
    var eventState = Page1.EventDetails.USaddress.StateEvent.rawValue;
    emailSubject = cleanDate + " - " + eventName + " - " + eventCity + " - " + eventState;
    

    To create a function to be able to reuse the code easily right click in your hierarchy (for example, on your "form1"), click "insert a Script object.

    A new script object will be created, just rename it to something appropriate and then create a function both inside and

    function myFunction(var1,var2,var3){
    ' just an example '
    page1.textfield1.rawValue = var1 + var2 + var3
    }
    

    (I didn't fully understand the significance of the date and the event and the city, and exactly what your function is supposed to do, but it's how you declare a function).

    To call this function you simply reference as form1.scriptobjectname.myFunction(123,"asdf",variablename)

    (just one example of the possible arguments).

    I hope that's not too hard to follow,

    Best regards, Mattias

  • Two part question: 1 How can I write a script for long Division, 2. How can I make my form?

    1. I have a field where I need to write a formula for a division problem: (power/population) / 365.  When I use the simplified field notation I get an error: the entered value does not match the format field.  I want the answer as a number with no decimal point.  If I format the field to 'no format' I don't get an error message but the answer comes with up to 10 digits after the decimal point.  I'd rather have the answer in integer without figures after the decimal point.  How can I write this in the custom calculation script?

    2. on accessibility - I never checked on the display/a Mode and unlocked the Acrobat/PDF compatibility.  Some users do not have a problem by filling out the form, but others are not allowed to fill that PDF/A is enabled for their document.  Is this something on their end?  Or is it something on my end blocking them?

    If you multiply by 100, it appears correctly. But if you need to retain the value of the field, you need to use a script to Format custom instead. If you need help, post again.

  • How can I write action script 3 in the script window?

    Hello

    I am not able to write any code to ActionScript 3 editor. The following error occurs. Help, please.

    No selected action.

    The snapshot of the error is attached.

    Kind regards.ActionScript Error.JPG

    Stop() should be stop(), without capital letters.

    For your first assignment, it seems you were in script assist mode, where I think you need to use forms and controls to enter code (select a control and click on the + sign, etc.).  If you turn off you should be able to manually enter your own code.

  • How can I write a script that will do an event each image?

    I basically need a loop that allows of, say add guide in every single frame.

    example:

    for (int i = 0; I< totalFrames. i++){

    AddMarker();

    }

    This code will process each image on a selected layer.

    var myComp = app.project.activeItem,
        layer = app.project.activeItem.selectedLayers[0],
        inPoint = layer.inPoint,
        outPoint = layer.outPoint,
        frameDur = myComp.frameDuration,
        myMarker;
    
         app.beginUndoGroup("AddMarker");
    
    for(var t = inPoint; t< outPoint; t+=frameDur){ // change outPoint to myComp.duration to process the whole composition
    
          myMarker = new MarkerValue(t);  // change marker value
          layer.property("Marker").setValueAtTime(t, myMarker);
    
        }
    app.endUndoGroup();
    
  • If I have floating values such as 6.3 6.7, 6.9, 7.1, 7.2, how can I write a case statement to handle this

    How can I write a case statement if I want a case for x< 1.5;  ="" a="" case="" for="" 1.5=""><= x=""><= 3.7; ="" case="" for ="" 3.7="">< x="">< 7.2.....etc.  ="" my="" input="" is="" a="" floating="">

    Thank you.

    You don't seem to have set rules on inclusion, but I often use the function in the range and Coerce in these cases.

  • How can I write in a table cell (row, column appear) in a databae?

    How can I write in a table cell (row, column appear) in a database using LabVIEW Database Toolkit? I use Ms Access. Suppose I have three columns in a table, I write 1 row of the 1st column, then 1st rank of the 3rd column. The problem I have is after writing the 1st column of 1st row, the reference goes to the second row, and if I write in the 3rd column, he goes to the 2nd row 3rd column. Any suggestion?

    When you perform a SQL INSERT command, you create a new line. If you want to change an existing line, you must use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column = some_value). The some_column could be the unique ID of each line, date and time, etc.

    I don't know what is the function to use in the Toolbox to execute a SQL command, since I do not use the Toolbox. Also, I don't understand why you don't do a single INSERT. It would be much faster.

  • How can I write Hindi font properties file

    Hi all

    I use jdev 11.1.1.5.0

    in my case, I worked on internationalization where I want to use the hindi fonts

    like this link.

    Majid Hussain: Internationalization of the ADF 11.1.1.3 Applications

    as in post above majid used German language and file properties of writing for the German language (which uses English characters).

    but my problem is that I want to use the hindi language

    so, how can I write material file that supports hindi fonts.

    Manish

    Hi Manish,

    We also had same requirement where we need to show an Indian local language (Hindi, Bengali and many others).

    We had put in place after the approach and it might be useful for you.

    1.-first, we changed the encoding value in jdeveloper.
    go to jdeveloper--> tools--->--> coding preference, select UTF8

    2. we used to get the properties and it is translated and then business value, we have been manually these pair in the package on the resources.

    And the use of what we have been able to set up multilingual support.

    Thank you

    Prateek

  • How can I write numbers

    Hi, I have question

    How can I write numbers 4 to 9 loop form, while and for?

    See you soon

    Set serveroutput on;

    Start
    because me 4.9 loop
    dbms_output.put_line (i);
    end loop;
    end;
    /

    or

    Select level + 3 double connect by level<>

  • How can I write the trigger for the global temporary Table

    Hi Grus,
    How can I write the trigger for the global temporary Table.

    I created the TWG with trigger using the script below.


    CREATE A GLOBAL_TEMP GLOBAL TEMPORARY TABLE
    (
    EMP_C_NAME VARCHAR2 (20 BYTE)
    )
    ON COMMIT PRESERVE ROWS;


    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE, UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    BEGIN
    INSERT INTO VALUES EMPNAME (: OLD.) EMP_C_NAME);
    END;
    /


    trigger was created successfully, but her would not insert EMPNAME Table...

    Please guide if mistaken or not? If not wanting to give a correct syntax with example


    Thanks in advance,
    Arun M M
    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    
    you are referencing old value in insert stmt.
    
    BEGIN
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    END;
    

    then run your app, it works very well...

    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    (
    EMP_C_NAME VARCHAR2(20 BYTE)
    )
    ON COMMIT PRESERVE ROWS;
    
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    dbms_output.put_line(:OLD.EMP_C_NAME||'yahoo');
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    dbms_output.put_line(:OLD.EMP_C_NAME);
    END;
    /
    
    create table EMPNAME as select * from GLOBAL_TEMP where 1=2
    
    insert into GLOBAL_TEMP values('fgfdgd');
    commit;
    select * from GLOBAL_TEMP;
    select * from EMPNAME;
    
    output:
    1 rows inserted
    commit succeeded.
    EMP_C_NAME
    --------------------
    fgfdgd               
    
    1 rows selected
    
    EMP_C_NAME
    --------------------
    fgfdgd               
    
    1 rows selected
    

    He got Arun

    Published by: OraclePLSQL on December 28, 2010 18:07

  • How can I write a DVD blu - ray on a mac?

    How can I write a DVD blu - ray on a mac? I tried a blu - ray burner and (if necessary) the software to use.

    I found the BE14NU40, BD playback/BD write LG, but I don't know if it's Mac compatible.

    Can anyone advice a good burner + software?

    I used one of them for several years and it works very well with Mac:

    ta-drive-solution-blu-ray-6x-dl-dvd-r-rw https://www.MacFixIt.com.au/OWC-mercury-Pro-super-multi-blue-Blu-ray-external-SA...

    Al

  • How can I write a letter in french with Pages

    I use my computer in English, and I have to write an essay in french

    So, how can I write a letter in french with Pages

    Hi Luke,.

    If you are familiar with the French keyboard layout, you can move from the keyboard to this provision.

    If not, you can acess of the accents you will need the English KB layouts using (for example) option-~, then press e to e, or -e option, then press e to e. see the viewer keyboard for other options. Open the keyboard Viewer, and then press option key to display the keys to use for each accent.

    If all the accents you need are not available from an English keyboard, you can still list a French KB language as a 'second choice' and switch to it when you need an accented letter.

    Choice of the keyboard are defined in system preferences > language and text > input sources. If you choose more KB a page layout, the entry menu (a flag) will appear in your menu bar. The indicator shows the currently active KB.

    Kind regards

    Barry

  • Satellite Pro M30: How can I write on a CD 900 MB?

    Hello
    How can I write on a CD 900 MB, I use nero 7 and nero on what they told me I have to update my firmware CD writer questioned. I got satalite pro M30 and windows XP SP2.

    Hello

    I found this firmware on the Toshiba driver page:
    http://support.toshiba-tro.de/Tools/updates/DVD-r-RW-firmware/SD-rxxxx/frmwre-na.zip

    But I m not 100% sure if it works.
    You can also try to search the FW on the driver page.
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp?service=EU

Maybe you are looking for

  • Settings Bluetooth on iPhone crashes settings

    When I enter the settings-> Bluetooth on my iPhone, application settings accidents immediately.  If I disable bluetooth via the control center, I can open the Bluetooth settings, for example, to associate an additional device.  But if Bluetooth is al

  • 8500 HP OFFICE JET PRO 8500 A909n error: B87126D0, unit will not turn off or print

    I'm having the same problem as described by others, "error of 8500 HP B87126D0, unit not turn off or print. I followed all the instructions from documeneted on this thread. I also replaced the power Module, in the hope that would solve my problem. I

  • How to set up a new msn e-mail address

    Please send information on how I can set up a new e-mail address msn.  Thank you

  • Router EA4500 do not open ports even in the demilitarized zone

    I have a router EA4500 running the following firmware: http://puu.sh/4l2Hb.jpg I wish to convey the following ports to host a game server: http://puu.sh/4l2Jb.png In case you're wondering peripheral ip # is correct and my computer has a static ip add

  • Complete process, returns "access denied."

    Hello I'm having a problem on Windows 8 with some process, so far it's Skype and Battlefield 3. These processes sometimes freeze and get into a State where I can not kill them. Taskkill /F does not work, not even in a shell of admin, not even as LOCA