How to enter text into text box in Pages '09

When I manually select a text boxes in Pages, I can paste text into them. I can move from text box to text box using System Events to keystroke tabs but have not figured out how to get Applescript Editor to make the pastes. I am trying to use Applescript Editor to enter text into a pages document that is formatted for labels.

I have downloaded template U-0089-02_P.doc from Avery, 14 boxes displayed in two columns of seven rows.
Once you have clicked in the upper left box, the following script should enter text into every box, from left to right and top to bottom.
tell application "Pages"
activate
tell application "System Events"
keystroke "Box 1"
keystroke tab & tab -- to go to the next column
keystroke "Box 2"
keystroke tab -- to go to the next row
keystroke "Box 3"
keystroke tab & tab
-- and so on
end tell
end tell
The problem is that I don't know how to enter the upper left box from the AppleScript Editor.

Similar Messages

  • How to get the long text into text area

    Hi,
    save_text is working fine .
    Now I want to display the text in text area .
    am using read_text fm for this and data is coming into the internal table of the function module.
    how shd I display that long text into text area and that text shld appear has display mode only and how shd I make all other fields in my subscreen as display mode.
    Pls guide me its urgent.
    thanks,
    krishna

    Hai.
    check this.
    Long Texts are stored in tables
    STXH - header
    STXL - details.
    if you want to read the texts you can use Fun Module  READ_TEXT
    Any Application document Header and Item Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG
    These texts are fetched from database using READ_TEXT fun module by passing the above 4 parameters.
    Double click on the text, from the text editor menu GOTO-> HEDAER
    you will find the all above 4 parameters
    so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.
    example:
    Re: upload longtext from excel file  
    REPORT  zupload_excel_to_itab.
    TYPE-POOLS: truxs.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    TYPES: BEGIN OF t_datatab,
          col1(30)    TYPE c,
          col2(30)    TYPE c,
          col3(30)    TYPE c,
          END OF t_datatab.
    DATA: it_datatab type standard table of t_datatab,
          wa_datatab type t_datatab.
    DATA: it_raw TYPE truxs_t_text_data.
    At selection screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    *START-OF-SELECTION.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
        I_FIELD_SEPERATOR        =
          i_line_header            =  'X'
          i_tab_raw_data           =  it_raw       " WORK TABLE
          i_filename               =  p_file
        TABLES
          i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
       EXCEPTIONS
          conversion_failed        = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3.
      ENDLOOP.
    refards.
    sowjanya.b

  • Concatenate hex and text into text in old versions

    Hello!
    The code
    DATA: v_hex1 TYPE x VALUE '0A',
          v_text1 TYPE char100,
          v_text2 TYPE char100.
    CONCATENATE v_hex1 v_text1 INTO v_text2.
    works fine on my 4.7 WAS 620 system. However, I've got complaints from other SDNers (I've posted a weblog with code) that they get systax error <i>V_HEX1 must be a character-type data object (data type C, N, D, T or String), field string).</i>
    Is there an alternative, version-independant way, to concatenate hex and text into text?
    My problem is that I don't have older SAP version available, so I can't test.
    Thanks!
    Igor

    Hi Igor,
    I have executed this very code on a 4.6C system and on a 4.0B system. I did not get any error. But if I change the type of v_hex to an integer, then I get the error which says the data type of v_hex should be C,N,D,T or string.
    I wonder why I do not get the error even when v_hex is of type x.
    Anyways, if the error does come, then may be we can use something like this -
    DATA: v_hex1 TYPE x VALUE '0A',
          v_text1 TYPE char100,
          v_text2 TYPE char100.
    write v_hex to v_text2.
    CONCATENATE v_text2 v_text1 INTO v_text2.
    This will not give you any error as such, but 0A is interpreted as a character string :-(.
    =======================================
    More surprisingly, if I execute your code on a 4.7 with WAS 640, I get the error you are talking about.
    With some confusion,
    Anand Mandalika.

  • I can't paste text into info boxes anymore with the latest version of itunes

    Ever since I downloaded the latest version of itunes (on Windows 7), I can no longer paste text into the info boxes when I edit song information. I can’t paste by right-clicking or Ctrl+V, this is driving me crazy because I’m trying to add info on a Russian artist with Cyrillic letters and I can’t do it! I didn’t buy the song from itunes so it can’t be issues with Copyrighting although the same thing happens with songs from the store and every other song in my library. I can paste text into the lyrics section but that’s it. I restarted my computer after reinstalling the latest versions of itunes and Firefox today hoping it would fix my problem but it didn’t. Is this happening to anyone else? I hope someone can help me! Oh and it isn’t just with Russian, I tried to paste English info just to see if it was a problem with recognizing Cyrillic and still nothing pastes, the boxes just stay blank.
    Itunes is annoying me more than ever. With the constant updates you’d think they would be able to improve all bugs but once one problem is fixed another occurs and it’s so irritating because I couldn’t care less about how my library looks as long as everything is organized in a simple way and I can sync my ipod without spending forever on itunes re-editing stuff and readjusting to updated layout changes. Apple’s attempts at making things look “cool” isn’t worth the F-ing constant problems which matter more! Okay, rant over

    M_E_G wrote:
    With the latest version of iTunes, my library screen has changed completely and I no longer have a Summary tab to select manual syncing of my iPod when I plug it into my computer.
    That would be Manually manage, not Manually syncing.
    Click the drop down arrow at top left the Show menu.
    Then iTunes menu View > Show sidebar.
    Select the iPod then you can select the Summary tab.

  • How to write the text into text objects

    Hi,
    I have one requirements . from the web we get the delivery line item based pallet numbers info with Quntity .
    How to write the line item level pallet information in the the Delivery line items text element "pallet info" .
    Any function module to write the text data into text elements in SAP like READ_TEXT.
    please give your valuable suggisions .
    Thanks &Regards
    Sai.

    Try:
    CREATE_TEXT
    SAVE_TEXT

  • How to enter lyrics into iTunes

    Is there anyway to enter lyrics into the lyrics filed in iTunes.  I can't seem to copy and paste or drag a jpg into the area.   Must the be typed in?

    You can copy and paste text.  Also check the Dougscripts web site for lyrics scripts.

  • How to enter values in JList box and JTable ???

    Hi friends...
    i am new to Swing
    SInce i am using Netbeans IDE 5.5
    and there is easy to do swing programming using this IDE
    now i am confused using JTable and JList box
    since i used method Insert in AWT
    but how to add values in LIST BOX ( JList )
    ex.
    JList list = new JList( );
    list.add(mystringvalue, ? );
    here it ask for component so what should i write here..
    when i write here this, gives error.
    what to do to insert string or vector or object in JList
    and to enter value in JTable
    THanks

    hi Ghanshyam,
    i am also new to swing i was just wondering are you using the swing palette to create your interface
    by the look of the code
    JList list = new JList( );
    list.add(mystringvalue, ? );you may not be because every JList is put in a JScrollPane
    but if you do want to do it through the palette there is an option in properties - model which you can uses to add in values.
    and if your looking to get info. from a database look up
    AbstractListModel &
    AbstractTableModel
    the is a lot of info on the internet (example net beans CarTableModel) is a
    good start off
    happy hunting.
    JJ

  • How to enter constants into Labview that will affect the graph?

    How do you enter constants into Labview in which x and y would be dependent on them? Ex. Say I am creating a graph of voltage vs time and I want to have constants such as trigger level (such as wanting my graph to start recording data when it reaches 20 volts and stop recording after 20 volts). I would also want to have a time interval as a constant. I have no clue how to do this in labview so I am looking for some kind of help. Thanks
    Solved!
    Go to Solution.

    You would just make the values write to an array of x vs y.
    The values would only write if some boolean was true (such as voltage > 20)
    Then cluster the x and y and send the cluster to a graph.
    Message Edited by Cory K on 12-11-2008 11:04 AM
    Cory K
    Attachments:
    condition.PNG ‏8 KB

  • How to inject html into a wiki generate page?

    How do you put in custom HTML into a wiki generated page? Say I have a I want injected into each wiki page; where within the structure of the wiki server files am I able to do that? I figured finding the code where the <head> tag for a wiki page is created would be a good place to start, but I haven't been able to find where that is done. Any ideas? Thanks.

    From the SL Server Wiki Admin document:
    To add JavaScript files or XSL files to a theme:
    1 Put JavaScript (.js) files or XSL (.xsl) files in this folder (shown below): /Library/Application Support/Apple/WikiServer/Themes/theme_name/ Replace theme_name with the name of the theme.
    I've done this, and I can see that the javascript is available in the generated html, but I don't see in the documentation on how call the javascript function. What am I missing here?

  • How to print text into different boxes in a main window

    Hi,
         I divided the main window into 5 windows using boxes.
         Now how can I print different data into each of these boxes.
         The data comes from a print program .
      Please suggest.

    Hi
    In smartforms you can create a template object or a table object and set the boxes.
    after you'll create the text object into the templeate and set on which box the data will write.
    best regards
    Marco

  • I just upgraded to Firefox 17.0.1 and now I am unable to entered anything into text fields.

    After upgrading to Firefox 17.0.1 text cannot be entered in either the URL bar, the search bar, or any text boxes/input fields/forms on webpages. When the text field is clicked the cursor is positioned properly and blinks but typing generates no text.

    Hello hj21c1yg, check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#os=win7&browser=fx17 Safe Mode], in Safe Mode window select '''''"Start in Safe Mode"''''' and see if this happen again, '''''if not''''' see: [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#os=win7&browser=fx17 Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • How can I continue text into column on next page in the new Pages?

    In the previous version of Pages if your text exceeded the length of the column, there was a little icon to the right of the column where you could click to have the remaining text continue to another column on another page. I don't see any option to continue the text once you've run out of space. How can this be done in the new verio
    Message was edited by: JoyRose

    Feature removed in Pages 5 along with over 90 others.
    Peter

  • Downloaded a new txt tone.  It has gone into Ringtones.  How do I get into Text Tone on my settings?

    I have downloaded a new text tine.  When I syncd the iphone, it has gone into my Ringtone catagry under Sounds.  Hw do I transfer it to Text Tone?

    You don't. Currently, custom SMS tones is not a feature of the iPhone. This will change when iOS 5.0 is released this fall, but for now what's on your phone are your only choices.

  • How to enter second short text description language in task list header

    Hi,
    I can't find how to maintain second description language in task list header,
    Does some know how to do it (I have searched in Go TO menu - but haven't found anything useful there).
    Daniel Gontar

    Tasklist in Different languages
    PeteA

  • IDCS3: Can't enter values into dialog boxes

    I've just started using InDesign CS3 on an Intel Mac, having been using CS2 on a G5. When I try to enter a value into a dialog box, nothing happens. The dialog box refuses to accept any inputted value. If I use the up/down arrows, I can change the value but only in whole increments. I can't, for instance, place an item 10.5mm from the page edge. It has to be 10 or 11mm.
    The same is true of any dialog box for any value.
    Has anyone else experienced this very frustrating issue?
    Thanks.

    I guess I need to clarify my situation. I was using the wrong terminology. When I talk about "dialog boxes" I mean the palettes like the Control Panel, Paragraph, Character, Stroke, etc. I can't type into any of them. If I put the cursor in, say, the X pos text box and hit tab (to go to the Y pos text box) all that happens is that all the palettes are hidden. It's like I can't get any focus at all in the palette text boxes.
    Sorry about the confusion.
    This problem isn't limited to my machine, it happens on any of our networked Macs running CS3, so I think the problem may be related to something else, possibly the Suitcase Server. But there's no way I can confirm this. I was hoping someone else had had the same problem and discovered a solution.
    Cheers.

Maybe you are looking for

  • Purchase Order External Send with email body text

    hi guru, i saw lot of threads but i didn't get coreect answer i did below process Goto NACE . u2022 Select EF and click on OUTPUT TYPES. u2022 Then select Output Type NEU and click on processing routines . u2022 In that you have to add a new entry -

  • PS FW PS + sub-pixel nudge

    I downloaded Custom Nudge for FW at http://johndunning.com/fireworks/about/CustomNudge This is because my understanding is PS wont do sub pixel nudge ( i tried Optipix 3.1 and it did not seem to work right) Question is: Can I import the PSD to FW > m

  • Connection down - but now working

    Just a little positive for a change. Came home Thursdays to see my HH3 with a yellow broadband light. Rebooted everything and it seemed to be OK for a little while, then disconnected. It then kept doing the same, the DSL light on the modem would star

  • Security Filtering for GPO processing

    Hi, I have an OU which contains all the servers accounts. I have multiple GPOs that are linked to this OU but I have a GPO that contains only User configuration part witha script to map files. Requirement is that this policy should be applied when a

  • How to body double in FCPx?

    The response was very. What is the tremendous amount of skill that is necessary? What do I need to study or learn? Key framing?