Grant, Good thought, but the idea here is that we're trying to open a Word document and save it to Pages format. So, if one has a Word document, manually opens it in Pages, then chooses Save, the Save dialog will pop up and will be ready to save the document as a Pages document. The conversion was done on open so that Pages could properly display the Word document. This script automates the open then save process, but does not properly follow through with the save. I suspect that it does have something to do with it being a Word document, but running this script on a Pages document doesn't always do things correct either. I've even forced the save line to use the Pages format by adding "as Pages Format" to the line, still with no joy.
Thanks for your ideas. Later... Tim Kilburn Fort McMurray, AB Canada On Sep 26, 2016, at 19:01, Grant <[email protected]> wrote: Hi Tim, This is just a guess on my part, but Pages of course doesn't "save" to Word format; it "exports" to Word. Do you think that could be why your app doesn't function as expected? It actually causes features like auto-save to work differently, too. Grant On Sep 26, 2016, at 1:21 PM, Tim Kilburn <[email protected] <mailto:[email protected]>> wrote: > Hi Jonathan, > > Using the below Apple Script compiled as an application: > > on open filist > repeat with lvar in filist > tell application "Finder" > set thename to name of lvar > end tell > set x to the offset of "." in thename set nuname to > text 1 thru text item x of thename > set nuname to text 1 thru text item x of thename > tell application "Pages" > activate > set filname to (path to desktop folder as text) & > nuname & "pages" > open lvar > save document 1 in filname > close every window saving no > end tell > end repeat > end open > > I'm having frustrations. How this normally should work, is that you would > drag and drop a Word file, or folder full of Word files on to my W2P app > icon. The app would then open the Word file, get rid of the .docx extension, > change it to a .pages extension then save the file on the Desktop. Doing > this manually, everything works as it should. Using the app, though, Pages > spins its wheels for a bit then returns an error. If I do the same action > with a Pages document instead, then it works properly. I have played with a > number of variations of this with no real good results as of yet. > > You, or anyone else is welcome to mess with it an d see if you can determine > how to make it work properly. > > Later... > > Tim Kilburn > Fort McMurray, AB Canada > > On Sep 25, 2016, at 10:09, Jonathan Cohn <[email protected] > <mailto:[email protected]>> wrote: > > I don't see a automator library for Pages, but certainly I would expect that > the standard save action in AppleScript should work. The question is how > would you want your batch processor to work probably the easiest would be to > create a folder and then create a folder action AppleScript for that folder. > > A lot of us use the folder action script that announces when a new file is > placed in the downloads folder, so I could see modifying this. > > How much interest is there in this? > > . > > > Best wishes, > > Jonathan > > > >> On Sep 25, 2016, at 6:41 AM, Anne Robertson <[email protected] >> <mailto:[email protected]>> wrote: >> >> Pages does not handle RTF, but opening a Word document in Pages and then >> saving it will convert the document to Pages format. >> >> Maybe Automator could be used for batch conversion. >> >> Cheers, >> >> Anne >> >> . >> >>> On 25 Sep 2016, at 03:51, Simon Fogarty <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> What about using an RTF format document? >>> >>> Surely RTF would be picked up by Pages >>> >>> -----Original Message----- >>> From: [email protected] >>> <mailto:[email protected]> >>> [mailto:[email protected] >>> <mailto:[email protected]>] On Behalf Of Kliphton Miller >>> Sent: Sunday, 25 September 2016 12:28 AM >>> To: [email protected] <mailto:[email protected]> >>> Subject: Word to pages batch converter? >>> >>> So, I have searched the App Store, googled, and came up with nothing. All >>> the apps that come up want to do pages to word, and pdf to word. So is >>> there an app that does word to pages, or am I reaching here? Thanks. >>> >>> -- >>> The following information is important for all members of the Mac >>> Visionaries list. >>> >>> If you have any questions or concerns about the running of this list, or if >>> you feel that a member's post is inappropriate, please contact the owners >>> or moderators directly rather than posting on the list itself. >>> >>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: >>> [email protected] >>> <mailto:[email protected]> and your owner is Cara >>> Quinn - you can reach Cara at [email protected] >>> <mailto:[email protected]> >>> >>> The archives for this list can be searched at: >>> http://www.mail-archive.com/[email protected]/ >>> <http://www.mail-archive.com/[email protected]/> >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "MacVisionaries" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected] >>> <mailto:[email protected]>. >>> To post to this group, send email to [email protected] >>> <mailto:[email protected]>. >>> Visit this group at https://groups.google.com/group/macvisionaries >>> <https://groups.google.com/group/macvisionaries>. >>> For more options, visit https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>. >>> >>> -- >>> The following information is important for all members of the Mac >>> Visionaries list. >>> >>> If you have any questions or concerns about the running of this list, or if >>> you feel that a member's post is inappropriate, please contact the owners >>> or moderators directly rather than posting on the list itself. >>> >>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: >>> [email protected] >>> <mailto:[email protected]> and your owner is Cara >>> Quinn - you can reach Cara at [email protected] >>> <mailto:[email protected]> >>> >>> The archives for this list can be searched at: >>> http://www.mail-archive.com/[email protected]/ >>> <http://www.mail-archive.com/[email protected]/> >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "MacVisionaries" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected] >>> <mailto:[email protected]>. >>> To post to this group, send email to [email protected] >>> <mailto:[email protected]>. >>> Visit this group at https://groups.google.com/group/macvisionaries >>> <https://groups.google.com/group/macvisionaries>. >>> For more options, visit https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>. >> >> -- >> The following information is important for all members of the Mac >> Visionaries list. >> >> If you have any questions or concerns about the running of this list, or if >> you feel that a member's post is inappropriate, please contact the owners or >> moderators directly rather than posting on the list itself. >> >> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: >> [email protected] >> <mailto:[email protected]> and your owner is Cara >> Quinn - you can reach Cara at [email protected] >> <mailto:[email protected]> >> >> The archives for this list can be searched at: >> http://www.mail-archive.com/[email protected]/ >> <http://www.mail-archive.com/[email protected]/> >> --- >> You received this message because you are subscribed to the Google Groups >> "MacVisionaries" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> Visit this group at https://groups.google.com/group/macvisionaries >> <https://groups.google.com/group/macvisionaries>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > -- > The following information is important for all members of the Mac Visionaries > list. > > If you have any questions or concerns about the running of this list, or if > you feel that a member's post is inappropriate, please contact the owners or > moderators directly rather than posting on the list itself. > > Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: > [email protected] > <mailto:[email protected]> and your owner is Cara > Quinn - you can reach Cara at [email protected] > <mailto:[email protected]> > > The archives for this list can be searched at: > http://www.mail-archive.com/[email protected]/ > <http://www.mail-archive.com/[email protected]/> > --- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/macvisionaries > <https://groups.google.com/group/macvisionaries>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > The following information is important for all members of the Mac Visionaries > list. > > If you have any questions or concerns about the running of this list, or if > you feel that a member's post is inappropriate, please contact the owners or > moderators directly rather than posting on the list itself. > > Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: > [email protected] > <mailto:[email protected]> and your owner is Cara > Quinn - you can reach Cara at [email protected] > <mailto:[email protected]> > > The archives for this list can be searched at: > http://www.mail-archive.com/[email protected]/ > <http://www.mail-archive.com/[email protected]/> > --- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/macvisionaries > <https://groups.google.com/group/macvisionaries>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- The following information is important for all members of the Mac Visionaries list. If you have any questions or concerns about the running of this list, or if you feel that a member's post is inappropriate, please contact the owners or moderators directly rather than posting on the list itself. Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: [email protected] and your owner is Cara Quinn - you can reach Cara at [email protected] The archives for this list can be searched at: http://www.mail-archive.com/[email protected]/ <http://www.mail-archive.com/[email protected]/> --- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. Visit this group at https://groups.google.com/group/macvisionaries <https://groups.google.com/group/macvisionaries>. For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>. -- The following information is important for all members of the Mac Visionaries list. If you have any questions or concerns about the running of this list, or if you feel that a member's post is inappropriate, please contact the owners or moderators directly rather than posting on the list itself. Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: [email protected] and your owner is Cara Quinn - you can reach Cara at [email protected] The archives for this list can be searched at: http://www.mail-archive.com/[email protected]/ --- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.
