

- Apple pages to word converter how to#
- Apple pages to word converter pro#
- Apple pages to word converter code#
Apple pages to word converter how to#
Since we’re talking about how to save a Google Doc as a Word doc, choose “Microsoft Word (.docx)” as the file type. This will show you a list of format options to choose from, such as: Hover over the “Download” button from the drop-down menu. Click “Download” and select “Microsoft Word (docx.)” Then, click the “File” button located in the top-left corner of the screen. To get started, open the Google Doc you want to convert. Open the document you want to convert and click “File.”

How to Convert Google Docs to Word in Google Drive.delay 0.5, with the value of the delay set appropriately. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. Have a look at the try statement and error statement in the AppleScript Language Guide. The onus is upon the user to add any error handling as may be appropriate, needed or wanted.
Apple pages to word converter code#
Note: The example AppleScript code is just that and sans any included error handling does not contain any additional error handling as may be appropriate. docx documents which have already been converted need to be manually removed before starting the script again. You can always test with, or run in several groups, with a smaller number of documents.Īlthough it could be added, I did not include any error handling around existing documents if the script fails and needs to be restarted, so be aware that the. Obviously this will vary based on size of the documents and the speed of the system it's run on.

This would equate to ~6.5 minutes for 100 documents.
Apple pages to word converter pro#
I tested with a 10 document sample set with the documents ranging from 1 to 7 pages and on my system, a 16" 2019 MacBook Pro 2.3 GHz 8-Core Intel Core i9, and it took less than 40 seconds. Trying to multi-task while it's running, which is a no-no for this type of script! The value of the delay commands outside of the repeat loops need adjusting. For example, changes in the UI from one version of macOS to another or the target application. Tell application id "" to close document 1Īs the script uses UI Scripting it can be kludgy and prone to failure for a number of different reasons. # Wait for the 'Save' button to to disappear.

# Wait for the 'Save' button to be available.īutton "Save" of sheet 1 of window 1 of ¬ # Click 'Save As… ⌥⇧⌘S' to save as a Pages document. # Wait for 'Opening "filename.docx"…' to disappear. # Give a moment for 'Opening "filename.docx"…' to appear. Repeat with thisDocument in theWordDocumentsList Let the script run uninterrupted until it's finished (or errors).Įxample AppleScript code: property theWordDocumentsList : missing value
