Automator: FM to Named Text Boxes

I am trying to use Automator to go from FileMaker to Pages.
It says that I need "named text boxes" in Pages.
I can highlight the the text box and then go to the Inspector but I don't see anything to name the text box.
How does one create and then name a text box in Pages.

I was assuming that a named text box was simply a text box which had had a name assigned to it, which is what my script does. It assigns the name you type in the dialog to the selected text box, naming it.
I don't think Pages has any way to do this directly - I think object names only exist for the purposes of scripting. My script has a simple interface that makes it appropriate to put in the Script menu, effectively giving Pages an interface to name text boxes.
If you run the script, the only way to really know if it worked is to run another script that queries the name of objects.
For example, you can confirm that it worked by running this script:<PRE>tell application "Pages"
set theSelection to (get selection)
get name of item 1 of theSelection
end tell</PRE>which should give you back the same name you typed in the dialog box.
I'm presuming that the FileMaker automator task simply uses AppleScript to communicate with Pages, you might try naming a series of text boxes to correspond to the names that are required by the automator task (field names?).
"Text label string" is for the paragraph list label such as for bulleted lists.
Thus, <PRE>tell application "Pages"
tell document 1
set list style of paragraph 1 of body text to list style "Bullet"
get text label string of paragraph 1 of body text
end tell
end tell</PRE>returns "•"
AppleScript is sometimes not very unicode-friendly, but often it hides the differences, so I don't think you need to worry about that, unless you're dealing with non-roman text.
Titanium PowerBook   Mac OS X (10.4.8)  

Similar Messages

  • Using Automator to create a text box of certain size

    I'm very new to using automator... in fact I haven't used it at all, but I am wondering if I can use it to create a text box of the same size each type to type in within preview (a PDF document).  Basically I want to click or push something and have a text box be generated that is the same size each time.
    Thanks!

    1. In the Finder actions you will need:
    - Get Specified Finder Items, and point it towards the folder that will contain the movie.
    - Get Folder Contents - to get what's inside the folder.
    - Filter Finder Items - set to filter by 'Name Extension' 'Is equal to' 'mov' and make sure all your video files have the right extension...
    - Open Finder Items - in QT Player - note that this might cause problems if there are multiple files in the folder...
    Then from the QT Player actions:
    - Play Movies.
    2. Save As... Application, then after saving, drag the app into the login items for the user account.
    3. That's going to need some AppleScript, but this thread should get you started:
    http://discussions.apple.com/thread.jspa?threadID=455825&tstart=0
    Ian

  • Naming a book/TOC Text Box

    I'm finding iBooks Author in general to be horribly confusing in general in terms of naming files, books and templates. So perhaps I'm overlooking something basic.
    But, the issue I am having is that when I export my iBooks file and add it to my iTunes book library, it shows up taking the name of my table of contents in portrait mode iBooks Author. Specifically, when I look at my TOC in portrait mode, I have a text box at the top where I have typed the word Contents, which is what I want my TOC labeled. But it seems like if I don't name my TOC my full book title (which I don't want to do, as it's very long), I am forced to have my book then also titled "Contents" when it's in my iBooks library.
    Anyone else have this issue?

    Try this.
    In the sidebar above where it says Intro Media Double-click on the Book Title and enter the complete long title there.  I've tested this to 100 characters.
    On the title page enter the word Contents as the title, use the paragraph style, then hide this with a graphic or something.  (You were on the right track...) then add the complete long title there using some other paragraph style
    In the Inspector / Documents enter the complete long title
    When you submit to itunes using itunes Producer use the complete long title.
    I think that should work.
    Chuck

  • I'm having some trouble spacing groups of text boxes. Does anyone have an automated way to evenly distribute space between groups of two text boxes?

    There isn't much more to this question. My format works like this:
    H2 Headline
    H3 Explanation
    H2 Headline
    H3 Explanation
    H2 Headline
    H3 Explanation
    I need to distribute these text boxes evenly down my page. It's a bit of a pain to do so manually. Since there are other objects on the page, the spacing guidelines get thrown out of whack. My most secure way is to create a box, line it up with the bottom of the first group and the top of the next. Then repeat all the way down the page.
    I thought about using just one text box but rejected it. I need to have content pulled from other portions of the site. That wouldn't be possible with only one text box. Plus, it's much easier to format the text box than individual text.
    If anyone has an idea, I'd love to hear it.
    Thanks.

    mitchging If I am understanding what you require, this might be what you're after.Assuming you want to have all the boxes equally spaced, you can use the Align panel. In the screen grab the four boxes are sets of two grouped text boxes, similar to your description. Select the first group object, then select the remaining three. Open the Align panel. First set the Align To method to Key Object. Now set the distribution spacing to the required value. When you click the Vertical Distribute Space button, they will all be spaced equally. You can then fine-tune it by changing the value and hitting the button again whilst they are still selected.
    I hope this helps.
    David

  • Did you know how to link the text in two or more text boxes?

    Did anyone know how to link the text in two or more text boxes in Pages 5.0? Thanks for your answer.
    Qualcuno sa come collegare il testo in due o più caselle di testo nella versione 5.0 di Pages. Grazie per le vostre risposte.

    It's just one of the many, many features that have been eliminated or changed. Leave feedback for the Pages team using the link in the Pages menu and review & rate the new versions in the Mac App Store.
    If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done.

  • Wrap Text box around text

    Does any one know if iweb offers a feature to shrink the text box so it just fits around the text...I know how to do it manually but was wondering if there was an automated feature....I haven't found it
    or if iweb has a feature that allow you to lock objects together so they become one object...I am adding text and a picture to a few boxes that are 2 tone green with a border and it would be great if once I created them I could lock them...I haven't figured out how to do that ...any suggestions?
    Thanks

    Does any one know if iweb offers a feature to shrink the text box so it just fits around the text...I know how to do it manually but was wondering if there was an automated feature....I haven't found it
    or if iweb has a feature that allow you to lock objects together so they become one object...I am adding text and a picture to a few boxes that are 2 tone green with a border and it would be great if once I created them I could lock them...I haven't figured out how to do that ...any suggestions?
    Thanks

  • Hebrew fonts from drop-down box not displaying in text box.

    I am using InDesign CS 5.5 on a Mac 10.8.4.
    When in ID, the fonts I am seeing on the Font dropdown menu when I try to use in a text box are not displaying correctly. They only display as boxes. The fonts are in the Hebrew language. They are properly installed in the FontBook.
    Please help!! Thank you.

    Reema,
    I followed most of your steps. I have a question reg. step 3 ie populating data in node 1.
    Here is my code:
    method WDDOINIT .
    types: begin of zs,
    zktokd type kna1-ktokd,
    end of zs.
    data: handle1 type ref to if_wd_context_node,
    begin of zstruct,
    zktokd type kna1-ktokd,
    end of zstruct,
    zitab type table of zs.
    handle1 = wd_context->get_child_node( name = 'NODE1' ).
    *select ktokd into corresponding fields of zstruct from kna1.
    *append zstruct to zitab.
    *endselect.
    zstruct-zktokd = 'Sold-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Goods recipient'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Bill-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Prospective Customer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Competitor'.
    append zstruct to zitab.
    zstruct-zktokd = 'Sales partners'.
    append zstruct to zitab.
    zstruct-zktokd = 'Hierarchy Node'.
    append zstruct to zitab.
    zstruct-zktokd = 'Named List of Accounts'.
    append zstruct to zitab.
    zstruct-zktokd = 'Distribution center'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    handle1->bind_table( new_items = zitab ).
    endmethod.
    Please let me know if this is the best way to populate the node and then bind the table values from the node to the drop down box.
    Thanks and Regards.

  • PowerPoint using macro to delete text boxes after printing

    Hi,
    We created custom shows in Powerpoint and are running a macro to insert temporary page numbers on the slides before printing.  The issue is that I need to remove the page numbers after printing.  I'm a novice at VBA so I'm sure there is an easy
    solution, but nothing I've tried so far has been successful.  The code is displayed below for your reference.  Any help is greatly appreciated. Thanks!
    Sub PrintCustomShow()
          ' Change this number to specify your starting slide number.
          Const lStartNum As Long = 1
          ' Ask the user which custom show they want to print.
          Dim strShowToPrint As String, strPrompt As String
          Dim strTitle As String, strDefault As String
          ' See if any custom shows are defined.
          If ActivePresentation.SlideShowSettings.NamedSlideShows.Count _
             < 1 Then
             ' No custom shows are defined.
             ' Set up the string for the message box.
             strPrompt = "You have no custom shows defined!"
             ' Display the message box and stop the macro.
             MsgBox strPrompt, vbCritical
             End
          End If
          ' Find the page number placeholder; if found, pick up the style.
          Dim rect As PageBoxSize
          Dim oPlaceHolder As Shape
          Dim bFound As Boolean: bFound = False
          For Each oPlaceHolder In _
             ActivePresentation.SlideMaster.Shapes.Placeholders
             ' Look for the slide number placeholder.
             If oPlaceHolder.PlaceholderFormat.Type = _
                ppPlaceholderSlideNumber Then
                ' Get the position of the page number placeholder.
                rect.l = oPlaceHolder.Left
                rect.t = oPlaceHolder.Top
                rect.w = oPlaceHolder.Width
                rect.h = oPlaceHolder.Height
                ' Get the formatting of the slide number placeholder.
                oPlaceHolder.PickUp
                ' Found the slide number placeholder, so set the
                ' bFound boolean to True.
                bFound = True
                Exit For
             End If
          Next oPlaceHolder
          ' See if a slide number placeholder was found.
          ' If not found, exit the macro.
          If bFound = False Then
             ' Unable to find slide number placeholder.
             MsgBox "Your master slide does not contain a slide number " _
                & "placeholder. Add a " & vbCrLf & "slide number placeholder" _
                & " and run the macro again.", vbCritical
             End
          End If
          ' Set up the string for the input box.
          strPrompt = "Type the name of the custom show you want to print." _
             & vbCrLf & vbCrLf & "Custom Show List" & vbCrLf _
             & "==============" & vbCrLf
          ' This is the title of the input box.
          strTitle = "Print Custom Show"
          ' Use the first defined show as the default.
          strDefault = _
             ActivePresentation.SlideShowSettings.NamedSlideShows(1).Name
          ' Obtain the names of all custom slide shows.
          Dim oCustomShow As NamedSlideShow
          For Each oCustomShow In _
             ActivePresentation.SlideShowSettings.NamedSlideShows
             strPrompt = strPrompt & oCustomShow.Name & vbCrLf
          Next oCustomShow
          Dim bMatch As Boolean: bMatch = False
          ' Loop until a named show is matched or user clicks Cancel.
          While (bMatch = False)
             ' Display the input box that prompts the user to type in
             ' the slide show they want to print.
             strShowToPrint = InputBox(strPrompt, strTitle, strDefault)
             ' See if user clicked Cancel.
             If strShowToPrint = "" Then
                End
             End If
             ' Make sure the return value of the input box is a valid name.
             For Each oCustomShow In _
                ActivePresentation.SlideShowSettings.NamedSlideShows
                ' See if the show is in the NamedSlideShows collection.
                If strShowToPrint = oCustomShow.Name Then
                   bMatch = True
                   ' Leave the For loop, because a match was found.
                   Exit For
                End If
                ' No match was found.
                bMatch = False
             Next oCustomShow
          Wend
          ' Get the array of slide IDs used in the show.
          Dim vShowSlideIDs As Variant
          With ActivePresentation.SlideShowSettings
              vShowSlideIDs = .NamedSlideShows(strShowToPrint).SlideIDs
          End With
          ' Loop through the slides and turn off page numbering.
          Dim vSlideID As Variant
          Dim oSlide As Slide
          Dim Info() As SlideInfo
          ' Make room in the array.
          ReDim Preserve Info(UBound(vShowSlideIDs) - 1)
          ' Save the current background printing setting and
          ' then turn background printing off.
          Dim bBackgroundPrinting As Boolean
          bBackgroundPrinting = _
             ActivePresentation.PrintOptions.PrintInBackground
          ActivePresentation.PrintOptions.PrintInBackground = msoFalse
          ' Loop through every slide in the custom show.
          Dim x As Long: x = 0
          For Each vSlideID In vShowSlideIDs
             ' The first element in the array is zero and not used.
             If vSlideID <> 0 Then
                ' Add slide ID to the array.
                Info(x).ID = CLng(vSlideID)
                ' Get a reference to the slide.
                Set oSlide = ActivePresentation.Slides.FindBySlideID(vSlideID)
                ' Store the visible state of the page number.
                Info(x).IsVisible = oSlide.HeadersFooters.SlideNumber.Visible
                ' Turn off page numbering, if needed.
                If Info(x).IsVisible = True Then
                   oSlide.HeadersFooters.SlideNumber.Visible = msoFalse
                End If
                ' Create a text box and add a temporary page number in it.
                Dim oShape As Shape
                Set oShape = _
                   oSlide.Shapes.AddTextbox(msoTextOrientationHorizontal, _
                                            rect.l, rect.t, _
                                            rect.w, rect.h)
                ' Apply the formatting used for the slide number placeholder to
                ' the text box you just created.
                oShape.Apply
                ' Add the page number text to the text box.
                oShape.TextFrame.TextRange = CStr(x + lStartNum)
                ' Increment the array element positon.
                x = x + 1
             End If
          Next vSlideID
    ' Print the custom show. NOTE: You must turn background printing off.
                 With ActivePresentation
                 With .PrintOptions
                 .RangeType = ppPrintNamedSlideShow
                 .SlideShowName = strShowToPrint
                 End With
                 .PrintOut
                End With
          ' Restore the slide information.
          For x = 0 To UBound(Info)
             ' Get a reference to the slide.
             Set oSlide = ActivePresentation.Slides.FindBySlideID(Info(x).ID)
             oSlide.HeadersFooters.SlideNumber.Visible = Info(x).IsVisible
          Next x
          ' Restore the background printing setting.
          ActivePresentation.PrintOptions.PrintInBackground = _
             bBackgroundPrinting
       End Sub

    Hi hlolrich,
    According to the description, you want to remove the shapes which created after you print the presentaion.
    I suggest that you name the shape you added with some rule, then we can delete thease shapes via the name rule.
    And here is a sample that you delete the shapes which name contains the
    myShape words on the first slide for your reference:
    Sub deleteShapes()
    For Each aShape In Application.ActivePresentation.Slides(1).Shapes
    If InStr(aShape.Name, "myShape") Then
    aShape.Delete
    End If
    Next aShape
    End Sub
    Also you can learn more about PowerPoint developing from link below:
    How do I... (PowerPoint 2013 developer reference)
    PowerPoint 2013
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there a way to have a "text box" stay with a table or chart?

    I have multiple tables on one sheet. I understand that the table is named over in the left side of the screen. For what i need to do,  I am looking at multiple tables on one sheet. Its easier to know which is which by having a text box above with its desctription. If I need to move that table I would like for the text box to move with the table it is for, rather than having to move them both seperately. Is there a way to like "merge" them together? I've selected the two together and looked for an option in the inspector & in the menu bar, yet still cant figure it out.
    =/ help!!

    For a table, you can use the Table Inspector to Show Name (checkbox near the top of the Inspector pane).
    As seen above, the Table name can be formatted using a choice of font, size and colour (not changed in the example). To format, click on the displayed name to select its frame/box. Then use the controls in the format bar to chose font, set size and color, and set the background colour if desired.
    I had finally just figured that out before I read this, after quite some time of messing around with it. Thanks for your quick response. Wish i realized these discussions were available when I first started using numbers! How very  helpful!!
    And to fireflyer, thanks for that advice I didnt know you can do that and I will be able to use that in many situations! =)

  • Use of text Boxes to programmatically update a PDF form

    Hello all;
    I am a very experienced programmer but I do not have much experience with
    PDFs , Acrobat, etc.
    I have come up with what I believe is my best solution based on what
    I have learned about PDFs and Acrobat.
    I am trying to do what seems , to me, like a very simple thing.
    Basic Programming Logic ....
    Develop a C# program that runs on a local client.
    Reads in an existing PDF file - which has been authored using Acrobat 9.0 Professional to have Text boxes that have meaningful names ... ie - recognizable names.
    Read some huge data file in EDI - or XML format - from some source or another.
    Update the "template" PDF file using this information by locating the appropriate text boxes named in the PDF file itself and print out as many pages of the PDF form as needed with the electronically received data.
    Basic Algorithm Logic
    I create a linked list in memory of all the internal segments of the PDF - carefully preserving all the necessary information and using the recognizable names of the text boxes - I re-write only the information that will appear in the text box and create a newly created and updated version of the PDF file and print it out. Repeating this for as many times as needed.
    This is my expected approach .
    Is there any reason why this should not be done or used ?
    Thank You , in advance, for your assistance.

    I see - <br />Isn't there an exisitng plug-in or other facility within the current Acrobat reader to read XML data ? <br /><br />I just tried saving off saving off an exsting PDF file as xml<br />using Acrobat 9.0 professional using <file><Save As Xml> and it worked - the output was realistically XML data - with a schema , etc. and recognizable heirarchical relationships, etc. <br />but it was not readable ....  <br />Isn't there an existing Adobe facility which allows it to read in the xml format that it creates ?<br /> <br />This is quite close to what I am trying to implement.<br />I'll bet that the developers have this little item at their disposal and the marketing department isnt even aware of the market potential - <br />If not , then I would like to suggest a new, inexpensive (add-on , plug-in, etc)  enhancement to the Acrobat reader -  <br />A utility that will read in the XML data format that Acrobat Professional generates ... <br /><br />I am being quite serious - there is a great need for this and it would serve the needs of your already existing clientelle - quite nicely .   (namely --- me) :)<br />I hope that you can either - pass this along to the marketing groups -- (I volunteer to Beta the software) <br />or pass me along to the required Third Part you have alreeady mentioned ... (I am hoping for Beta status ) <br />Thanks for the help <br /><br />Cheers

  • Accessing the value of a text box input

    how do i access the value of a text box on a jsp page..
    eg:if the page name is Test.jsp and it has a text box named text.....

    You're mixing JSP and JavaScript. If you're staying within the same page, e.g. no get/post to another JSP, and you need to update values of a text field within a form, use pure JavaScript, such as:
    <form name="fred">
    <input type="text" name="USERID" size="15" onBlur="document.fred.PASS.value=document.fred.USERID.value;"><br>
    <input type="text" name="PASS" size="15"><br>
    </form>
    This will change the value of the PASS field to the same as the USERID field, which is what I think you were trying to do.
    Not to be rude, but in the interest of keeping the Java forum pure, I would look towards a JavaScipt forum if you wish to use pure JavaScript (http://freewarejava.com/cgi-bin/forumdisplay.cgi?action=topics&number=1&SUBMIT=Go)
    bRi

  • Text Box Orientation in Acrobat Pro 9

    I am using the trial version of Acrobat 9 to test all features before purchasing.  One thing I cannot figure out is how to change the orientation of text in a text box.  The main portion of the page consists of horizontal lines of text.  I have created a text box running up and down the left hand side of the page, and I want the text in that box to consist of vertical lines.  It defaults to horizontal lines of text (like the main portion of the page), and when I try to rotate view, it rotates the entire page, not just the text box.
    Is this possible to correct?  This is an important part of my documents, so if I can't do it, I probably will not purchase Acrobat 9.  Any help?

    Thom Parker has posted 'Automating Placement of Annotations' on the Acrobat Users Community sites, http://www.acrobatusers.com/tutorials/2007/10/auto_placement_annotations . It uses the undoucmented or little documented Matrix2D feature of Acrobat.

  • A text box should appear based on combo box selection in a jsp page.

    Hi,
    I have this problem. I ahve an option in the combo box"other". If other is selected then a text box shud appear . Can any one post a quick answer for me. may be a sample of how to do it will help me a lot.
    Thank You,
    Sagar.

    Hi Guys,
    Thnx all for ur replies. Let me explain u the scenario which i work in now. I have a combo box with 4 values "other " being the last of them. If i select "other" then a text box shud appear with the label. what happenes now is i have added onChange whn an option is changed . I have named that functiion refresh for which the code goes like this..
    function refresh()
    window.location.reload(true);
    whn i select an other option thn the whole page gets refreshed and the first value only appears. If i select other then the page refreshes and gets back again to the first value. These guys here use tags like <c: if> <C;choose> <c: otherwise> which am not familiar with. Do pls help me in retaining the option selected.. Thank You.

  • I keep getting crashes and error messages when trying to use LiveCycle. So far, the most I have been able to is create and name 3 text boxes.

    Despite having uninstalled, reinstalled, change compatibility, run as admin and a host of other "fixes", LC keeps crashing, closing out and otherwise failing to operate. At this point the most I have been able to accomplish has been inserting 3 text boxes and then naming them. As soon as I change the caption name on the 3rd box (or sooner) the program stops working and I get the wonderful message from windows telling me, the program has stopped. I needed the extra input from Windows because, you know, when the program crashes I was just thinking it was naptime.  2.5 hours I have spent so far trying to fix this. Someone please help me!!

    I am not sure what you mean by "Flash Player for steam"; the only Flash Player installers I know is the ActiveX (for Internet Explorer) and the plugin (for other browsers); you can find both at http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    [topic moved to Flash Player forum]

  • Acrobat 11 - Text boxes are garbled

    Windows XP, Acrobat 11 (Hebrew)
    I saved a number of Word 2007/2010 documents as PDFs and then combined them into one PDF. The original Word documents contained many textboxes. Although the individual Word documents that were saved as PDFs are fine, and the combined document looks fine as well, sometimes errors occurred.
    I printed the document to my in-house printer and all was fine. I used WeTransfer to transfer the file to a publisher.
    a) When he printed, a few of the many text boxes were missing some of the text. He sent back the file. I fixed the textboxes and sent it back using WeTransfer. At that time, a different textbox was missing some text. Also,
    b) Occassionally, within a textbox, the ? at the end of a line printed at the beginning of the line instead.
    Does anyone know if there is a bug or other reason that this is occurring?
    Thanks

    Thank you LoriAUC and Bill for responding. If you have patience, I still need help.
    Lori, no, I had not been using the PDFMaker on the Acrobat ribbon. I had gone to Save As and changed the Type to Adobe PDF. I looked at the Acrobat ribbon now but I am having difficulty.
    I see that under Preferences | Advanced Settings | Fonts, I can select fonts to embed and remove those in the Do Not Embed list. How do I ensure that this sticks? If I click Save, I am prompted for a name but when I return to the Advanced Settings | Fonts dialog box, the original setting is there.
    How do I make the setting stick? How do I use my named settings? Is there a way I can use it automatically for all ~90 previously saved documents I am working with?
    Also, should the “Subset fonts when percent of characters used is less than:” be set to 1?
    Bill, where are the Print or Press job settings?
    Thank you both for your help. I really appreciate it.
    Guy

Maybe you are looking for

  • Apple ID, same ID on two phones...

    Hi, I have a new iphone which is my primary phone, and I use my old iphone for streaming movies. They both have the same Apple ID. Can I delete the Apple ID off my old phone? But keep it on the new one? One of the problems is when I use Find My Phone

  • My video chat on the new mac book pro is not working

    Hi I just recieved my mac book pro today and my video chat for aim is not working? Can anyone help me?

  • Why did it slow down my mac

    I just downloaded Mountain Lion and I have noticed a severally impact on my system. Everything takes a long time and has slowed down from the synced iphone, iphoto, pages, and even itunes. I have never had this problem till this new operating system.

  • Error with disp+work.exe in Cluster

    Hi! I have installed SAP Solution Manager 4.0 on Windows as MS Cluster. After Kernel Upgrade the central instance (disp+work.exe) does not start and stopped after a while. Fri Feb 22 16:04:13 2008 SAP HA Trace: Build in SAP Microsoft Cluster library

  • Erreur 200279

    Bonjour, Je suis une utilisatrice nouvelle de Labview 8.5 version de base. J'ai un cNI DAQ-9172,  et deux modules d'acquisitions: NI 9217 pour la température, et NI 9203 pour le courant. J'ai fait un programme simple à l'aide de l'assistant DAQ qui m