hollywooduf.blogg.se

How to create new word document in mac
How to create new word document in mac




how to create new word document in mac

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






How to create new word document in mac