Of script Lady no need a simple script to work with labels...

I have everyone! I know that I've already should I have learned Javascript. God knows I've really tried, but I couldn't cope with the work. Again, I must ask my dear Scripting Guys to fix this for me!

It goes like this: I'm going to start publication of some books that have a lot of points with different tabs. There are many it is really difficult to solve problems with paragraph styles.

What I need is a script that could mimic the operation of the two buttons that are available in Word format

IncreaseDecrease.PNG(Increase and decrease the indent level of the paragraph [to the default tab next or previous already established in this paragraph style]).

Can someone help me?

Thank you in advance,

Maria

Maybe I was not quite clear. Since tabs could not be repeated, making the general script enough to handle the case of say, the tabs set at 10mm, 25mm, 31mm, 46mm and 70mm might be a bit difficult. But if we can assume that they all go to repeated intervals (10mm, 20mm, 30mm, 40mm, 50mm, 60mm, 70mm), it is much easier.

Two scripts. Save it as increaseIndent.jsx:

app.selection[0].leftIndent+=app.selection[0].tabStops[0].position;

And then decreaseIndent.jsx:

app.selection[0].leftIndent-=app.selection[0].tabStops[0].position;

Simply, it increases or decreases the leftIndent of the current selection by the position of the first tab stop of the same selection.

Tags: InDesign

Similar Questions

  • If I buy adobe Elements 10 or later what software should I make the DVD to mov files, the files are large and I know they must be compressed and I don't want to lose quality... I know that adobe pro you still need software, but will still work with el

    If I buy adobe Elements 10 or later what software should I make the DVD to mov files, the files are large and I know they must be compressed and I don't want to lose quality... I know that adobe pro you still need software, but will still work with the elements and may itself make the compression... I know it can burn DVDs...

    vidog

    If you burn to a DVD disc in first items 10 and later versions, some choices are

    a. DVD-VIDEO standard screen or 4:3 16:9 on DVD disc

    Both will have the frame size of 720 x 480 pixels. But the big screen comes with a 16:9 flag that extends approximately 856/480 16:9 display video after encoding. The screening is not adjustable by the user... and you end up with the DVD-VIDEO format @ 29.97 images per second interlaced.

    b. format of the AVCHD on DVD

    Here is the video display 1920 x 1080. And, depending on the version, can be 29.97 images interlaced per second, or 23.976 progressive frames per second (if not just 29.97 images per second interlaced). Although you can generate some AVCHD DVD with a regular DVD burner, DVD AVCHD is in need of a blu - ray player that supports supported AVCHD DVD or one of these drives multimedia multi which is also.

    c. If the player allows... you can export your Timeline file saved on a USB Flash drive and then insert this USB Flash drive in the drive to get the reading of the file. On this route, you can set the Premiere Elements avancΘs to customize your choice of export preset.

    Please consult the bulletin and consider then, let us know if we have targeted your question. If this isn't the case, please give more details in the areas where we do not have.

    Thank you.

    RTA

  • ACROBAT STARTUP SCRIPT NOT WORK (with extendscript Tooklkit CS6)

    Hello

    I lived in programming, but beginning in the JS script in CS6.

    I developed some scripts in the Acrobat XI Pro console, now I wan't to install this global script that can be called by a menu.

    I'm working on Windows 7, with 64-bit:

    The path of the script is:

    C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\Javascripts

    the script name is Confg.js

    The script is created with editor Extendscript Tooklkit CS6

    only contains this line:

    App.Alert ("Hey, since a script running in the world");

    I expect that an alert is poping up, when I opened Acrobat Pro XI with any PDF file:

    for a change

    app.addMenuItem ({cName: 'Test Menu', cParent: 'Help', cExec: "app.alert ('Menu Item Test'); '" "});

    does not work either

    After the opening of PDF Pro XI with an arbitry PDF, I get an error in the console:

    Acrobat Version mit integrierten EScript-Funktionen 11.0

    Acrobat SOAP 11.0

    SyntaxError: illegal character

    1:folder - Level: App:Config.js

    If I created the file with a text editor, things work perfectly, as expected.

    If I change this own file with Extendscript Tooklkit CS6 editor , even after the file is corrupted. This is Jean-Claude clumsy. Any solution, so I can work with Extendscript Tooklkit CS6 editor?



    Without seeing the file 'text' produced by Extendscript Toolkit in a hex editor, it is rather difficult to say. If there is a code of control buried in the text file.

    Acrobat supports all UI development because most of the scripts are quite small.

    Another problem may be that Extendccript does not add tags suitable scripts when editing Acrobat JS in Acrobat.

    Acrobat is not one of the programs listed, which is accompanied by Extendscript.

  • Pavilion p7 - 1227c needs the network drivers that work with Windows 2008 server R2

    I bought this new Pavilion P7 - 1227C at Costco so that I can install Windows Server 2008 r2 with Hyper-V role

    I managed to install Windows 2008 server but unable to t the wireless or ethernet to work.  I tried to use the driver 64 bit Windows 7 without success.

    I think return Costco if I can't get the network driver that will work with Windows 2008 Server R2

    Thanks, in advance.

    Tour37

    Hi Paul,.

    Thanks for the link, I was able to download AR816X_V.0.14.15_WHQL.

    The driver works for Windows 2008 Server R2.  I just need to find the drivers for the wireless card.

    Best regards

    Round 37

  • I need this XP screensaver to work with Windows 7.

    Hello:

    This is my first time joining a forum. I need help with a program that works with XP but not Windows 7. There are all the files that I can copy in the Windows XP folder in the Windows 7 folder in order for this screen saver work? Your help would be greatly appreciated. Thank you and blessings.

    Here is the error message:

    Problem event name: APPCRASH
    Application name: winter town 3D Screensaver.scr
    Application version: 0.0.0.0
    Application timestamp: 43c8049a
    Fault Module name: ntdll.dll
    Fault Module Version: 6.1.7600.16559
    Timestamp of Module error: 4ba9b21e
    Exception code: c0000005
    Exception offset: 00051fe0
    OS version: 6.1.7600.2.0.0.256.48
    Locale ID: 1033
    Information has additional 1: 888
    More information 2: 888a3d4696c61988deb920c04307de27
    Additional information 3: cd75
    Additional information 4: cd75042e4836c06bf11bcc0710e072b3

    Exception code: c0000005 often indicates a type of permissions of the problem.

    Take a look at the available compatibility tab when you right click on the file, screensaver.exe.  See what he says about running in compatibility to XP or 98 and also to see what he says about 'Privilege level' down down and run as administrator there.

    You may need to uncheck 'Hide known file types' in Control Panel / folder Options / view to see file extensions.

    Make older programs in this version of Windows (Windows 7)
    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Help with Windows 7 compatibility issues
    http://Windows.Microsoft.com/en-us/Windows7/help/compatibility

    Windows 7 Compatibility Center
    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

  • Problem with script - only works with numbers?

    I hope that someone can help you. I have this script that I use to make bar codes:

    If (event.value! = "")

    Event.Value =

    "*" + event.value + "*" ""

    It works fine when a user enters a number, but it does not accept letters. When I change the font 3 of 9 barcode, the field contains "0." This field is calculated from another field. Any way to have this letters to accept as well? I use Adobe X.

    Thanks in advance.

    I need to see the file. I would be happy to take a look if you can display it somewhere or email me at: acroscript at gmail dot com

  • How can I get this script to work with Firefox?

    This 'go to the top of the Page"button does not work with Firefox 5.0.What do I have to do to make it work correctly?

    Handwriter you actually use Firefox 3.6.13 based on your useragent (look at the end, not starting). Mozilla/5.0 is on all versions of Firefox. Firefox 5.0 won't come out for a while yet as 4.0 has yet to be released.

  • Need help to update to work with the new vSphere environment 6

    I have a great powershell script some time ago, I created to clone our production servers in a development environment and configure them for use in isolated vShield development networks.

    We have recently updated our environment vSphere vSphere 6 and changed architecture autour 5.

    Previously with vSphere 5 we had a unique vCenter server that managed our two datacenters by itself.

    With the new design of vSphere 6, we have a PSC and VCSA server to each data center in one area of SSO.

    The first thing I did with my script of cloning is up-to-date reference vcenter for a table of two servers, so I connect to two VCs at the same time.

    This allows me to see and manage the two vCenters virtual computer guests, so get - vm strives to see the comments of the source.

    However, the problem is that when I try to clone a virtual machine from one data center to another, the command fails because it can't find the virtual machine to clone.

    # Virtual Centre server or VM host to connect to
    $aryVIServer = @("vc01.domain.com", "vc02.domain.com")
    
    # Load VMware environment
    Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
    $VIServer = Connect-VIServer $aryVIServer
    
    # Server cluster group to deploy to
    $strVMCluster = "Bubbles"
    
    # Define name of new server including environment prefix
    $vmName = "$($envPrefix)-$($CloneServer)"
    
    # Select Host with least memory consumption
    $selectedHostObj = Get-VMHost -Location $strVMCluster | Sort-Object -Property MemoryUsageGB | Select-Object -First 1
    
    # Select folder to place VM guest into
    $folderObj = Get-Datacenter -Cluster $strVMCluster | Get-Folder $selectedBubble
    
    # Select datastore with most available space
    $selectedDatastoreObj = Get-DataStore -VMHost $selectedHostObj | Sort-Object -Property FreeSpaceGB -descending | Select-Object -First 1
    
    # Clone new VM from running Server
    $newVM = New-VM -Name $vmName -VM $CloneServer -VMHost $selectedHostObj -Datastore $selectedDatastoreObj -DiskStorageFormat "Thin" -Location $folderObj -Confirm:$false
    

    He used to work very well when there was a single VC but of course does not now with two.

    So far, the only difference is the change in VCs. We always use the same exact 5.0 running ESXi hosts to the same place in separate data centers.

    Oh and I'm now using powercli 6.3 R1 instead of 5.5 R1.

    I look forward to this type of procedure should work fine, and I just need a different command for virtual machine cloning now?

    Well, I have solved the first problem according to them here:

    Re: Impossible to deploy VM model on different vCenter Server (in the same domain of SINGLE sign-on)

    However, now I can't run Invoke VMScript without getting an error that the proxy authentication is required.

    If I remove all my proxy settings in Internet Explorer, then it connects fine but this script must be run by a number of engineers without being dependent on their proxy settings are disabled.

    I can programmatically change the settings of proxy at the beginning of the script, but nothing not preventing to change those back if they use their browser and break execution of the halfway of script.

    Never had any problems with the Proxy settings before and I didn't know any other messages that have directly relevant air.

    Anyone know of a way to avoid this?

  • I have a HP Pavilion dv7-4045ea and need to know if it works with a 5 GHz router?

    I have a Virgin super hub which is really crowded 2.4 ghz frequency. No one here uses the 5 GHz range.

    Hi, Jon:

    Relatively easy. If I can do it, anyone can.

    Here is the link to the service manual. Read Chapter 4, page 55.

    http://h10032.www1.HP.com/CTG/manual/c02642701.PDF

    Always remove the battery and unplug the power adaptor to the laptop before working inside the PC.

    I think you just need a small Philips screwdriver.

    Paul

  • After update 2015.5 CC, I lost all my own brushes and my actions and can not find them anywhere. It sucks! I need help, I have to work with them!

    ! !

    [Left the lounge general Forum, compliant to a more specific product - Mod support forum]

    CC 2015.5 pretend is actually CC 2016. It is a new version with its own folder structure. If you leave the CC application remove your old versions when you updated, you should always have your records there and you can copy your stuff on the new version. If you prefer to work in the old version, you can if you want to reinstall.

  • Script for "fill with pattern" - "use a last used.

    Hello guys, I need a bit of help to automate my work.

    I work with patterns (such as a Model Designer), but I need to automate my work a little.

    There's this great function now 'fill with... model' and then you have scripts for those.

    That said what I usually do, it of that I'm working on a few models, proceed to the design then their test on a file empty large format.

    so

    1. I do my drawing, then

    2. click on "set as a new ground" then

    3. I opened a new charge fbig large file and

    4. use "fill... with reason" and

    5. Select the last one, I created...

    Then I tried to create an action / script so I can you know, batch job, having to decide which of the grounds are good on large format later.

    AND HERE IS THE BUG!

    When I added exactly the same steps in the macro in action - it will work for the first file, but for the second, it will always use the same model used previously, as stocks macro sees it as "fill with pattern XXX" (i.e., not as "last used"), so I land upward with all the photos in large format filled with the same model instead of different.

    I thought then modify the macro so when I g oto step 4

    4. use "fill... with reason" and

    Add "use script" among loading scripts, which would have set something like 'use the last defined pattern' - can be both a code like "use the newer model defined" or "new model added to the batch.

    I understand the logic, but I have no idea how to do to modify the scripts in this area.

    This will save me hours of work, for all your help will be most appreciated.

    Here is a link for the jsx file...

    ExpireBox

  • How can I run script jsx button with photoshop, I been tried more (HTML 5)

    How can I run script jsx button with photoshop, I tried, but I get no results please someone help me in this issue that I can continue my extension and gives me the good code that I can use it.

    Thank you very much

    In the index.html file, you will need to create a button and call the function when button by clicking on:

    "button" id ="button" onclick = "getDucumentFormatFun ()" > name of the Document:

    In the js file you must set the getDucumentFormatFun() function:

    function getDucumentFormatFun() {}

    fileFormat var = "get_fileFormat()";

    evalScript (fileFormat, fileFormatCallback);

    }

    define the callback function: fileFormatCallback

    function fileFormatCallback (res) {}

    Alert ("the name of the active document is:" + res);

    }

    In jsx file:

    get_fileFormat = fileFormatFun;

    function fileFormatFun()

    {

    Return app.activeDocument.name;

    }

  • [AS] Script in a group label

    Hi all

    I have a group of shapes which, when grouped in Indesign, form an object.  This group object's script titled "special."  I'm trying to script title each spare parts this group object 'special' so that if users never ungroup by error this object, I can always handle all items with the label "special"... which is actually my original group object.

    The problem is that I do this labelling with a script because I have thousands and thousands of files, I work with that.  I would love it if something like it worked (but is not):

    say application «Adobe InDesign CS3»

    mis pourla à page point « spécial » de document 1

    put theShapes to all point page of all items page of pourla

    mis label de theShapes à « spécial »

    end tell

    The problem that I keep running into is that it seems when an object is grouped, all the objects inside of this group becomes, for all practical purposes invisible.  The line ""set theshapes to all point page of all items page of pourla "returns an empty list '{', as if there are no elements that make up the group. "

    So I thought that taking a more tactile approach.  Select it, ungroup it, tag, return together them:

    say application «Adobe InDesign CS3»

    set theObject to page item "special" of document 1

    Choose pourla

    separate selection

    set label of selection to "special"

    group selection

    end tell

    The problem with this approach is that after you ungroup the object with a script, it is no longer a choice because he still made by hand, so putting the label of a selection that is not product an error.  Grrrrr.

    Friends, I know that this is possible, but I need a little outside perspective on it to help me understand it.  As always, thanks in advance for your help!

    At least in CS3, group items are available through all elements of the page. As follows:

    tell application "Adobe InDesign CS3"     tell active document          repeat with thisItem in all page items of page item "group"               set label of thisItem to "groupie"          end repeat     end tellend tell
    

    If you graduate your item group 'group', after running this script you will see that all the children in the group now have a label of "groupie."

    Is this useful?

    EDIT: Is really nothing as useless as the editor Jive box is there?

  • Task Scheduler works with scripts created in open Script?

    I am to evaluate whether the Script Open eTester 8.2 is needed. One consideration is that we use the Task Scheduler and it does not seem to recognize all of the scripts that I have recorded in open Script. I use Task Scheduler that comes with the download of the v9. I understand that I could use the new etester which is included with the v9 but I heard that product may disappear in the future and this open Script is his replacement. Rumor?

    Thanks for any help,
    Jeff

    Hello

    OFT installer contains the Task Scheduler and task scheduler does not come only as far as I know. When you try to perform a custom installation of the OATMEAL package wouldn't see you Task Scheduler as a separate entity. If this works with the OFT or etester.

    You can use the Oracle Test Manager to run and schedule jobs to open script.

    Thank you

    Published by: Openscript user 100 on November 17, 2009 20:47

  • I need the simple installation mode of firefox 5.0 on my eeepc 900 (default Xandros Linux) - I used to install 3.0, but is now obsolete

    the ed-meister has provided an excellent simple mode for the installation of version 3.0 of firefox and I did it correctly, but then when I looked at the edits, he said that I need to upgrade to firefox 5.0 and I need the simple mode for linux and I don't know what to type in the terminal/console

    Thanks for your help if necessary

    Check with the EeeUser forum to see what they have to say.

    http://Forum.EeeUser.com/

    I don't see Installing a browser 2011 in a 2007 operating system. I replaced Xandros with Easy Peasy 1.6 some time ago, 3.0 and 3.5 were too darn slow on Xandros even with the GTK update. A 900MHx processor will never be a speed demon, but you I have to give him a chance with a better than Xandros OS.
    Personally, I stay with 3.6.x until the end of the support. I don't see the need to upgrade to the latest version of Firefox now, especially on Linux.

    http://www.geteasypeasy.com/

Maybe you are looking for