Questions tagged [folder-action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Automatically remount smb share on disconnect

I'm trying to write an Applescript to automatically remount an smb share when it is disconnected for whatever reasons. I have a script to check if the share is present in /Volumes and if not then ...
JBart's user avatar
  • 1
1 vote
1 answer
59 views

Applescript folder action to email file

What's wrong with this script? I keep getting a syntax error on the word message on line 9. property defaultEmailApplication : "Microsoft Outlook" -- change this to the name of your ...
Ryan's user avatar
  • 29
0 votes
0 answers
64 views

Automator folder action to transfer specific files to dropbox folder

I need an Automator Folder Action workflow to transfer files to my dropbox folder. I have a folder with many subfolders and when new files in a specific format are created, it will move them in the ...
Maëlle 's user avatar
2 votes
1 answer
809 views

Folder Actions Setup is a restricted service and folder actions are not working

On a fresh Monterey install, when right-clicking on a folder and selecting Folder Actions Setup..., I get the following warning: I click on Run Service, I can create my action via Automator etc. The ...
LudoMC's user avatar
  • 3,961
0 votes
1 answer
290 views

Trigger Automator folder action when content of a folder is removed

I want to trigger the automator folder action when I remove a file from a folder, is there a way to achieve this? The folder action works perfectly when I add something to it but not when I remove it. ...
Pa Dalton's user avatar
0 votes
3 answers
184 views

Folder action scaffold

I'm a graphic designer and need an organized folder scaffold for all of my projects. I have a work flow now that: asks for the project name asks where the project folder needs to be stored then ...
Stephen Tierney's user avatar
1 vote
0 answers
154 views

MacOS Folder Actions: How to return files to original folder?

I'm looking for a way to send a file back to its original path after adding them to a folder. Specifically, if a file does not meet a criteria after being dropped at a folder, I want to send it back ...
Tono's user avatar
  • 111
1 vote
2 answers
448 views

Folder Action to Convert Image Format after AirDrop?

I often use AirDrop to move photos from my iPhone to my Mac, and I'd like to automatically convert any HEIC photos to JPEG. I created this folder action in Automator, and it works when a photo is ...
Benny's user avatar
  • 13
0 votes
0 answers
90 views

Safari in Big Sur does not label active downloads with ".download"

I use a custom python script to actively organize my downloads. Since moving to Big Sur, it still works 100% of the time, but about 5-10% of the time on a big download I'll end up with multiple ...
Benjamin Schollnick's user avatar
1 vote
0 answers
592 views

Folder action automator does not trigger on change but works manually

I have folder actions automators for 2 different folders. One works automatically as expected, the other does not. Both are constructed the same way and both run manually, but one does not run ...
Roy Hinkley's user avatar
0 votes
1 answer
24 views

How to modify view of sub-directories inside a directory? [duplicate]

Trying to modify the view of a directroy, I prefer this view: But I hate the right part where we see the info on each app. Is it possible to modify it to be on default like this (without the ...
Raziv's user avatar
  • 43
0 votes
1 answer
115 views

Troubleshooting: how to see errors from folder action scripts

I am trying to set up a "drop" folder: i.e. A watched folder with an associated Apple Script in "Folder Action Scripts". The script is fairly simple. It defines a source link (the watched folder) and ...
Parapluie's user avatar
  • 393
1 vote
1 answer
321 views

How to batch add folders to Folder Actions

I actively manage a directory of folders that contain images that are organised by modification dates. Due to this, I had made a quick action that used an applescript and bash to help me ensure that ...
MrU's user avatar
  • 592
-1 votes
1 answer
10k views

Automator Folder Action workflow to copy a file to one folder and then move it to another folder

I need an Automator Folder Action workflow that when files are dropped into the folder the workflow is assigned to, it will first make a copy of the dropped files to one different folder, and then ...
Gawly's user avatar
  • 17
4 votes
1 answer
743 views

How can I install this script as a folder action?

I'm trying to setup a script as a folder action that will identify and change unwanted characters in the name of a file added to a target folder. The intent is to have this automation run as a ...
branarama's user avatar
1 vote
1 answer
1k views

Applescript to return name of new file added to folder

This is mostly a test so that I can work up to the function that I want to create down the line. I'm very new to AppleScript so bear with me! I wrote this as an attempt to test a folder action that ...
branarama's user avatar
1 vote
1 answer
78 views

Watch folder that only processes one item at a time?

I need to set up a watch folder that runs a script on each item added. But the script could take 10 mins or more to process a single item. What I've done is put this code at the top of my script that ...
d0g's user avatar
  • 3,902
2 votes
2 answers
737 views

How to combine "Choose folder command" with "adding folder items" function with Applescript

I'm using a folder action to create a "hot" folder, which immediately duplicates the files placed in this folder to a specific backup folder. This is the script I'm using as folder action and it ...
Pat78's user avatar
  • 31
1 vote
1 answer
2k views

Folder Actions missing in High Sierra?

I've been using folder actions for years. Ever since upgrading to High Sierra, my folder actions still work but the ability to add new ones is missing. When right clicking on a folder, there used to ...
2oh1's user avatar
  • 937
2 votes
1 answer
566 views

User input in Automator's "Run Shell Script"

I have a Folder Action on a /Volumes folder. I'm checking when a specific disk is mounted (folder in /Volumes created), checking ssh to remote computer. If all present I run rsync there. It was OK ...
Pavel's user avatar
  • 53
2 votes
1 answer
1k views

Folder Action for automatic file name cleanup

I want to build a folder action that cleans up the filenames of my downloaded files. For example Youtube_MyVideofile_(1080p_30fps_H264-128kbit_AAC).mp4 should be stripped by "Youtube" "30fps" "...
Maximilian Becker's user avatar
1 vote
1 answer
90 views

Alias multiple folders into one

Here's the thing: I'm organizing my document (for example to organize papers). I divide them into subsections, (ex: astrophysics & quantum physics) and all those sections have a "Read", "Reading" ...
BenjiMan's user avatar
0 votes
1 answer
326 views

Triggering Folder action with size check

I'm trying to set up a folder action that triggers only when a new file is less than a certain size. With my limited understanding I haven't been able to figure out a way to do this. Can anyone help? ...
Stephen Hamacek's user avatar
2 votes
0 answers
90 views

Folder Action to Import Files into iTunes doesn't work

I'm downloading a large number of mp3 files to a folder using wget (which is very fast). I want to add each new file to an iTunes playlist, and therefore set up a Folder Action in Automator to do ...
P A N's user avatar
  • 9,814
0 votes
1 answer
320 views

Folder action with Automator file search

Since a couple of years, I used the folder action successfully which is shown in the screenshot: A file is added to "Downloads" "Find Finder Items" with the shown criteria is executed If the filename ...
JimHawkins's user avatar
1 vote
1 answer
428 views

Automatically convert a file whenever it is saved?

Is it possible to automatically convert a file to another format every time it is saved? Some context: I have a Numbers file which needs to be converted to csv for processing by various shell ...
Ross Duncan's user avatar
3 votes
1 answer
15k views

Automator: Get filename

I'm creating a folder action to display a notification when a new file is downloaded and would like the notification to display the filename. I can't figure out how to extract the filename of the ...
Arnau's user avatar
  • 31
1 vote
1 answer
104 views

Applescript to hide print queue

Running a Processing sketch which saves .txt files to a folder. Have a folder action attached that prints new files in this folder to a thermal receipt printer. However, I had to update to Yosemite, ...
Siobhán Murphy's user avatar
2 votes
2 answers
488 views

Wanting help creating an applescript that is run when the contents of a folder changes

I would greatly appreciate some assistance with the following. My scenario: I have a Mac app that generates RTF files. I have an Android app that deals with MultiMarkdown/Markdown files. The Mac ...
inspirednz's user avatar
1 vote
1 answer
775 views

Folder Action for hiding files according to type

Here's what I need. I need a folder action that hides files according to their extensions. (I do not need a folder action that hides extensions for visible files.) This action needs to apply to every ...
fishfingers's user avatar
2 votes
1 answer
167 views

Folder action acts on files not specified in the workflow

I just started using Automator for the first time. My folder action gets two Finder items: say 'foobar1.pdf' and 'foobar2.pdf' files, and copies them to another folder. It works but there is a side-...
Sergio Parreiras's user avatar
1 vote
1 answer
3k views

How do I make automator only perform an operation on one file at a time?

I have with 'Folder Action' that automatically runs a Photoshop script on each file that is added to the folder. The folder action has two steps: Open this file with Adobe Photoshop CC Run the ...
Zak's user avatar
  • 111
1 vote
1 answer
84 views

Can folder actions be inherited?

If I set up folder actions on a folder, is there a way to ensure that those actions would be also there for all subfolders of that one? In other words, if folder actions are set for ~/bar, is there a ...
simone's user avatar
  • 571
2 votes
2 answers
114 views

softlink to Network Location

does anyone know a trick how to generate a Softlink to a Network folder (smb or nfs) the idea is that there are some network folders i use regulary, but they usally not mounted .. the soflink i made ...
Nullx8's user avatar
  • 21
2 votes
3 answers
2k views

Applescript for moving recently added files (not created or modified) to another folder?

I would like to get a recent downloaded pdf file ( !: it corresponds to the Finder sort method Date Added, not Date Created nor Date Modified) and either just moving to one another folder (if using ...
static's user avatar
  • 645
4 votes
2 answers
6k views

AppleScript and Finder - How to detect an "empty" selection when copying paths to the clipboard (Expanded Question)

I'm trying to build a Service that does the following: If some folder/files are selected in Finder, copy (all) the paths to the clipboard If nothing is selected, copy the "Path" of the window. ...
JJarava's user avatar
  • 1,246
0 votes
1 answer
245 views

Folder actions has stopped importing photos into iPhoto

I have had a problem for the past week where a folder action created in Automator has stopped importing photos from a folder into iPhoto. I have tried: Repairing disk permissions. Deleting the script ...
AlanJC's user avatar
  • 3,003
0 votes
2 answers
1k views

Enabling Folder Actions Within OS X?

There is an element to OS X known as Folder Actions, which causes certain actions or events to occur when items are either added or removed from user specific folders. How can I enable this ? (I am ...
Simon's user avatar
  • 7,451
6 votes
4 answers
11k views

Why aren't any of my Folder Actions triggering?

I'm running Mountain Lion (10.8.3). I have three or four folder actions set up which stopped working some time ago, and I can't figure out why. Thinking it could be a problem with the scripts, I ...
Brant Bobby's user avatar
  • 3,869
9 votes
1 answer
3k views

How to show git files in Finder?

This may be too close to a duplicate for Git plug-in for Finder?, but I'm after a tool that will merely show me whether there is a repo in the current directory, and the state of the files within. I ...
ptim's user avatar
  • 1,053
0 votes
1 answer
433 views

Organizing skype downloads in subfolders with contact names

I always wondered why skype don't put all my accepted downloads in subfolders with the name of my contacts! If anybody have own solutions, share)
DanSkeel's user avatar
  • 242
1 vote
2 answers
263 views

Would it be possible to create a folder action that can push timed Notifications?

Specifically I'd like to attach a folder action that would pass to the Notification center a timed alert that would go off after 60 days... possible?
Josh's user avatar
  • 21
3 votes
1 answer
3k views

Repeating FolderActions log messages

I'm getting these log messages repeatedly: Sep 14 11:52:17 paulbook com.apple.launchd.peruser.501[288] (com.apple.FolderActions.folders): Throttling respawn: Will start in 10 seconds Sep 14 11:52:17 ...
Paul J. Lucas's user avatar
1 vote
1 answer
2k views

What's the difference between launchd and folder actions?

Could someone please briefly explain to me the difference between launchd and folder actions? Do folder actions use launchd? Is one more efficient than the other? Is one more powerful than the ...
sion's user avatar
  • 457
1 vote
1 answer
6k views

How to add Folder Actions in Mountain Lion

I'm trying to add an Apple Script to my Download directory. From what I read on the Internet I need to copy the script to Macintosh HD -> Libraries -> Scripts -> Folder Action Scripts - however, I don'...
Anonymous's user avatar
  • 2,756
4 votes
2 answers
7k views

Any way to trigger Folder Action when adding file to any subfolder?

I've created a Folder Action in Automator and applied it to a folder. But it only gets triggered when a file is added to the root of that folder, not to one of its subfolders. Is there any way to get ...
d0g's user avatar
  • 3,902
5 votes
2 answers
3k views

How to execute a Folder Action or another Automator script when I make changes to a folder?

How to execute a Folder Action or another Automator script when I make changes to a folder? And by changes I mean not just deleting or inserting new file, the most important for me is when the content ...
msmafra's user avatar
  • 526
0 votes
0 answers
793 views

Automator: How to copy the contents of local folder to a linux smb share?

I use Lion and I'm trying to make a folder action that copies the content of a local folder to a Samba share, but when I execute the action at Automator it copies the folder and not only its contents ...
msmafra's user avatar
  • 526
2 votes
1 answer
173 views

Copy folder & files with labeled files but strip the label?

Is there an easier way to copy a folder that contains files with (colored) labels applied and strip those labels than making an Automator droplet/application? So perfect would be having this to ...
ruffin's user avatar
  • 1,231
2 votes
1 answer
3k views

Unreliable Folder Action

I have a folder on my Computer, "Markdown Source" with a folder action applied to it through Automator. The folder action applies a shell script, and then writes output to a different folder, "...
Daniel's user avatar
  • 34.8k