[AS CS3] move pages to make them a spread

AppleScript newbie here.
I have a non-facing page document with Allow Document pages to shuffle turned OFF.
I need to write a script that will move certain pages together (e.g. page 2 and 3) to make a spread as you would by dragging the page toward the other until the dark bracket shows it will make a spread.
Can anyone tell me how to do this?
thanks!

Just use the move command: move page x to after page y of spread z<br /><br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Sessions <a href=http://scriptingmatters.com/aspro>

Similar Messages

  • In Lion, sometimes clicking on close button or tabs doesn't respond as if the buttons aren't there, i have to move the cursor away and move back to make them work again, anyone can help me?

    I'm not sure if anyone had run into this issue. Clicking the same place on the display sevral times will cause the click to stop working. For example, if i open safari and click on the Show Reading List button, it will work the first time i click it, but stop responding to my command as i click more, as if the button is not there, i have to move away the cursor and click somewhere else and move back to click the button to make it work again. And it happened everywhere, not just the show reading list button. The scrolling and moving are normal.
    In fact, I have my trackpad replaced in an apple store for this issue but it turned out this is not a hardware problem, and it is not only my problem. Ironically, i found the same issue on several of the demo Macs inside the apple store. So anyone can help me here? Thanks.

    Hi manni394, what version of Firefox are you running now?
    Firefox 22 has a new way of setting the default zoom level: it is based on your Windows font size setting. So, if you set Windows fonts to 125% (enlarged 25%), your Firefox pages also will be enlarged 25%. On pages that do not adjust their layout, you may get a horizontal scroll bar.
    To reduce the zoom on a page, hold Ctrl and tap the - key (the one on the numeric keypad or the one on the number row of the keyboard). The zoom should be reduced for each tap.
    If you want to globally adjust your zoom level to be lower, you can use either of these add-ons:
    * [https://addons.mozilla.org/firefox/addon/default-fullzoom-level/ Default FullZoom Level]
    * [https://addons.mozilla.org/firefox/addon/nosquint/ NoSquint]
    If you already have one of those add-ons, check the default/global zoom level in case it needs to be adjusted.

  • Using photo album page to connect to movie page

    I wanted to create movie pages, but put them under an album page so I could group several video pages and not have all the movie pages listed in the top links. The movie frame is displayed on the album page correctly, but after it is published it doesn't work properly. When I click on the movie frame it will play the wrong video from a different page even though it is displaying the text from the right page. I've made several movie pages and it rarely plays the right video. Has anyone else tried this?

    So, I tried loading 1 movie in My Album and uploaded it to my .mac.
    Worked fine.
    Then added a 2nd movie to My Album.
    Only one of the movies worked for the two.
    So, then deleted My Album, used a blank page and created a table of contents linked to several movie pages.
    Didn't work. Only one movie played for all.
    Still looking for a solution.

  • I have learned to love PAGES, but I can't figure out how "sections" get linked together and how to unlink them so I can move pages or delete pages with a whole bunch of pages (a section) going away.

    I have learned to love the PAGES program but I will add a new "section" or page to it and then when I look at thumbnails and try to move pages around or delete pages, it treats them as a section of many pages and will only delete several of them together or will add extra blank pages that I don't need. It is very frustrating but must be something I am doing to cause this.

    Burghmom wrote:
    It is the '09 version. I went on the boards and found out that by inserting a page break after each page as I go, I can make each page act individually instead of as a group. Then I can move pages around or delete them through thumbnails. The online manual didn't really help with how to avoid having them act as a group.
    A Page Break pushes the next text to the next page, it is still part of the same section.
    You need to insert a Section Break.
    Peter

  • [CS3 JS]  Move pages from one document to another?

    First, a brief explanation of what I am trying to do. I have several individual chapters that I am including in an INDD book. However, I also want to be able to allow those individual chapters to stand alone, meaning that I want to add a cover/title page to each chapter file (these two pages would be placed before the current page 1 of each chapter).
    My preference would be to write a script that would open the cover/tp file and open the first chapter file; this part is no problem. Where I am running into trouble however, is the second step: moving the cover/tp pages (2 pages) over into the chapter file.
    Manually, I would open Cover.indd, activate the "move pages" menu, "Move pages: 1-2", "Destination: Before_Page 1", "Move to: Chapter1.indd".
    With over 100 chapters in the book, however, I would prefer to automate the process. I have looked into the Page.move and PageItem.move elements, but both look like they would require a location in the current document (either in (x,y) form or using "AT_BEGINNING".
    If I cannot get this to work, I will likely try to insert two blank pages, then cut/paste with a script, but I would prefer the "move" functionality, if it is possible.
    A couple of answers to potential questions:
    I can't simply place the INDD cover file b/c it uses a text variable to pull the chapter name; this personalizes each stand-alone chapter.
    Same answer to why I can't just slap the 2-page .pdf on the front of each. I need the text variable to still be active.
    Has anyone tried to move pages from one document to another using scripting? I tried to explain what I am trying to do, but if it doesn't make sense, I can try again. :)
    thanks!
    Matt

    ok here we are
    I get a raw skeleton that you will have to adjust but it's functional.
    Use a PDF for placement as you can specify the page that you want to place.
    I don't know if you can do the same for indesign files.
    So basically, it starts adding 2 pages and placeing the pdf in the same time.
    After that, it creates the textVariable and the frame that will receive it.
    Here you are:
    //If a document is open
    if(app.documents.length!=0)
    var ad = app.activeDocument;
    //Pages placement
    for(i=0; i<2; i++)
    //Add 2 pages on top of the document;
    var tmpPg = ad.pages.add(LocationOptions.BEFORE, ad.pages[0]);
    //Here you place your pdf
    app.pdfPlacePreferences.pageNumber = i;
    tmpPg.place(File(cover.pdf), false)
    //You should specify page x and page y but ain't found yet the way to go.
    //Text variable creation
    //Check if the textVariable named "txtVar" does not already exist...
    if(ad.textVariables.item("txtVar")==null)
    //if not found, create the text variable named "txtVar"
    var txtVar = ad.textVariables.add();
    txtVar.variableType =VariableTypes.CUSTOM_TEXT_TYPE;
    txtVar.name = "txtVar";
    //Set the contents of the text variables to the string "test"
    ad.textVariables.item("txtVar").variableOptions.contents = "test";
    //these coordinates don't care aboutyour units but you may adjust them to your needs
    var y1 = ad.marginPreferences.left;
    var x1 = ad.marginPreferences.top;
    var y2 = y1+5;
    var x2 = x1+25;
    var myFrame = ad.pages[0].textFrames.add({geometricBounds:[y1,x1,y2,x2]});
    //Set the contents of the frame to the text variables "txtVar"
    myFrame.contents=ad.textVariables.item("txtVar").variableOptions.contents;
    //You may want to stylize the txtVar
    //In this case, either you use a existing characterStyle or you create one in the script
    Bye Loic

  • I have an external server that stores all my movies and music, is there a way to stream it to my apple tv? If not is there a way I can link the folders to itunes (without downloading files to computer) and will that make them view-able for the apple TV?

    I have an external server that stores all my movies and music, is there a way to stream it to my apple tv?
    If not is there a way I can link the folders to itunes (without downloading files to computer) that will make them view-able for the apple TV?
    If none of that works is there a way to get it working alternativly?
    Additional Information:
    Everything is linked via ethernet cable.
    I'm using a PC to set it up.
    If you have any other questions feel free to ask and I'll help where I can.
    Thank you for any help

    (I think the daughter got he better end of the deal!)   I believe if you change the password and user id one of the devices it will stop that from occurring. But I'm not the one to tell you how to do it; someone like "Illaass" (Illaass seems to know how to correct / fix almost anything!) will know how if you don't. Just look for the "cat" icon.

  • When duplicating a field, even when the original field is locked, the duplicated fields appear at different positions on pages that are the same size. How do I make them uniform?

    I'm trying to put a hidden time stamp field on the bottom of all pages of a thousand page document, yet when I duplicate the field, the reproduced fields appear at different positions on different pages. Is there a way to make them all appear uniformly on each page. I've tried using the Lock function in the Properties menu before duplicating but to no avail. Please help.

    I go to Tools>Forms> Edit...Do you want to detect...No. Add New Field>Text Field. I lay out my field at the bottom of the page, adjust the Properties (Hidden but printable, read only, font, alignment), Lock the Properties. Then I right-click and hit Duplicate.

  • Hello, I need to download the videos made with Ipad on a USB stick. How do I make them visible then with a Windows PC? I need to transform. Mov in that format? How to make? thanks

    hello, I need to download the videos made with Ipad on a USB stick. How do I make them visible then with a Windows PC? I need to transform. Mov in that format? How to make? thanks

    The camera connection kit can only be used to import photo/video files from a camera, SD card or USB flash drive. You can't import other types of files. You can't export any type of files using the camera connection kit.
    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
     Cheers, Tom

  • I have pages and keynote on my iPad, how to i make them work on mac air i have bought later

    i have Pages and Keynote, and others of course, on my iPad, how to i make them work on mac air i have bought recently ?

    Welcome to Apple Support Communities
    The iPad uses iOS, and your MacBook Air uses OS X, which are different operating systems with different apps.
    iWork apps (Keynote, Pages and Numbers) have got two version: for OS X and for iOS. You already purchased Keynote and Pages for iOS, so you can install them in all your iPhones, iPads and iPods touch for free, but not in the MacBook Air, because the iOS version isn't supported. You have to buy Keynote and Pages for OS X in the Mac App Store for your MacBook Air.
    To access to the Mac App Store, press its icon in the Dock or go to  > App Store

  • How can I change the margin settings in the pages inspector to make them more specific for label templates. I need margins that can be set to hundreths of a centimetre not just tenths.

    How can I change the margin settings in the pages inspector to make them more specific for label templates. I need margins that can be set to hundreths of a centimetre not just tenths.

    I doubt you need hundreths as you would not even be able to measure that and the printer doesn't hold the paper to those tolerances.
    fruhulda is right. Pages accepts higher measure but rounds it in the measure field.
    If you want absolute accuarcy you need to set your measures to points. Everything else is being recalculated.
    Peter

  • When I open a powerpoint presentation with keynote the slides are very small. How do I make them fit a page?

    When I open a PP with Keynote the slides are very small. How do I make them fit the page, like they did in PP?

    I had the same problem.
    Go to preferences, slideshow, and check the box "Scale slides to fit display."
    Hope this helps!

  • I can't get the pages to move  when I highlight them?

    I am trying to move a page  forward or behind.  It won't move when highlight it and drag. 

    Adobe Reader cannot move pages or otherwise edit PDF files.

  • Move Pages in Indesign using Applescript

    How to set page ranges for "move pages" command in apple script.

    Fromthe pages panel flyout menu make sure Allow Document Pages to Shuffle is checked, and also Allow Selected Spreads to Shuffle for any spreads that show the numbers in brackets if you want them to be able to rearrange as well (in this case you have two pages numbered 2, and that's a problem since by default ID wants to arrange even numbered pages tothe left of the spine and odds to the right).

  • Can a Photo page be used as thumbnail links to movie pages?

    I've made a photo page with say 20 or so photo thumbnails. I have made separate movie pages for each movie. Dragged each movie page link to the related picture on the photo page and sized the button to be the same size as the thumbnail image. Checked that the button is linking to the correct movie page.
    In iWeb, when I "make links active", everything works properly. But once it's uploaded, the thumbnails/buttons, when clicked, open up a new browser window with just the jpg thumbnail.
    Any ideas to get this to work? Or do I have to start over, and lay it all out maually?
    G5 DP 1.8 & PowerBook G4 15"   Mac OS X (10.4.6)  

    I think the problem may be related to the Photo page template. When you click on the thumbnail, I think there is some built-in functionality to open a new slideshow window or something.
    Instead of using the Photo gallery template, try using a plain page...one of the templates with as few elements as possible...maybe the movie template. Then manually add your movie thumbnails and size them to your liking. then add the hyperlinks to your movie pages to each thumbnail. I think you might find that this works better.
    ==> www.DirtDoog.com <==</a>    
    Place A Virtual Pin On Putt-Putt's GuestMap!

  • How do I CENTER a group of photos on a page without merging them first?

         I have six photos which are aligned and distributed equally and linked so they move as one. I want to center this group on the page but as soon as the background layer is selected, each photo piles onto each other with a mind of its own. Tried everything I know (which isn't really very much). It will work if I merge the group, but I don't want to do that. Thanks for any help. It's probably an easy fix . . . I am using Elements 12 with Windows 8.1.

    It is possible to make a collage manually and its quite easy. This method may suit your purpose.
    Click File >> Open and select all of your photos
    That will add them to the project bin
    Then select File >> New >> Blank File
    Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
    In the project bin click your first photo and drag it up into the main window on top of your new background.
    Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
    Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
    Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
    N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want
    When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
    Finally click Layer >>Flatten Image and save - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save.

Maybe you are looking for

  • How to call servlet from jsp in portal applicaton...??

    JDeveloper - 11.1.1.6.0 Hii all, i am working on an portal application in which i have added my adf application as portlet.. in this adf application i am having an jsp page on the popup the action of this jsp page is set to an servlet <form id="form1

  • OIM 11g R2-Issue while configuring oim domain in weblogic

    Hi, I'm trying to install OIM 11g R2 version and downloaded the entire suit from edelivery site. Oracle DB version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production Others like Weblogic, RCU and IdM suite versions are 11g

  • Logging to Oracle 11g

    Hello, I am a new user for Oracle 11g. After the successful installation when I tried to Logging to SQL Plus Command Prompt with username and Password .Its throws the following set of errors Error Message Enter user-name: myOracle Enter password: ERR

  • Sub Order not getting created

    Hi All,            i am debuggin a code which is creating SUB ORDER (iw36) through call transaction method. The transaction is filling the superior oder ,but after OK CODE it doesnt navigate to the next screen, instead it shows a message log, without

  • Most of the time queries remain in suspended state in our production environment.

    Most of the time queries remain in suspended state in our production environment. Not getting any solution. Thanks