|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Banned
Join Date: Jun 2006
Location: One Nation Under Gordon
|
Word > Pages batch converter
Aside from attempting to script this, is there a tool out there which does batch conversions from .doc to .pages?
|
|
|
|
|
|
#2 |
|
Contributor
Join Date: Nov 2005
Location: Oxford, UK
|
Sesshi, are you OK? Where has the Dell lover gone?
![]() I'd have thought you'd probably need to script it, as I imagine only Pages can open .pages files. |
|
|
|
| Eraserhead |
| View Public Profile |
| Find More Posts by Eraserhead |
|
|
#3 |
|
Contributor
Join Date: Nov 2005
Location: Oxford, UK
|
OK my efforts at a quick script seem to have failed me, I can't get the damn thing to close the save dialog. APPLESCRIPT IS REALLY IRRITATING.
Code:
set tilde to (path to home folder as string)
tell application "Pages"
open file (tilde & "desktop:read me.doc")
activate
tell application "System Events"
tell process "pages"
keystroke "S" using {command down}
delay 1
keystroke "read me" -- the name of the file
delay 1
--doesn't press return here. :mad:
delay 5
keystroke "W" using {command down}
end tell
end tell
end tell
|
|
|
|
| Eraserhead |
| View Public Profile |
| Find More Posts by Eraserhead |
|
|
#4 |
|
macrumors 601
Join Date: Jul 2002
Location: Fox Lake, IL
|
Why not just change the default application for .doc to be Pages, then convert them as you need/read them?
__________________
|
|
|
|
|
|
#5 | |
|
macrumors 603
Join Date: Jul 2002
Location: Palookaville
|
Quote:
__________________
*The season starts too early and finishes too late and there are too many games in between. Bill Veeck
|
|
|
|
|
|
|
#6 | |
|
Thread Starter
Banned
Join Date: Jun 2006
Location: One Nation Under Gordon
|
Quote:
I figured I'd have to script it. Thanks, I'll make a start on it. |
|
|
|
|
|
|
#7 | |
|
macrumors 65816
Join Date: Jan 2005
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
macrumors newbie
Join Date: Dec 2005
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Thread Starter
Banned
Join Date: Jun 2006
Location: One Nation Under Gordon
|
Quote:
I wonder if Word is scriptable in the same way. Since I've switched back full-time to Vista for my regular working machines and all my partners have done the same I don't need a Word converter anymore... but the script you linked will be very handy for some of my legacy documents in Pages. Thanks. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|