Create Catalog with AppleScript & Pages '09?

It seems that using AppleScript and Pages '09 that one could create a template (like the Storyboard template) and populate as many pages as needed to fill a catalog that includes pictures and descriptions (and whatever other text). BUT, I cannot seem to find an example anywhere of how to use the "new" scripting functionality in Pages to do anything useful like this.
Could someone please point me to some examples of how to do this? Thanks!

KIrby,
have you tried, if a smart webpage will suffice as a starting point for you for your catalogue?
The smart webpage allows to add any metadata preset, including your custom tags. You can export them as html to a folder and import the html to Safari .Then copy and paste the metadata tags from there to your final layout in  Pages or Keynote, or whatever you are using.
Léonie

Similar Messages

  • How to create CATALOG with MS SQL Server?

    Connection class has getCatalog(strCatalog) method. In order to use it, we must create CATALOG in Database?
    How to create CATALOG with MS SQL Server?
    Help me, please!!!

    You do not create these for any database, this is part of the Connection metadata.
    The Catalog is the third level of table-like database object qualification as in "Catalog.Schema.Table". For SQLServer the qualification scheme is "Database.Owner.Table" and I would be surprised if they reported anything for the current connections getCatalog() method call.
    What many people do is avoid table qualification altogether by setting the connection's context in a database proprietary manner and then keeping the SQL as clean as possible. For many ODBC and JDBC drivers this can be set in the configuration. For MS SQLServer you can also execute a "USE dbname" statement on the connection to avoid table qualification.

  • Create Item with no Page Regions, but with P0 Region Issue

    Hi,
    Suppose you have a region on Page 0 called: P0_REGION. You then create a page, P100, with no region. If you try to create a Page Item you get the following message:
    Unable to Create Page Item
    You must create at least one region before you can create a page item.
    Shouldn't we be allowed to create a page item and apply it to the P0 region? I didn't file this as a bug since I didn't know if this is what should happen.
    Thank you,
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

    Hi Roel,
    Not exactly. I have a common region on Page 0 which contains buttons, jQuery Tabs etc. On each Page, P100 for example, I put items into that region for display purposes. I don't want to create these at P0 Items since they will be run for each page (or I'll have to put a lot of conditions on them).
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

  • Trying to create alarms with Applescript

    Hi
    I've got some Applescript to duplicate events from one date to another.
    The copying works OK, but when I try to also create alarms I get error:
    iCal got an error: Can’t get event (event id "E87F6906-B0A5-4F76-AE5F-A357F0E350B2" of calendar id "EDE7191A-CA4A-4366-9036-22898B07E81D").
    Yet when I look at the log the event id seems ok.
    Log:
    make new sound alarm at end of every sound alarm of event (event id "32C76354-C92E-41CB-AEBF-04E54A3AE8A5" of calendar id "EDE7191A-CA4A-4366-9036-22898B07E81D") with properties {trigger date:start date of event id "32C76354-C92E-41CB-AEBF-04E54A3AE8A5" of calendar id "EDE7191A-CA4A-4366-9036-22898B07E81D", sound name:"basso"}
    "iCal got an error: Can’t get event (event id \"32C76354-C92E-41CB-AEBF-04E54A3AE8A5\" of calendar id \"EDE7191A-CA4A-4366-9036-22898B07E81D\")."
    Here's the script
    tell application "iCal"
    set allEvents to every event in calendar "Time Blocks"
    repeat with theEvent in allEvents
    if start date of theEvent ≥ date "Monday, 6 July 2009 12:00:00 AM" then
    set theSummary to summary of theEvent
    set newStartDate to (start date of theEvent) + 2 * days
    set newEndDate to (end date of theEvent) + 2 * days
    set EE to make new event at end of events of calendar "Time Blocks" with properties {summary:theSummary, start date:newStartDate, end date:newEndDate, allday event:false, description:"desc"}
    make new sound alarm at end of sound alarms of event EE with properties {trigger date:newStartDate, sound name:"basso", trigger interval:1}
    end if
    end repeat
    end tell
    Any suggestions?
    Cheers

    hi KazzaInOz,
    The variable EE is already an event, so adding an alarm to *event EE* doesn't make sense. This is what the log is trying to tell you when it says *"Can’t get event (event id \"32C..."* (note the repeat of event ). Change the make alarm line to the following and it should work:
    make new sound alarm at end of sound alarms of EE with properties {trigger date:newStartDate, sound name:"basso", trigger interval:1}
    Best wishes
    John M

  • Combine jpegs to create PDF with blank page background

    Hello, I have hundreds of newspaper scans of various sizes, same dpi, and I want to combine them to create one PDF with each of them on a blank 8.5 x 11 background page? like in a scrapbook. Is this possible using only acrobat? Or does it need to be done on a program like indesign? Appreciate any thoughts.

    Here's a script that you can use to create the blank document with a button on each page. When a page is clicked, it will prompt you to import an image (it defaults to PDF, so select JPG from the from the dropdown) to use for the icon. You can set the "num_pages" variable from 100 to whatever amount you need. To run the script, open the JavaScript console (Ctrl+J), copy the entire script below, paste it into the console, select all of the lines, and press Ctrl+Enter. This will run the script and the result will be a 100 page PDF:
    // Start of script
    // Create a new document and make the page a template
    var newDoc = app.newDoc({nHeight: 11 * 72, nWidth: 8.5 * 72});
    var t1 = newDoc.createTemplate("t1", 0);
    // Add a button to the template and set the various properties
    var f = newDoc.addField("icon", "button", 0, [0, 11 * 72, 8.5 * 72, 0]);
    f.buttonPosition = position.iconOnly;
    f.borderStyle = border.s;  // Solid
    f.buttonAlignX = 50;
    f.buttonAlignY = 50;
    f.buttonFitBounds = true;
    f.buttonScaleHow = scaleHow.proportional;
    f.buttonScaleWhen = scaleWhen.tooBig;
    f.lineWidth = 0;
    f.fillColor = color.transparent;
    f.strokeColor = color.transparent;
    f.setAction("MouseUp", "event.target.buttonImportIcon();");
    // Create multiple pages based on the template
    var num_pages = 100;
    for (var i = 0; i < num_pages; i += 1) {
        t1.spawn(i, true, false);
    // Remove the template page
    newDoc.deletePages(newDoc.numPages - 1);
    // End of script
    Save the file that is generated. After you populate all the buttons by clicking on each page, you can flatten the pages by entering the following line in the console and executing it as you did with the previous script:
    // Convert button appearances to regular page contents.
    flattenPages();
    Save to a different file and you should have what you want. Post again if anything isn't working.
    Note that it would be possible to automatically import the images, but you'd need to create a list of the files you want to import and amend the script a bit. If interested, I could show an example of how you'd do this.

  • Need to create pdf with thumbnail pages from InDesign

    How can I create a pdf with multiple InDesign pages on each sheet (thumbnails)? I have snow leopard, cs6. Thank you.

    On a Mac, the way I like to do it is to start by generating a PDF from INDD. Open the PDF in Apple's "Preview" app. Ctrl+P. There are all sorts of options for layout — including "Pages per Sheet" under the layout option in the menu. Then, at the bottom left-hand of the print dialog box, you'll see the PDF button. After you've made your page-layout decisions, click PDF and choose your options for PDF delivery.
    In the instance documented with the attached graphics, I selected "Mail PDF." The thumbnailed PDF is created and attached to a new email.
    Maybe this helps.

  • How do I automate a large catalog with several unique sections using Data Merge and Microsoft Excel?

    My boss would like me to use data merge to create a catalog with 300+ pages and unique data fields on almost every page. It is an informational catalog that would contain pictures and several unique fitment and specification fields for each product that we sell and manufacture on each page. For years the catalog was made and modified manually in quark express. Is it possible to use data merge to recreate such a complex document? Does anyone have any useful reccomendations or links for tackling this project? I really appreciate any advice or help.
    Thank You,
    Kevin
    Message was edited by: kpalombi

    Online video
    http://tv.adobe.com/watch/instant-indesign/automating-a-catalog-with-data-merge/
    Software
    http://www.65bit.com/home/home.shtm
    Data Merge Tips
    http://www.theindesigner.com/blog/episode-43-data-merge-video

  • Can not add function to pages-document created with Applescript

    If I create new document using the GUI (New document) I can place the cursor within any table-cell, type "=" (equal sign) and f.e. "2+2" which will result in a cell showing a "4".
    If I create a document with Applescript, I can not add new functions (neither by typing = nor by using Insert >> Function (may be different, I have German version here). Already existing functions (which already were in the template) can still be used and work as expected but can not be altered.
    Any idea?
    I use Pages '08, Version 3.03
    Code I used to create the document:
    tell application "Pages"
    launch
    make new document at front with properties {template name:templateName}
    # Angebotsnummer ins Dokument schreiben
    tell body text of front document
    make new paragraph at after paragraph 1 with data angebotsNr
    set paragraph style of paragraph 2 to "Überschrift"
    end tell
    # Datei abspeichern
    set dateiName to missing value
    repeat until dateiName is not equal to missing value
    set dateiName to text returned of (display dialog "Datei Name:" default answer angebotsNr & "_" & kundenName) as text
    end repeat
    save front document in angebotsOrdner & dateiName
    end tell

    I apologize but the given script can't run.
    The variable templateName is undefined.
    The variable angebotsNr is undefined too.
    About the described behavior, it's a bug which I never discover before.
    It's always striking in Pages '09.
    Here is the report which I filed :
    Bug ID# 8704270
    Summary:
    +Odd behavior of tables in Pages documents created by a script+
    +Steps to Reproduce:+
    +Run this huge script+
    +tell application "Pages"+
    +make new document at front with properties {template name:"Blank"} (* "Vierge" on French systems *)+
    +end tell+
    +Insert a table+
    +try to insert a formula+
    +Expected Results:+
    +I assumed that I will get the formula editor which I get when the document is created by hand+
    +Actual Results:+
    +There is no way to get the editor, no way to insert the equal character.+
    +This odd behavior strike in all versions of Pages '09 and Pages '08+
    Regression:
    +None to my knowledge+
    Yvan KOENIG (VALLAURIS, France) dimanche 28 novembre 2010 11:30:29

  • Lease help me, I'd need to create XForms binding-exception with XHTML page

    Hello,
    is anyone here who could help me?
    I've spent plenty of hours by searching the correct and suitable way for creating a binding exception in XForms, but I did not succeed...
    My situation is: I've got an XHTML page with XForms and XML (input) file, which describes this page. Whenewer I change the input data in the XML file (for example if there are tags <person> and ....</person> if I change it to <peson1> and ...</person1>) after saving the changes and refreshing the page, the XForms are changed (for example some text fields are missing or they've got white background instead red one, which there was before et cetera). {I hope it is clear till now.....}
    My task is: to create a xforms-binding-expression event, which will display an error message (for example: FILE HAVE BEEN CHANGED, CAN NOT DISPLAY THE PAGE PROPERLY) to the user.
    i've found some stuff, how to create such message, but i need to know the exact order of commands to make it work, where to insert them, the structure etc, so I can comprehend your advices...
    The XHTML file contains of several blocks - bind, model, submission, instance etc - and I do not actually know, where to insert such lines (with message)...I think I should make some bindings with the page loading, but I've got no idea how to get it done, however there are very few sites with such stuff on the internet. I hope this task is no big deal for you gyus, THANK YOU A LOT IN ADVANCE

    Thank you very much. I am new to this, and but am not exactly sure how to run a script. Can it be run as a one-off using the editor or console like AppleScript and hitting the green arrow, or do I need to put this into a file and save it to the scripts folder first?
    Also, a related question: some of my scans are full page Letter already and I need to reduce them (scale them) so that they print with a margin because the pages need to be hole punched.
    Can you help me incorporate into this code something that says, if the trim box  > 8 x 10 then scale the page by x percent or by whatever allowable means Acrobat will do it? This way, those pages will be permanently scaled smaller. I cannot just print them scaled smaller, because then all the scans will be printed smaller, and I only need the largest ones reduced in size.
    Thanks so much.

  • When I create a new polygon with applescript in in design cs4, I want to make a drop shadow

    when I create a new polygon with applescript in in design cs4, I want to make a drop shadow
    Is it possible?
    I am working with MAC OS 10.6.7 and CS4
    Can somebody help me?

    Adding a drop shadow should work fine regardless of shape… As Im a big fan of using styles everywhere I can…
    tell application "Adobe InDesign CS5"
    activate
    tell the active document
    set GotNoStyle to make new object style
    set properties of drop shadow settings of fill transparency settings of GotNoStyle to ¬
    {mode:drop, distance:3, angle:135, spread:0, blend mode:multiply, opacity:50, honor other effects:true, x offset:3, y offset:3, knocked out:true, use global light:false}
    set SomeFill to the last swatch
    tell the first page
    make new rectangle with properties ¬
    {fill color:SomeFill, geometric bounds:{10, 10, 30, 30}}
    apply object style (the result) using GotNoStyle without clearing overrides
    make new oval with properties ¬
    {fill color:SomeFill, geometric bounds:{10, 40, 30, 70}}
    apply object style (the result) using GotNoStyle without clearing overrides
    end tell
    end tell
    end tell
    You can then edit the object style to make global changes… Sorry my values were for my euro metric head…

  • How to create a report with different page sizes

    Hi,
    I would like to create a report with different page sizes, it's possible to do it with diadem?
    When I change the layout parameters, changes afect to all sheets...
    Is there a way to change page size individually for each sheet?
    Thanks in advance.
    Marc

    Hi Marc,
    You can use the DocStart and DocEnd commands along with the PicPrint command to spool multiple print commands to the same output PDF file using the direct printer approach.  This should enable you to programmatically specify the page size differently for each sheet that you add to the print job.
    ' Print PDF Page by Page.VBS
    OPTION EXPLICIT
    Dim i, Path, OldPrintName
    Path = AutoActPath & "2D Stacked"
    Call DataDelAll
    Call DataFileLoad(Path & ".TDM")
    PDFFileName = Path & " Page by Page.pdf"
    IF FileExist(PDFFileName) THEN Call FileDelete(PDFFileName)
    OldPrintName = PrintName
    PrintName = "winspool,DIAdem PDF Export,LPT1:" ' Set to PDF printer
    PDFResolution = "72 DPI" ' "2400 DPI" , "default"
    PDFOptimization = TRUE
    PDFFontsEmbedded = FALSE
    PDFJPGCompressed = "high"
    PrintOrient = "landscape" ' orient paper
    Call PrintMaxScale("GRAPH") ' auto-max, see alternative margin setting variables below
    PrintLeftMarg = 0.181
    PrintTopMarg = 0.181
    PrintWidth = 10.67
    'PrintHeigth = 7 (read-only)
    Call WndShow("REPORT")
    Call DocStart ' Begin multi-page document/print job
    FOR i = 1 TO 4
    Call PicLoad(Path & ".TDR")
    Call GraphSheetNGet(1)
    Call GraphSheetRename(GraphSheetName, "Page " & i)
    Call PicUpdate
    Call PicPrint("WinPrint") ' Add a page to be printed
    NEXT ' i
    Call DocEnd ' End multi-page document/print job
    PrintName = OldPrintName
    Call ExtProgram(PDFFileName)
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • HT204053 I have a problem. I bought Pages and Numbers for my iMac and so far everything was OK.  Suddenly i have a problem with connection to iCloud. Dokuments created on iMac in Pages or Numbers are not transfered to iCloud. Not uploaded in iCloud.

    I have a problem.
    I bought Pages and Numbers for my iMac and so far everything was OK.
    Suddenly i have a problem with connection to iCloud.
    Dokuments created on iMac in Pages or Numbers are not transfered to iCloud. Not uploaded to iCloud. There is a sign  (small shape of iCloud), that they are waiting to be uploaded to iCloud.
    I think the iCloud is OK.
    i can see and manage documents in iCloud. i can create them on iPad and  see them and delete them in iCloud.
    But not on iMac.
    i dont know what has happened and I am not abble to find the solution. It was OK till some days ago….

    I have a similar problem! Everything stopped working after upgrading to Mac OS 10.8.4 through the App Store. Help!

  • Creating a document with different page sizes.

    I'm trying to produce a leaflet with different pages sizes. To try and explain what I mean I have included a picture of what I'd like the front cover to look like. When producing a booklet there doesn't seem to be a provision to individually alter each page size in the pages or document set up panel. Is there anyway around this or do I have to create each page seperately, export to pdf and then combine into the leaflet? Help gratefully received. tomas

    The build booklet feature is for very basic booklets, not something like this.
    Sorry, but you’ll need to make everything full size and then do the cutting.
    Bob

  • Creating a .pdf with different page views

    I'm tyring to create a .pdf with different page views.  For example as the viewer goes through the .pdf some pages I would like viewed as "single page view" and others "two page view".  Is this possible?   I'm working with Adobe Acrobate Pro.  Thanks for any suggestions.

    It's possible to use the Page Open actions to trigger a view mode change but it's messy - if the user tries to override them because they prefer to zoom in, etc. then they'll get very annoyed when things keep resetting.
    To create a Page Open action, open the thumbnails panel, right-click on a page, choose Page Properties, then the Actions tab. You can use the Execute a Menu Item tool to fire one of the view modes.

  • How can I expand the gutters in a document created with a Pages brochure template?

    How can  I expand the gutters/ space between panels on a document created with a Pages brochure template?

    You haven't said which.
    Each panel is usually just a locked object, unlock them and resize the boxes.
    Peter

Maybe you are looking for