in order to transcribe data, select the option New Text. Step 6: Save AppleScript as CreateNewTextFile (or any other desired name). All documents that you add to a project are copied, and the copies become. txt file named:" default answer "Textfile.txt") set filePath to POSIX path of thisFolder set theFile to filePath & fileName set prefixString to "copy of " - if filename already existing, this service will ask for a new filename tell application "Finder" repeat while exists file theFile as POSIX file set fileName to text returned of ( display dialog "\"" & fileName & "\" already exists, please provide another name:" default answer prefixString & "Textfile.txt") set theFile to filePath & fileName set prefixString to prefixString & "copy of " end repeat end tell do shell script "touch \"" & theFile & "\"" return input end run Delete the default content and paste the code below: on run try tell application "Finder" to set the thisFolder to ( folder of the front window) as alias on error - if no folder is open in finder or focused in running application, set default location to desktop set the thisFolder to path to desktop folder end try set fileName to text returned of ( display dialog "Create new.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |