Closed

Automator workflow (open file with app) + equivalent script in AHK / Windows

This project received 1 bids from talented freelancers with an average bid price of $25 USD.

Get free quotes for a project like this
Employer working
Project Budget
$10-$30 USD
Total Bids
1
Project Description

NOTE: Sorry not all relevant skills were available (AppleScript, Automator, Script, AutoHotkey) so I had to use approximations.

I want to create a folder action in OS X (and the equivalent in Windows / AHK) so that whenever I throw a video file in a folder, this file will be opened with a free program called Subtitles ([url removed, login to view]), an appropriate subtitle will be downloaded (preferably if everything is done in the background without even showing the app's UI) and then the Subtitles app is closed when done. The result is you'll now have a subtitle file with the same name as the video file and in the same directory, as soon as the file is downloaded. That's it, basically, but here's some more context:

Normally what I would do is download a TV show or movie, then go to [url removed, login to view] (or any subtitles site) and look for the appropriate subtitle file. The Subtitles app makes the whole process easier. You just drag a video file onto it and it will fetch the correct subtitle track, download it and put it on the same folder the video is in, so whenever you decide to watch the video the subtitles will be ready. I want to make it even more streamlined. Download TV Show or Movie onto watched folder -> BOOM -> Subtitle is already there. (FYI running OS X 10.9 Mavericks)

I've already have a basic working Automator script but it has some issues. Here's what's working and what's not:

+ It takes video files individually and fetches subtitles using the Subtitles app
+ It can look within subfolders (Get Folder Contents - repeat for each subfolder) and fetch subtitles for those files too

Not working:
- If copying large files over the network or another hard drive, the script launches before the files are finished copying, thus subtitles are not fetched for all of them.
- It doesn't run in the background (the Subtitles app loads and is brought to focus)
- White list of blacklist certain file types so it doesn't try to run with anything other than videos
- Subtitles app does't quit when done. (Tried but quits before finishing).

Ideally I want all of the points covered but if it's not possible due to Automator or AppleScript limitations, at the very least I want the first of them (wait until large files are copied before launching the app). I know this can be done as there are examples online but I can't get it working. Here are some resources I was looking into.

[url removed, login to view]
[url removed, login to view]
[url removed, login to view]
[url removed, login to view]

I'm attaching my workflow so you already have something to start with, I just want the remaining functionality. And then port the same to an AutoHotkey script for use in Windows computer. This is for a how to guide I'm posting online.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online