Quantcast
Channel: Adobe Community : Discussion List - Audition
Viewing all articles
Browse latest Browse all 9258

Audition CS6 will not trigger FileWatcher when media got updated

$
0
0

this used to work in Audition 3, recently we upgraded to CS6 and this stopped working.

basically we have a C# software to edit the media metadata and we launch Audition to edit the actual media file. this is done through the C# Process, we then create a file watcher to monitor when the file gets updated. we have the following C# code

 

FileSystemWatcher watcher = new FileSystemWatcher();
watcher.Path = Path.GetDirectoryName(sFileName);
watcher.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.Size | NotifyFilters.FileName | NotifyFilters.LastAccess;
watcher.Filter = Path.GetFileName(sFileName);
watcher.Changed += new FileSystemEventHandler(OnFileChanged);
watcher.EnableRaisingEvents = true;
fileData.FileWatcher = watcher;

 

as you can see when file gets changed, we have OnFileChanged event to do things accordingly. this was triggered in Audition 3 but not in CS6.

 

I suspect CS6 somehow is preventing this from happening?

 

anybody can shed some light?


Viewing all articles
Browse latest Browse all 9258

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>