Hi,
try a conditional statement where theRenamer should only be executed if a video file is found by DirectoryWatcher: .mp4, .avi, .mkv etc
All other files found should be ignored.
If VideoFileFound:
run the renamer
Else:
pass
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 3 matches
- Thu Sep 15, 2011 11:07 pm
- Forum: General Support
- Topic: Directory Watcher help
- Replies: 6
- Views: 3954
- Mon Aug 22, 2011 1:16 am
- Forum: General Support
- Topic: Python, Windows and the command line
- Replies: 4
- Views: 2322
Re: Python, Windows and the command line
Damn, that worked great. Thanks. It was soo frustrating. I had to modify your solution slightly to get it to work
args = u'arg1 arg2 "and maybe arg3 in quotes"'
eg.plugins.System.Execute(u'C:\\Program Files (x86)\\theRenamer\\theRenamer.exe', args)
But it worked. I'm using it for two other ...
args = u'arg1 arg2 "and maybe arg3 in quotes"'
eg.plugins.System.Execute(u'C:\\Program Files (x86)\\theRenamer\\theRenamer.exe', args)
But it worked. I'm using it for two other ...
- Mon Aug 15, 2011 11:01 pm
- Forum: General Support
- Topic: Python, Windows and the command line
- Replies: 4
- Views: 2322
Python, Windows and the command line
My last post disappeared. Here again:
Hi,
Great program. i've only discovered it recently, so i'm still learning.
i'm having problems running a windows program (therenamer) from the command line using a python script. The arguement string i'm sending to therenamer ( -ftech -ff="c:\xxx" -af="c:\yyy ...
Hi,
Great program. i've only discovered it recently, so i'm still learning.
i'm having problems running a windows program (therenamer) from the command line using a python script. The arguement string i'm sending to therenamer ( -ftech -ff="c:\xxx" -af="c:\yyy ...