How do I move a graphic-box in a document I imported from AppleWorks?

I imported a book which I wrote in AppleWorks without problems into Pages '08. On one page of this book I had created a box, using the graphics tool, and moved it to the back so I could read the text inside it. It is now in the Pages '08 version of my book, but because of editing and additional writing which I've done, it appears on page 295, not 297 where it belongs. In AppleWorks I could simply select it and drag it into place. In Pages '08 I can't figure out how to select it. It's just there.
Help desperately needed.

Here is an AppleScript which, in a single call will
• extract the embedded picture files
• strip the annoying description of the 'background' pictures from the Index.xml file.
So, we may open the Pages document, it will be free of the oddity and the picture files are available in the folder "importés_sétropmi" on the desktop.
--(SCRIPT recupPictures]
Save the script as an Application (Bundle Application if you want to use it on a MacIntel)
Store it on the Desktop.
Drag and drop the icon of a Pages document imported from AppleWorks on the script's icon.
The script will move the embedded picture files in a folder named "importés_sétropmi" on the desktop.
Then it will strip the Index.xml file from the block of datas describing the embedded pictures.
Yvan KOENIG (FRANCE 7 juillet 2008)
property typePages : "com.apple.iwork.pages.pages"
property baliseDebut : "<sl:drawables>"
property baliseFin : "</sl:drawables>"
property return2 : return & return
property line_Feed : ASCII character 10
property line_Feed2 : line_Feed & line_Feed
property monDossier : "importés_sétropmi"
property withSeconds : true
--=========
on run (*
lignes exécutées si on double clique sur l'icône du script application
• lines executed if one double click the application script's icon *)
tell application "System Events" to set docIwork to (choose file of type typePages)
my commun(docIwork) (* un alias *)
end run
--=========
on open (sel) (*
sel contient une liste d'alias des élémentsqu'on a déposés sur l'icône du script (la sélection)
• sel contains a list of aliases of the items dropped on the script's icon (the selection) *)
set item1 to item 1 of sel
tell application "System Events" to set typeID to (type identifier of item1) as Unicode text
if typeID is not typePages then return
my commun(item1) (* un alias *)
end open
--=========
on commun(thePack)
local typeID, p2d, p2dd, liste, path2Index, texteXML, lafin
set p2d to path to desktop as Unicode text
set p2dd to p2d & monDossier & ":"
tell application "Finder"
set liste to files of thePack whose name starts with "file"
if liste is {} then return (* no picture file so nothing to do *)
if exists folder p2dd then set name of folder p2dd to (monDossier & my horoDateur(modification date of (item p2dd)))
make new folder at folder p2d with properties {name:monDossier}
repeat with f in liste
move f as alias to folder p2dd
end repeat
end tell -- to Finder
try
set path2Index to (thePack as Unicode text) & "Index.xml"
set texteXML to my lis_Index(path2Index)
if texteXML contains baliseDebut then
set liste to my decoupe(texteXML, baliseDebut)
set lafin to my decoupe(item 2 of liste, baliseFin)
set texteXML to item 1 of liste & lafin
if texteXML contains return2 then
set texteXML to my recolle(my decoupe(texteXML, return2), return)
end if
if texteXML contains line_Feed2 then
set texteXML to my recolle(my decoupe(texteXML, line_Feed2), line_Feed)
end if
my enregistre(texteXML, path2Index)
end if
on error error_message number error_number
if the error_number is not -128 then my affiche(error_message)
end try
end commun
--=========
on affiche(msg)
tell application "Finder"
activate
display dialog msg buttons {"Cancel"} default button 1 ¬
giving up after 120
end tell
end affiche
--=========
on lis_Index(cheminXML0)
local cheminXML0, cheminXMLgz, txtXML
set cheminXMLgz to cheminXML0 & ".gz"
tell application "System Events"
if exists file cheminXMLgz then
if exists file cheminXML0 then delete file cheminXML0 (*
un curieux à pu dé-gzipper le fichier
• someone may have gunzipped the file *)
my expand(cheminXMLgz)
set txtXML to my lisIndex_xml(cheminXML0)
else if exists file cheminXML0 then
set txtXML to my lisIndex_xml(cheminXML0)
else
error "Index.xml missing"
end if
end tell -- to System Events
return txtXML
end lis_Index
--=========
on expand(f)
do shell script "gunzip " & quoted form of (POSIX path of (f))
end expand
--=========
on lisIndex_xml(f)
local t
try
set t to ""
set t to (read file f)
end try
return t
end lisIndex_xml
--=========
on enregistre(leTexte, nDoc)
local aliasNDoc
set aliasNDoc to nDoc as alias
write leTexte to aliasNDoc starting at 0
do shell script "gzip " & quoted form of POSIX path of aliasNDoc
end enregistre
--=========
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=========
on recolle(l, d)
local t
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to ""
return t
end recolle
(* =============
• Build a stamp from the modification date_time
on horoDateur(dt)
local annee, mois, jour, lHeure, lesSecondes, lesMinutes
set annee to year of dt
set mois to month of dt as number (* existe depuis 10.4 *)
set jour to day of dt
set lHeure to time of dt
set lesSecondes to (lHeure mod 60)
set lHeure to round (lHeure div 60)
set lesMinutes to (lHeure mod 60)
set lHeure to round (lHeure div 60)
if withSeconds is true then
return "_" & annee & text -2 thru -1 of ("00" & mois) & text -2 thru -1 of ("00" & jour) & "-" & text -2 thru -1 of ("00" & lHeure) & text -2 thru -1 of ("00" & lesMinutes) & text -2 thru -1 of ("00" & lesSecondes)
else
return "_" & annee & text -2 thru -1 of ("00" & mois) & text -2 thru -1 of ("00" & jour) & "-" & text -2 thru -1 of ("00" & lHeure) & text -2 thru -1 of ("00" & lesMinutes)
end if (*
• Here, the stamp is "_YYYYMMDD-hhmm" or "_YYYYMMDD-hhmmss" *)
end horoDateur
--=========
-- [/SCRIPT]
Yvan KOENIG (from FRANCE lundi 7 juillet 2008 20:27:47)

Similar Messages

  • HT4972 how do i move my apps and music back to my iphone from the itunes library

    how do i move my apps and music back to my iphone from ituneslibrary

    See Here  >  Syncing with iTunes
    From Here  >  http://www.apple.com/support/iphone/syncing/
    More Info Here  >  iPhone User Guide

  • How do i move my nik software plugins to photoshop creative cloud from cs5 on a mac

    how do I move my Nik software plugins to PS creative cloud from PS cs5 on a mac?

    I would reinstall it, seeing as there has been some issues with a new plugin that they released.

  • How do I get rid of "unreadable files" when I am importing from my camera?

    How do I get rid of "unreadable files" when I am importing from my camera?

    Are all images unreadable? What is the exact error message you are getting?
    If only a few images are unreadable, try to import not all photos at once, but in smaller batches, until you know, which photo it is that cannot be read. Import all photos that can be read and reformat your card in the camera to remove the unreadable files.
    But if all photos are unreadable, try, if Image Capture can read your card.
    Is it a new camera? Have you been able to import from that camera before?

  • How do I move a graphic in my send email

    I have pasted a graphic in my email but it is stuck at the top of the page. I would like to move it and then add text. How do I move it? I can resize it, but not move it. Thunderbird is 31.0 and firefox is 30

    Nothing works, so I am through trying. Thank you all for the help. I appreciate your suggestions

  • How to add a nice graphic box to code??

    How do you add a nice graphic box to code? i wanted to add a little back ground colour and title with a white box for imput like
    http://img211.imageshack.us/img211/4563/examplejb4.jpg
    here is my code so you see what im doing it with
    //logtest.java
    import java.util.*;
    import java.io.*;
    public class logtest
         public static void main(String[] args)
              FileOutputStream out;
              PrintStream p = null;
              boolean quit = false;
              String fileName = "", fileLine = "", date = "", classes = "";
              Scanner file = null;
              Scanner s = new Scanner(System.in);
              double exitword, sample;
              System.out.print ("Enter the date: ");
              date = s.nextLine();
              while (!quit)
                   System.out.print ("Enter a filename: ");
                   fileName = s.nextLine();
                   if (fileName.equals("quit"))
                   System.exit(0);
                   else
              try
                   out = new FileOutputStream(fileName, true);
                   p = new PrintStream( out );
              catch (Exception e)
                   System.out.println ("Error writing to file");
                   System.exit(-1);
              System.out.print ("What classes are you doing? : ");
              classes = s.nextLine();
              p.print( date + " ");
              p.print(classes + " ");
              p.println ( "" );
              p.close();
    }thanks
    Edited by: kingryanj on Feb 23, 2008 11:36 AM

    i have examples of that but i cant brake it up
    //  Fahrenheit.java       Author: Lewis/Loftus
    //  Demonstrates the use of text fields.
    import javax.swing.JFrame;
    public class Fahrenheit
       //  Creates and displays the temperature converter GUI.
       public static void main (String[] args)
          JFrame frame = new JFrame ("Fahrenheit");
          frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
          FahrenheitPanel panel = new FahrenheitPanel();
          frame.getContentPane().add(panel);
          frame.pack();
          frame.setVisible(true);
    }the panel part
    //  FahrenheitPanel.java       Author: Lewis/Loftus
    //  Demonstrates the use of text fields.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class FahrenheitPanel extends JPanel
       private JLabel inputLabel, outputLabel, resultLabel;
       private JTextField fahrenheit;
       //  Constructor: Sets up the main GUI components.
       public FahrenheitPanel()
          inputLabel = new JLabel ("Enter Fahrenheit temperature:");
          outputLabel = new JLabel ("Temperature in Celsius: ");
          resultLabel = new JLabel ("---");
          fahrenheit = new JTextField (5);
          fahrenheit.addActionListener (new TempListener());
          add (inputLabel);
          add (fahrenheit);
          add (outputLabel);
          add (resultLabel);
          setPreferredSize (new Dimension(300, 75));
          setBackground (Color.yellow);
       //  Represents an action listener for the temperature input field.
       private class TempListener implements ActionListener
          //  Performs the conversion when the enter key is pressed in
          //  the text field.
          public void actionPerformed (ActionEvent event)
             int fahrenheitTemp, celsiusTemp;
             String text = fahrenheit.getText();
             fahrenheitTemp = Integer.parseInt (text);
             celsiusTemp = (fahrenheitTemp-32) * 5/9;
             resultLabel.setText (Integer.toString (celsiusTemp));
    }

  • How can I move a graphic ?

    I have two classes set up. One of them has the graphic sitting in teh center of the panel, while the other class sets up the menu and action listener things. In one of the menu items I have four options, up, down, left, and right. How can I make it so when I select one of them, it moves the graphic X number of pixels in the corresponding direction? I am having trouble with the action listener things I guess.. Any help?
    Thanks.

    import javax.swing.*;
    import java.awt.*;
    public class ColorPanel extends JPanel
    {   private int x;
        private int y;
        ColorPanel(int vertical, int horizontal)
            setPreferredSize(new Dimension(300,300));
            setBackground(Color.white);
            x = horizontal;
            y = vertical;
        public void paintComponent (Graphics g)
            super.paintComponent(g);
            g.setColor(Color.black);
            g.drawRect(0, 0, 50, 50);
            g.drawString("Goal", 10, 30);
            g.fillOval(x, y, 10, 10);
    }and
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ColorFrame extends JFrame
    {   private int x;
        private int y;
        ColorFrame()
        {   int origx=150; int origy=150;
            panel = new ColorPanel(x,y);
            getContentPane().add(panel, BorderLayout.CENTER);
            JMenuBar menuBar = new JMenuBar();
            setJMenuBar(menuBar);
            JMenu fileMenu = new JMenu("File");
            menuBar.add(fileMenu);
            fileMenu.add(createMoveItem("Up", x, y+=20));
            fileMenu.add(createMoveItem("Down", x, y-=20));  
            fileMenu.addSeparator();
            fileMenu.add(new ExitItem("Exit"));
            pack();
            setVisible(true);
        public JMenuItem createMoveItem(String label, final int x, final int y)
            JMenuItem item = new JMenuItem(label);
            class MenuItemListener implements ActionListener
                public void actionPerformed (ActionEvent evt)
                    panel.repaint();
            item.addActionListener(new MenuItemListener());
            return item;
        class ExitItem extends JMenuItem implements ActionListener
            ExitItem(String label)
                setText(label);
                addActionListener(this);
            public void actionPerformed (ActionEvent evt)
                System.exit(0);
        private ColorPanel panel;
    }

  • How do I create a Favorites section in my Library for importing from my Desktop?

    How do I create Favorites in my Library so I have a shortcut for importing from my Desktop?

    Select the drive from the Device sidebar in the left pane of the import window. Use the drop down by clicking on the drive icon that appears in the main import window. Drag the Desktop to Favorites.
    Russ

  • How do I move some program files and redirect my user files from ssd C to drive E?

    Brand new HP Phoenix  h9-1183, Windows 7 64 bit SSD only 99.2 GB, data drive E: 2 TB.
    When tried to transfer files from old HP desktop to new Phoenix, I got the message that there was not enough space. When I took a closer look, I was surprised that only 99.0GB was assigned to the OS. I have been trying to figure out how to remove some of the programs that came with the computer (i.e. DVD Maker, Windows mail, Cyberlink Power DVd, Power2go etc.) from the C drive onto the E drive where there is more space. Also if I could move my library (documents, pictures, music, vide etc.) to E  drive that would give the OS drive more space for updates etc. I have been searching for the how to, but have discovered that the program files and user files which contain the library etc. should not be moved according to Microsoft and if they are they won't cover any service. Tried to contact them with my problem (and it seems this will become a bigger problem as more and more of the newer computers containing ssds are going this way with little space in the C: SSD) and I got the message to contact my computer manufacturer. Tried seeing on the HP help and support if there is a solution for this and saw nothing. So here I am with a new computer and I've spent a couple of weeks now trying to set things up and searching for a way to allow more hard drive space. I found this site ( http://www.youtube.com/watch?v=kKTNmoq2zXI&feature=fvwrel) on how to move user files from C onto new drive, but it only works for 1 folder (I moved my video folder and then when I tried to move my pictures, it got messed up and I had to do a restore. There must be a simple way to fix this; otherwise this computer is useless. Thanks for any help or suggestions!!
    Charlotte

    Hi,
    That's right, this is the installation process:
    C. Install and activate Norton Internet Security
    You can install and activate Norton from a CD or a downloaded file:If you do not want to join Norton Community Watch, uncheck the option. By default, this option is checked.
    Insert the CD into your computer's CD-ROM drive (if you are installing from a download, double-click the file you downloaded and proceed to step 2).
    Place a check in the box next to Norton Security Software, and click Next.
    When the installation is complete, find and open the Norton Security Software folder on your desktop.
    Double-click on the Install Norton Internet Security.exe icon to begin the installation.
    Click OK to begin the installation, or click Install Options to change where Norton installs, and then click Browse to locate the new location. ........
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to fill in a text box on a pfd form downloaded from the internet

    I am desperate to know how to fill in text boxes on a pdf form that has been downloaded from the internet

    Usually you just click in it and start typing... If that's not working then maybe what you're seeing is not a real text field.
    In that case you can probably use the Add Text Comment tool under the Comment panel to add text to the file.

  • How to download movie clips to Mac OS X 10.4.11 from Nikon Coolpix S640?

    Hi ~ I have photos and one short movie clip on my SD card. I downloaded all the photos into iPhoto. Since the movie clip was on the same SD card I thought that it would automatically download to "somewhere"? I did find out that it would be a AVI file, I believe. I tried to find it somewhere on my computer but could not. Where did it go?
    Luckily, I did not erase it from my SD card. I am wondering how to correctly download this movie.
    I have not installed the Nikon software because it overtakes my photos in iPhotos and I had a scare when I thought I lost all my photos. I uninstalled it and my photos reverted back to normal in iPhoto. Who knows, maybe I did it wrong initially. Anyways, I contacted Nikon C.S. and they said if I did not want to use the Nikon software to download with, then the movie clip would be viewable in QuickTime. I could not find it there, either. I hope you can assist.

    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    For Mac OS X 10.4.11 or Mac OS X 10.5.8 you can look at:
    * http://www.floodgap.com/software/tenfourfox/
    Firefox 3.6.x can be found here:
    * http://www.mozilla.com/en-US/firefox/all-older.html

  • How do you selected all text boxes in a document

    Say you have 100 pages in a document and you have a threaded text box placed on pages 1 through 100. How do you selected all the text boxes at the same time? You might do this to change the size of the boxes, or lock all of the boxes, or apply an object style to all of the boxes.

    Depending upon how well your document is set up though, layout adjustment might work.
    If changing text box size is on your agenda, and every text box is lying exactly on guides, then layout adjustment might work.
    The only way I can think of to lock all frames in a story, or to change the size of all text frames in a story, would be to write a Javascript. And, even after years of practice, I know that it'd still be faster for me to just step through the document and make the changes by hand than it would be to bang my head against Javascript for n hours before I found a good solution.
    Barring these exceptions, I think that Bob's statement
    You don't because you can't.
    is actually pretty accurate. Terse, maybe, but accurate.

  • How do I move recents to a folder in documents?

    have tried edit and move but doesn't work. Using iPad air2
    thanks

    There is no way to directly move the files to Documents. As a workaround, if the files are stored in Acrobat.com, you can move them to Documents by going to https://files.acrobat.com and opening them in the Adobe Reader for iOS app.

  • How do i move pages around in my pages document??

    I have done an assignment  through iwork on pages and i would like to move the pages around into order?? Can someone please help me??

    Roisin,
    I'll assume that you have a normal Word Processing template document. The answer also depends on whether there is any Floating object content mixed in with the text. We'll assume not.
    Set the cursor to the end of the previous page's content, then scroll without moving the content to the end of the page you wish to move. Now Shift-Click at the end of the page to select the entire page and Command-X.
    Now set the Text Insertion cursor at the end of the page just above where you want to drop the content you Cut and Command-V.
    Jerry

  • How can I move all my contacts into a single email group from all the other group?

    I've got several email accounts, but my contacts are spread across them. Of course, when I access or search my contacts they do all get searched together, but I need to delete an account and this will result in me losing many contacts.
    So before I do this, I want to consolidate all my contacts into my main personal email group account. But short of doing them one by one, I can't find a way and I have several thousand contacts at risk of being lost.
    Can anyone advise me?

    Go to your Contacts on your Mac - if more than one pick the most accurate; delete any contacts you don't want. Select all the contacts, and from the File menu choose 'Export...'>'Export vCard'. Save the resultant file safely: it will be your 'master' list.
    Now delete all the contacts from whichever device has the most in it. Sync with iCloud. If necessary repeat with different Macs. The result should be that the deletions sync to iCloud and in the end you finish up with empty Contacts lists everywhere.
    Now you can import your saved file to one of your Macs. Make sure you import it under 'iCloud' not 'On My Mac'. Then it should propagate iCloud and any other devices. Keep the saved file at least until you are satisfied that all is in order.

Maybe you are looking for

  • Adobe Acrobat 11 will not open files in IE 10.0.06

    Adobe Acrobat 11 will not open files in IE 10.0.06. Problem started about 2 months ago. It can open older files on computer but cannot open or downloadd any from internet. Using Office 2010. Already spent an hour with my computer tech support under w

  • PSP clear cache not reflecting in all Languages

    Calling siebel forum!!.. Clear cache of PSP is not taking effect in SVE application However works well in ENU. We have done clear cache from ENU but should Work across all server and language deployements. This will work after server restart but is t

  • Problem Related to MIR7 and MIRO?

    Hi All, I want to hide the amount field in MIRO and MIR7, so that no bone could change the amount while passing it. please tell me from where can I hide the same?

  • How to use operator "in" with MDX in SSRS?

    I'm building an ssrs report with this MDX query: SELECT NON EMPTY { ([KeyWords Dim].[Keywords].[Keyword].ALLMEMBERS * [Ad Dim].[Countries].[Countries].ALLMEMBERS * [Creative Dim].[Creatives].[Title].ALLMEMBERS ) } ON ROWS, [Measures].[Clicks] ON COLU

  • OC4j-Apache Axis

    Hi, I have Axis integrated with Oc4j. But in my application I have custom complex datatypes & not direct JavaBeans only. For implementing Jax-rpc I believe the only solution out there is to write a custom serializer/deserializer with Axis. I am runni