Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vloryan

macrumors member
Original poster
Jan 11, 2014
57
0
hi guys, i hope you can help me with this:

whenever a zip file named "whatever.zip" is placed in a folder , i want applescript to get that filename (without the extension: "whatever") and create a new and empty textfile ("whatever.txt")with that name in that same folder.

any idea? thanks for your help!
 
Last edited:
hi guys, i hope you can help me with this:

whenever a zip file named "whatever.zip" is placed in a folder , i want applescript to get that filename (without the extension: "whatever") and create a new and empty textfile ("whatever.txt")with that name in that same folder.

any idea? thanks for your help!

You can do this with a folder action in Automator. But are you sure you want a unique empty text file for each file and folder that gets dropped in your folder? You can also add them as entries in a text file, or to the system log with an added tag that you later can filter on in Console.app.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.