Sorry guys--I misread the message.

Other than avoiding the need to specify a name and location for the newly 
created Pages document upon first save, I'm not sure I see the advantage in 
doing a batch conversion given that Pages will read both file formats just 
fine. Word files tend to be smaller, and of course are compatible with a wider 
array of apps; so avoiding the conversion until necessary may be best. In any 
case I know that's not being helpful in answering the question, so my 
apologies. I wonder if the problem with the script lies in the fact that the 
newly created documents have never been saved before? I hope a solution is 
found.

Grant

> On Sep 27, 2016, at 6:57 AM, Tim Kilburn <kilbu...@me.com> wrote:
> 
> 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 <grant.li...@icloud.com> 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 <kilbu...@me.com> 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 <jon.c.c...@gmail.com> 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 <a...@anarchie.org.uk> 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 <si...@blinky-net.com> wrote:
>>>> 
>>>> What about using an RTF format document?
>>>> 
>>>> Surely RTF would be picked up by Pages 
>>>> 
>>>> -----Original Message-----
>>>> From: macvisionaries@googlegroups.com 
>>>> [mailto:macvisionaries@googlegroups.com] On Behalf Of Kliphton Miller
>>>> Sent: Sunday, 25 September 2016 12:28 AM
>>>> To: macvisionaries@googlegroups.com
>>>> 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:  macvisionaries+modera...@googlegroups.com and your owner is Cara 
>>>> Quinn - you can reach Cara at caraqu...@caraquinn.com
>>>> 
>>>> The archives for this list can be searched at:
>>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>>>> --- 
>>>> 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 macvisionaries+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>>> For more options, visit 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:  macvisionaries+modera...@googlegroups.com and your owner is Cara 
>>>> Quinn - you can reach Cara at caraqu...@caraquinn.com
>>>> 
>>>> The archives for this list can be searched at:
>>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>>>> --- 
>>>> 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 macvisionaries+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>>> For more options, visit 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: 
>>>  macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - 
>>> you can reach Cara at caraqu...@caraquinn.com
>>> 
>>> The archives for this list can be searched at:
>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>>> --- 
>>> 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 macvisionaries+unsubscr...@googlegroups.com.
>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>> For more options, visit 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:  
>> macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
>> can reach Cara at caraqu...@caraquinn.com
>> 
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>> --- 
>> 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 macvisionaries+unsubscr...@googlegroups.com.
>> To post to this group, send email to macvisionaries@googlegroups.com.
>> Visit this group at https://groups.google.com/group/macvisionaries.
>> For more options, visit 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: 
>> macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
>> can reach Cara at caraqu...@caraquinn.com
>>  
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>> --- 
>> 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 macvisionaries+unsubscr...@googlegroups.com.
>> To post to this group, send email to macvisionaries@googlegroups.com.
>> Visit this group at https://groups.google.com/group/macvisionaries.
>> For more options, visit 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: 
> macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
> can reach Cara at caraqu...@caraquinn.com
>  
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> 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 macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit 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: 
> macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
> can reach Cara at caraqu...@caraquinn.com
>  
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> 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 macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit 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:  
macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
can reach Cara at caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
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 macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to