Applying masters to multiple spreads

Hey guys,
Working in VB, InD CS3. I have a feeling this is like the 'ol autoflow thing, but here goes.
I can script the application of a master to multiple pages by iterating through the pages or spreads, but it runs to slow (not that I'm impatient or anything).
I'm wondering if there is an equivalent to using the "Apply Masters to Pages..." option from the pages panel which goes nearly instantly even on some of our longer documents.
I thought I might be able to do this to apply masters to all pages:
Set pgs = Ind.ActiveDocument.Spreads.ItemByRange(Ind.ActiveDocument.Spreads(1), Ind.ActiveDocument.Spreads(-1))
pgs.AppliedMaster = Ind.ActiveDocument.MasterSpreads("LNG-TXT")
but it errors trying to set the master, I'm sure its because pgs is a collection of masters.
Any help is much appreciated.
All the best,
Ken

It looks like you are missing .item()
This works for me (in JS):
app.documents[0].pages.everyItem().appliedMaster = app.documents[0].masterSpreads.item(0);

Similar Messages

  • Applying changes to multiple images . . .

    i'm relatively new to macs but i've been using aperture comfortably for the past few months.
    having just returned from a long photography trip and upgrading aperture to 1.5.1, i'm finding that i am unable to apply changes to multiple images like i used to, such as: selecting multiple images to rotate or selecting multiple images to apply the "stamp."
    when i try to "shift-select" multiple images, the change i'm trying to apply affects only the last image clicked-on in the "shift-select" grouping. does that make sense?
    has anyone else encountered this?
    mahalo nui loa
    Power Mac G5 Quad   Mac OS X (10.4.8)  

    You most likely have the Primary Only option turned on. Turn off that option in the Control Bar.

  • Applying columns to multiple playlists

    I've searched hi and low, but no luck. Is there a way to apply columns views to multiple playlists? I want to add certain columns to all my playlists (i.e. Track #) without doing it one by one.
    Any ideas?
    Bob

    Catherine, you probably have the "Primary Only" flag enabled. Press the framed litte "1" button to disable it. This flag will cause the keywords only to be applied to the current selection. Then the Keywords Controls should work as you want.
    See my user Tip here:                   Keywords or ratings are applied only to one of the selected images - why?
    What is the recommended way of applying keywords to multiple images at once?
    The Keyword Controls are fine, also dragging keywords from the Keywords HUD directly onto a selection or Batch Changing.
    Regards
    Léonie

  • Apply border to multiple frames

    I would like to know if I can apply the small border preset to all of the photos in a montage. It could save me a lot of time if I knew how to apply this to multiple frams.

    I have over 100 still photos in the timeline. I wanted each one to use the preset frame in the effects set.
    I thought I had seen that technique one time in a tutorial.
    made sense to me that you could select all stills in a timeline and drag the effect to all frames at once.
    but. . .that wasn't it.
    Original Message

  • Aperture 3: How to apply keywords to multiple photos?

    Hi,
    I'm trying to apply keywords to multiple photos at once but if I select several photos and add a keyword in the 'metadata' panel it just gets applied to one of the selected photos, not all of them. Is this a bug or am I just doing it wrong?
    Thanks,
    Sam

    I see,
    But that requires that said keyword already exists which slows down the workflow when you're dealing with lots of new keywords, or even existing ones if you have lots and lots of keywords instead of just typing in a keyword (and it perhaps auto-completes). Also I'm somewhat of a keyboard-centric user
    Thanks for the suggestion,
    Sam

  • Applying SUBTOTAL to multiple condition SUMPRODUCT

    Hi
    I have created the following formula which works:
    =SUMPRODUCT(--($AG$10:$AG$1999<>0),$U$10:$U$1999/SUMIF($AG$10:$AG$1999,"<>"&0,$U$10:$U$1999),$X$10:X$1999)
    Column AG is a "type" filter where I've assigned 0 values to data I need to ignore when doing my sumproduct, U is my values column so the values I want to sumproduct with column X which is my return column. So this works fine to ignore my blank
    types and sumproduct the remaining values and returns to give me a total.
    However I'd like to extend this so that when I put a filter on my data the forumla holds.
    I've previously used the following for subtotals
    =SUMPRODUCT(X9:X1999,SUBTOTAL(109,OFFSET($U$9,ROW($U$9:$U$1999)-ROW($U$9),,1))/$U$7)
    but this doesn't account for the fact that I need to strip out the types that are blank which I do in the above via: --($AG$10:$AG$1999<>0)
    Is there anyway to combine these two forumlae???
    I'm trying to build the spreadsheet to be robust enough for new data to be pasted into cells A9:AG1999 each month and the required metrics pop out at the top so that others can use without having to update pivots etc. I need it dummy proofed so all they
    do is paste in new data and the forumulae do the rest!
    Any help would be greatly appreciated :O)  Happy to provide more detail if the above isn't clear!

    Try:
    =SUMPRODUCT(X$9:X$5129,SUBTOTAL(109,OFFSET($U$9,ROW($U$9:$U$5129)-ROW($U$9),,1))/SUMPRODUCT(SUBTOTAL(109,OFFSET($U$9,ROW($U$9:$U$5129)-ROW($U$9),,1)),--($AG$9:$AG$5129<>0)),--($AG$9:$AG$5129<>0))
    Solved by NVBC in the OzGrid Excel forum: tipost titled "Apply SUBTOTAL to multiple condition SUMPRODUCT inc SUMIF"

  • Apply Script to multiple fields

    I have a form with multiple fields that will contribute to a total. Is there a way to have script apply to multiple fields that will auto update the totals, instead of scripting a separate exit event for each field.
    Thank you

    Create a Script Object. In that object, you can have a function like this:
    function addMyFields() // add values in the fields
    var number1 = field1.rawValue;
    var number2 = field2.rawValue; // and so on
    var sumOp = number1 + number2; // + number3 + .... and so on
    totalField.rawValue = sumOp; // display sum in total field
    Paste the following code in the exit event of each field:
    ScriptObjectName.addMyFields();
    Let me know if it works for you.

  • How to apply style to multiple links?

    I'm a newbie here, so maybe this is a simplistic question.  I am having trouble applying a color style to multiple links on a webpage at the same time.  I have a page setup with a layout similar to the Drudge Report, which posts href links separated by horizontal rule lines.  I want to apply a color style to these links, but I'm finding I have to select each link individually in design mode to apply the style.  When I select multiple links in design mode, the color doesn't apply to the text.  It's time consuming to select each link individually.  I can do this easily in Microsoft Visual Web.  How can I do it in Dreamweaver?

    The best way is to put all related links into a division. 
    Let's say you want to have red links in your #header and white links in your #footer which has a black background.
    CSS, set up two sets of link styles:
    #header a {text-decoration:none}
    #header a:link {color:red}     /**unvisited**/
    #header a:visited {color:gray} /**visited**/
    #header a:hover,               /**on mouse over**/
    #header a:active,              /**on click**/
    #header a:focus                /**on tab key**/
        {text-decoration:underline}
    #footer {background: #000;}
    #footer a {text-decoration:none}
    #footer a:link {color:white}
    #footer a:visited {color:yellow}
    #footer a:hover,
    #footer a:active,
    #footer a:focus 
        {text-decoration:underline}
    HTML:
    <div id="header">
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    </div>
    <div  id="footer">
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Applying Effect to Multiple Clips?

    Hi,
    Is there a way within Final Cut Express to apply a single effect such as Chroma Keyer to multiple clips? I've seen this done with Final Cut Pro but can't seem to replicate it in FCE.
    Thanks for your help.

    You do it exactly the same way you could do it in FCP. Drag the filter onto multiple selected clips, or copy a clip with the filter and use the paste attributes function.

  • Applying keywords to multiple photos

    seems like an easy request, right? applying a keyword to multiple photos...
    I've got the keyword HUD open. I've read the help files, the manual, seems rather straight forward to me. Select the pictures, drag over the word, should be applied to all selected.
    Problem is, I can't get that to happen.
    For example, I have a project. Under the project is a folder. I want to apply the same keyword to all 5 star pics in that folder. I use the view to display all 5 star pics. Then I select all, white box appears around them all indicating they are selected.
    But here's my crunch. Even though I selected them all, really only one picture at a time is affected, as if there is a primary selection pic within the total selected pics. I've changed views, not sure how to actually affect a change to all selected.
    It is as if the selection is a display function, but there is only one picture at a time actually selected for a change to be applied.
    How in the world does one do something so simple as select all, drag the keyword over to all selected, and see them all tagged? Seems so simple...but I can't make this happen.
    Thanks

    I agree: The help and discussions here are very valuable. Thanks for all the tips, very useful.
    For what it's worth -- I don't know why -- but one new Library I started just would not accept any Keywords at all: None. I'd click on the list I made in the Control Bar: Nothing would happen.
    BUT when going to another Library Keywords worked fine (much to my relief).
    This happen just after importing a photo from IPhoto that I had, for the first time, put keywords on it in iPhoto. Any connection, I don't know.
    BUT After going back and forth to other Libraries a few times, it started working perfectly.
    !? -- I think Aperture is great!

  • Applying security to multiple files

    I am using Acrobat X and have multiple files that I must apply/change security settings for. Is there a way to do this without having to go into every file and do them one by one? I appreciate the help.

    To create a new action, select: Tools > Action Wizard > Create New Action
    For the Steps section, select "Protection > Encrypt" from the left panel and then select the Options button and select "Password Security" as the security method. You'll then be able to set the various options you want. Save the action and you can run it on a folder of documents. Be sure to work with copies of your files. More information about working with Actions is in the Acrobat help doc, but post again if you get stuck.

  • Applying labels to multiple files

    How can I apply a label to multiple files through the visual interface? In other words, I want to select 3 files at once and then select the label option.  I know I can click on the add button for the apply label dialogue but this can be very tedious if you are dealing with a large set of files.  there has to be a way to do this right?
    Thanks in advance . .

    Let's see if I can describe this clearly.  If I don't, do not hesitate to ask for clarification:
    We have a parent folder Main that has production code.  When  a developer needs to work on a new project, he or she will branch a section of code to development folder and start working on it (if the same code files are there, there is no need to branch).  to make sure we have a rollback option (in case things go wrong), the developer should be able to select a group of files and label them as labelproj1 old before he or she starts development.  The way we do do development here is we have a rollback versions (we are still using VSS) based on previous pinnings if the project gets rolled back for whatever reason.
    Selecting a group of files means we are only concerned with the files we modify.  We don't want to select the code at the folder level because we are not modifying those files.  We only concern ourselves with the files we modify for audit purposes.
    does this clarify what I am looking for or do you need more clarification? Let me know and I wll be happy to clarify.

  • Lockbox applied check with multiple invoices but no clearing

    Hello experts.
    I have an odd issue with some items that are posting through FLB2. 
    We have a check that is applied to 3 separate invoices.  The invoices are valid and show as "document found" in the FLB2 reports.  The items in the batch in the FLB1 (post processing procedure) show as "APPLIED".  If you look at the documents for the "APPLIED" item, none of the invoices for this check were cleared and the payment advice remains open.  If you did not manually look at the "APPLIED" item, you would not know the invoices were not cleared.  Has anyone had the same problem?  We are executing FLB2 with the "Enhanced invoice check" NOT checked.  That box is clear.  This should allow multiple invoices to clear for the one check?  The MICR number is not found, so isn't the next step in clearing to match the invoices on the BAI2 file and then clear if there is a match?
    Any advice or assistance on how to resolve this issue would be greatly appreciated.
    Thanks.

    Hi,
    This sounds wierd. Well, I would recommend to check "Enhanced invoice check" option while running FLB2. This will prevent the incorrect cash application to a different customer based on incorrect invoice number. For eg. In LBX file, If customer X sends invoice # belonging to a customer Y by mistake, then lockbox program looks at the document # first, assumes that payment belongs to customer Y(coz of invoice #), and applies it accordingly.
    So, it's always better to check the above option. Well, there are few surprises despite selecting the above option in some cases, but I would say this will jack up your hit rate in cash appln for right customer.
    Thanks,
    Nirav

  • Can't apply keyword to multiple images

    Though the help file says you can, when I select multiple photos and then click on a keyword, it only applies the keyword to one of the photos. Same thing if I click the checkmark next to the keyword. It does apply to all selected photos if I drag the images to the keyword, but why doesn't it work when I just click the keyword?
    Thanks

    Two things, you have to be in Grid View, not Filmstrip Selection and not have Menu/Metadata/'Show Metadata for Target Photo Only' checked. I and others have gotten bitten by this, too.
    Don

  • Quick question: apply keyword to multiple photos?

    I select multiple photos in the browser. I call up the keywords HUD. I find the keyword I want; I drag it onto the multiple images; it applies to ONE IMAGE ONLY.
    I ended up having to apply it to one, then use the lift and stamp tool. Took forever.
    What could I be doing wrong? Must be something stupid, because I know this is supposed to work. (I had my "Aperture Getting Started" manual open to the keyword section too.)
    Thanks in advance!
    iMac 2.0 ghz   Mac OS X (10.4.8)   2 gig Ram

    make sure that you don not have "primary only" selected (keyboard shortcut is 'S') ... it can easily be selected - ive done it a few times on accident, or there is an icon on the bottom control bar ...
    this only allows changes to be made to the "primary" of a group of selected images - thicker white border ...

Maybe you are looking for

  • CE Bank Statement Auto-Reconciliation failure

    Hey guys, We have this problem about auto-recon not finding a match even if the bank statement line has an equivalent available transaction for reconciliation. I am guessing it doesn't refer to the amount as the matching criteria. I checked Oracle su

  • MM Pricing procedure VS Tax procedure

    Hi Gurus, I have checked many  thread here , but still can not find the answer. Tax calculation procedure basically calculate the tax amount based on condition recaord maintained (dor tis corresponding Condition type). But we also can maintain Condit

  • BSOD followed by a lost of 12gb HDD space

    Hello, I've encountered BSOD saying "IRQL_NOT_LESS_OR_EQUAL". Soon after restarting, I've noticed that I have a lost of 12GB hdd space.  This is not the first time. Last week I have another BSOD, which was related to my nvidia driver, and soon after

  • Passing date parameters to a custom folder

    Is there any simple way to pass date parmeters to a custom folder?

  • Creating Named Query: from OracleCallableStatement

    We have a great many PL/SQL Procs in an existing legacy system that return PL/SQL Boolean, that we wish to call from toplink. Ideally we would like to create Toplink Nameded queries that wrap the SQL call statements. Does anyone know if its possible