scapesla.blogg.se

Mac open word document
Mac open word document










mac open word document

Then make an Automator action that duplicates the prototype you made to the current folder. Store it somewhere convenient under the ~/Library folder. To start, create a prototype of whatever it is that you want.

mac open word document

Whatever a Word document is, it's something that exists within the file-system, and can be duplicated therein. rtf files a slightly different method is required though if this interests anyone.Ĭlick to expand.I'd think it might be possible without using any Automator actions from Word.Ī Word file is just a file (or possibly a package/bundle, i.e. txt files but simply changing the extension name in the first line works for many other file types. Set extension hidden of new_file_alias to trueĮDIT : Try it out using AppleScript Editor.app. If button returned of result = "Replace" thenĭo shell script "rm -rf '" & new_file_POSIX & "." & file_extension & "'"ĭo shell script "touch '" & new_file_POSIX & "." & file_extension & "'" Replacing it will overwrite its current contents." buttons as warning Do you want to replace it?" message "A file with the same name already exists on the Desktop. Set new_file_alias to whole_file_name as aliasĭisplay alert "\"" & file_name & "\" already exists. Set new_file_POSIX to POSIX path of new_file Set whole_file_name to ((new_file as text) & "." & file_extension) Set new_file to choose file name with prompt "Enter file name:" default location save_folder Set save_folder_name to name of save_folder Set save_folder to insertion location as alias












Mac open word document