Script to update all TOCs in all open (or book) documents?

Does anyone know of a script that will update all table of contents in all open documents (or even better: all documents in open ID book)?
Any help much appreciated!

FileMaker Pro is just a database and as such is not designed to work well with Automator which relies on knowing exactly what kind of information is being passed to it. Address Book can import "tab-delimited and comma-separated text." The best way would be to export from FileMaker in one of those formats and then import into Address Book. Beyond that it gets much more complicated.

Similar Messages

  • [Ann] Script to Open/Close Book Documents

    .. Is this finally possible in InDesign CS6? (Along with Browse By Table and Find Backwards...)
    If not, or it is but you are still on CS4 (as I am -- I didn't test on CS5, *way* too busy for that!), download the script "bookopenall.jsx" from
    http://www.jongware.com/binaries/bookopenall.zip
    and place it inside a folder named "Startup Scripts", which you should create at the same level as the "Scripts Panel" folder (which is where your own scripts are). Restart InDesign, open a book, and you'll find two new commands in the Book Panel menu:
    "Open Book Documents" will open all of the book's documents;
    "Close Book Documents" will... close all of the book's documents! (And prompt you when changed.)
    Useful? I should think so!
    (Based heavily -- well, almost totally -- on Marc Autret's "FileCloseAll": http://www.indiscripts.com/post/2010/02/how-to-create-your-own-indesign-menus)
    Message was edited by: [Jongware]
    Title changed, as this sounded like a request. (Which it is, but it solves it right away as well.)

    Fred, I'm on both -- but usually on Windows! Don't you just *hate* that workaround? First I have to select the top document, then scroll down the list and select the bottom one. One click too many and the list is de-selected, and you end up getting just one document opened. Annoying!
    Besides, the same trick does not work for closing all book documents, does it?

  • Assistance with my script to find all opened windows (applications running) on remote computer

    Hello,
    I have the following script whereby I want to list all the running (opened) applications on a remote computer.  It's a shared computer between two people who use the same generic ID.  Before one RDP's into it, I thought it would be interesting
    to see if any apps are opened before logging in. 
    Here is the code:
    $cred = Get-Credential
    Invoke-Command -ComputerName server123 {Get-Process *mail* | Where {$_.MainWindowHandle} | Select Name,MainWindowTitle} -Cred $cred
    It works in that it asks for my credentials and runs without any error...but this script also does not display any running applications. I'm not sure what it should show. Perhaps I need to add a line of code to display what it found?
    Another bit of info I would like to use in this script is to also confirm that the generic ID is logged in at the time I run this script.  I could use the following bit of code:
    get-wmiobject Win32_ComputerSystem -computername server123 | format-table -property username
    But when I run this code I get an access denied message. I'm assuming I need to use the Get-Credential again from my first script, but I'm unsure how to use it in the get-wmiobject?
    Any help you can provide would be greatly appreciated.
    Thank you.

    Ok...shifting gears again.  Instead of running this remotely I'm thinking of running a scheduled task on the server and creating this .htm file.  That way no one has to run and enter in credentials (and if entered wrong cause issues with locking
    out the account).  So, I've modified my script and confirmed that when I run it from Powershell when logged into the server, the results file correctly shows the logged in userid and the running applications (windows) I have opened. 
    But, when I run this same exact script from my task scheduler, the running applications piece is blank?  The server I'm running this on is Windows Server 2008.  I've tried running it from Task Scheduler using Powershell and from a .bat file that
    calls my Powershell script.  Both ways results in my .htm file not showing any applications running.  Yet when I run the same script (either from Powershell or the .bat file) the .htm file correctly shows the running applications.  My Task Scheduler
    Job is using the same user id that I'm logged in with so there shouldn't be any permission issues with running from the task scheduler.
    Here is my code:
    $a = "<style>"
    $a = $a + "BODY{background-color:peachpuff;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    $a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"
    $a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
    $a = $a + "</style>"
    get-wmiobject Win32_ComputerSystem | ConvertTo-HTML -head $a -body "<H2>Logged in UserID</H2>" -property username | Out-File C:\Powershell_Scripts\Test.htm ; Get-Process |where {$_.mainWindowTItle} |Select-Object name,mainwindowtitle | ConvertTo-HTML -head $a -body "<H2>Open Applications</H2>" | Out-File C:\Powershell_Scripts\Test.htm -Append
    Can anyone tell me what might be the reason for the script running from the scheduled task having issues?
    Thank you.

  • Weight change in material master, update all open PO's

    Hello
    IS there any standard way for mass update open purchase orders, when weights and volumen in material master change ?
    example:
    there is a change in neto weight for material AAAA, which is inserted into mm02, basic data for his material. This change doesn't effect already created  open orders with this material. Is there any standard way to update them in sap 4.7 ?

    Changes will get reflected for new docs only. This is standard.
    Now other question comes, why you want to change in PO. I am sure PO are already sent to vendor. Then ideally it is not advisable to change in those PO.
    If you haven't sent those PO to vendor, open those PO do some minor corrections SAP will populate the change information in PO documents.
    Also changed information will get effective later at GR stage also.
    So no question to worry.
    Check and revert

  • Script to resize all tables in a document

    I'm using Framemaker 11, and have tons of tables that need to be resized so that they fit within the text frame. Does anyone know of a script or a fast way to resize all the tables in a document at once?

    TableCleaner does a bunch more than just resizing, and is one of the best values I've seen for a plugin.
    Looks like he's switching his content to a Wordpress site, so here's Rick's direct info:
    rick at frameexpert dot com
    [use link: http://www.frameexpert.com/old/]

  • Save all open files?

    Is there a way or a script to save all open files in Adobe Illustrator?
    Thanks

    Thanks. How would one edit this, especially so that it doesn't close the files?
    Do I just delete the 4th line from the bottom?
    var WR="WR-SaveAndCloseAll v0.2\n\n";
    if (language == "de") {
      var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet.";
      var MSG_ask = WR+"Sollen alle Dokumente gespeichert und geschlossen werden?";
    } else {
      var MSG_nodocs = WR+"You have no open document."
      var MSG_ask = WR+"Are you sure to save and close all open documents?";
    var itemstoprocess=0;
    var error=0;
    var Docs=documents.length;
    if (Docs<1) {
      error++;
      alert(MSG_nodocs);
    } else {
      if(confirm(MSG_ask)) {
        for(var i=0;i<Docs;i++) {
          activeDocument.close(SaveOptions.SAVECHANGES);

  • Applescript to save all open documents?

    Hello,
    When I close Numbers, I usually have about 15 documents with changes and I have to go through "Do you want to save changes" for all of them.
    I've googled and tried, without success, to get a script that saves all open documents, except for untitled ones.
    Is there anyone who know such a script?
    Fred

    Here is a revised version.
    The problem was due to the fact that the script save and close the documents.
    When I tested it, it was only saving them.
    --[SCRIPT save&backup4iWork]
    Enregistrer le script en tant que Script : save&zip4iWork.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
    Aller au menu Scripts puis choisir “save&zip4iWork”
    Tous les documents iWork ouverts, ayant déjà été enregistrés puis modifiés seront enregistrés et fermés.
    Si la propriété avecSauvegarde a la valeur true, une copie horodatée de chaque fichier est créée.
    Si le document principal est de type paquet, la copie est compressée (zip).
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: save&zip4iWork.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Go to the Scripts Menu then choose “save&zip4iWork”
    Every open iWork document already saved then edited will be saved and closed.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    if the property avecSauvegarde is set to true, a dateTime stamped copy of each document is also created.
    It's zipped if the main document is a package.
    Yvan KOENIG
    based on my AutoSave script.
    2011/06/09
    --=====
    property avecSauvegarde : false
    true = keep a dateTime stamped copy
    false = don't keep a dateTime stamped copy
    property saveKeynote : false
    property saveNumbers : true
    property savePages : false
    --=====
    on run
              if savePages then my auto4PKN("Pages")
              if saveKeynote then my auto4PKN("Keynote")
              if saveNumbers then my auto4PKN("Numbers")
    end run
    --=====
    on auto4PKN(theApp)
              local titres, theDocs, aDoc, aPath
              tell application "System Events" to set titres to title of processes
              if theApp is in titres then
                        tell application theApp
    As we close the documents, we must store the list of docs in a variable
    or scan the list from the end which would require an index !
                                  set theDocs to every document
                                  repeat with aDoc in theDocs
                                            if modified of aDoc then
                                                      set aPath to path of aDoc
                                                      try
                                                                set aPath to aPath as text
                                                      on error
    Here if the document was never saved before
                                                                set aPath to ""
                                                      end try
                                                      if aPath is not "" then
    Save and close documents which were already saved once
                                                                close aDoc with saving
                                                                if avecSauvegarde then my zipIt(aPath)
                                                      end if -- aPath
                                            end if -- modified
                                  end repeat
                        end tell -- theApp
              end if -- theApp is…
    end auto4PKN
    --=====
    on zipIt(fichier) (* fichier is an HFS path*)
              local Nom, ext, dossier, isPackage, nomAvecDateHeure, source, dest
              set fichier to "" & fichier
              tell application "System Events" to tell disk item fichier
                        set Nom to name
                        set ext to name extension
                        set dossier to path of container
                        set isPackage to package folder
              end tell
              set source to quoted form of POSIX path of fichier
              set nomAvecDateHeure to (text 1 thru -(2 + (count of ext)) of Nom) & (do shell script "date +_%Y%m%d-%H%M%S.") & ext
              if isPackage then
                        set dest to quoted form of POSIX path of (dossier & nomAvecDateHeure & ".zip")
                        do shell script "ditto -ck " & source & " " & dest
              else
                        set dest to quoted form of POSIX path of (dossier & nomAvecDateHeure)
                        do shell script "cp " & source & " " & dest
              end if
    end zipIt
    --=====
    --[SCRIPT]
    --{code}
    I included your specific requirements.
    Yvan KOENIG (VALLAURIS, France) jeudi 9 juin 2011 18:03:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • All Open Sales Orders Extract to a flat file

    Hi Guys,
    I am basically a FI guy who has been asked to create this extarct - it would be great if you guys can help me out with it:
    1) Sum of all open orders in the system which have not been shipped
    2) Sum of all open orders in the system which have been shipped by not yet invoiced.
    3) Sum of all open billing, invoice document created but no AR doc created.
    Which tables i can consider - i have a lill. idea - VBUK and VBUP tables. What should be the criteria to get all the above.
    Please help me out.
    Thanks,
    Maulik Shah

    Dear Maulik
    1)  Sum of all open orders - T.Code VA05 - Table VBBE
    2)  Sum of open orders shipped but not invoiced - T.Code VF04 Table VBFA.  Here input M in the field Subs.doc.categ and execute.  Wherever this field is blank, those are not invoiced
    3)  List of invoices created but Accounting document not created T.Code VFX3 - Table VBRK Field RFBSK where the status of the document would be A if Accounting document has not been generated and C if Accounting document would be created
    thanks
    G. Lakshmipathi

  • Automatic Posting of All Open GR/IR A/c at the period end

    Dear Experts,
    We have a requirement for IT Act Provision.
    1. All Open Credit Purchase documents(for which MIRO has not been done) to be automatically transferred to a A/c called Current Liability & Provision(Clearing Account) on the last date of the period(Month end)
    On the first day of next period all such open credit purchase documents line items to be created in GR/IR Account against which users can do MIRO when invoice is received.
    2. All open Debit GR/IR line items to transferred to Advance A/c (Clearing A/c) on the last date of the month and again to reversed line item wise to GR/IR account.
    What is the settings to be done please advise.
    Regards,
    Alok

    Dear Mr Obviar,
    Thanks for you reply,
    In that OBYP setting:- there are three columns:-Recon A/c -
    Adjustment A/c -
    Traget A/c
    Please correct me if I am wrong:-
    I want GR/IR credit to be transferred to some Clearing A/c
    then I shall put GR/IR GL code under Recon A/c
    and                 Clearing A/c GL code under Traget A/c
    What shall I put under Adjustment A/c
    Please extend your help.
    Regards,
    Alok

  • How do i tab through all open documents

    Alt + Tab on a windows machine will tab through all open windows and documents.  Command + Tab on my IMAC will only tab through the open applications.  Is there a way I can set up the IMAC to work like to windows machine in this case?

    four finger swipe upwards will show you everything thats open. its not the same as on a pc where it shows each program in a rotating type of display... but it does show each program and the windows within that program that are open.

  • After the 13.1 retina update, all files open at 50% zoom

    Hi there,
    I have a 15 MacBook Pro retina display, with an external thunderbolt display.  Since the 13.1 update, all files that I open in Photshop open at 50% zoom.  How can I reset it so they open at 100%?  It's really annoying to have to constantly zoom everything that is opened up.
    Thanks!

    As a work-around to your problem:
    1. Make an action that zooms the window to 100% (Photoshop calls it Actual Pixels)
    2. In Scripts Events Manager assign that action to the File Open event.
    From now on every image will open at 100%
    Ronald

  • I wanted to update my itunes and it didn't update and now it wont open so i had to uninstall it and it wont install now at all can you please help?

    Hi
    I turned on my laptop this evening to import a new cd but it asked me if i wanted to download the new version of itunes so i went ahead to update it but it failed to update then it failed to open at all, and and runtime error keeps popping up but when i uninstalled it to reinstall it it wont install now and i cant use my ipod or ipad with my laptop without itunes and i never had this problem at all. can you please help?

    Hey maryncomiskey,
    Thanks for the question. I understand you are experiencing issues with the latest iTunes update. The following resource may help to resolve your issue:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Additional Information:
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/TS1567
    Thanks,
    Matt M.

  • When I try to open a Pages document from iCloud, created on my iPad, I get message stating I need a newer version of Pages.  When I go to app store all I get is "installed" when looking at pages app. my Macbook pro is up to date with all updates.

    When I try to open a Pages document from iCloud, created on my iPad, I get message stating I need a newer version of Pages.  When I go to app store all I get is "installed" when looking at pages app. my Macbook pro is up to date with all updates. Any ideas?

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • I bought a second hand G4 iBook with iLife 09 on it.  I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open.  Can anyone help?

    I bought a second hand G4 iBook with iLife 09 on it.  I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open.  Can anyone help?

    The seller should have given you the original disk so that you can reinstall as needed. But it likely was a single-user license (which really means single computer) so you can only have a copy on one computer at a time. If the seller didn't give you the disk he is probably still using the software on his new Mac. Your best option to get any of the iWork apps to use in OS X 10.6.6 or later is through the Mac App Store. You can then install them on any Mac you have that has access to the Mac App Store using your Apple ID.

  • Looking for PS Script to Save and Close All Open Documents

    I used ACR and CS5 to process my Nikon D3 NEF files. I would like a script that would save all open documents (witin PS) with the highest possible quality (12). I've found several scripts that will close all open documents with save but cannot figure out how to implement a save script.
    For example, I may have 20 converted .jpeg files open. I would like to run a script to save & close all open documents.
    Is it possible? Can someone post an example working script?

    Take a look at the image processor, under the scripts menu.
    MTSTUNER

Maybe you are looking for