![]() ![]() the following line assumes that the file name has a three character extension, like '. Is there any way that I can get the applescript to run on all the files passed by the Get Folder Contents action?Īnother solution would be to modify the applescript so that I can select multiple files at once and get it to run on those (bearing in mind that if I could select multiple files from multiple locations, that would be a bonus).įor reference, I've included the applescript here: set f to choose file with prompt "Choose the file to parse." The problem is that the applescript itself issues a prompt asking for the file to parse. ( see below ) The source parameter is set to prompt the user to choose a file when the parent workflow is executed. Ask for base text Store base text in a temporary file (using the identifier as part of the filename). Because of this, I set up an automator workflow like so:Īsk for Finder Items > Get Folder Contents > Launch Application (the applescript bundled as a. I have an applescript that allows me to parse a large text file into a series of smaller one, but I need to parse quite a significant number of these larger files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |