Questions tagged [filesystem-events]
4 questions
                    
                    1
                    
            vote
                
                1 answer
            
        C# .NET BackgroundWorker 6 FileSystemWatcher The process cannot access the file "PATH" because it is being used by another process
I'm trying to watch a directory for newly added files ending in .csv do something with them, delete the file and wait for a newly added file to do process the file again. I'm using a BackgroundService with the following code:
public class Worker :…
        
        Pauldb
        
- 231
 - 2
 - 8
 
                    1
                    
            vote
                
                1 answer
            
        How do I tell Applescript to tell Acrobat to click the don't save button if/when it appears
Heres my code.  Works fine as long as its a PDF. but if it opens a JPEG after the command window close a new dialog box pops up and asks if I want to save the document as a PDF. I just want to tell it to click don't save and move on... Can't figure…
        
        drbronze
        
- 33
 - 1
 - 8
 
                    0
                    
            votes
                
                0 answers
            
        AttributeError: 'module' object has no attribute 'poll'
Trying to use gevent.select.poll for monitoring something under /sys. The below code works fine when using native Python. When i use gevent and do
from gevent import monkey
monkey.patch_all()
from gevent import select  
p =…
        
        user9763248
        
- 35
 - 1
 - 5
 
                    0
                    
            votes
                
                1 answer
            
        .NET's FileSystemWatcher for Cocoa
.Net uses FileSystemWatcher Class for handling file and directory events. Is there any simple way i.e. built in for Objective-C?
        
        Bhushan
        
- 23
 - 2