Skip to content

Instantly share code, notes, and snippets.

View ArtemBernatskyy's full-sized avatar

Artem Bernatskyy ArtemBernatskyy

  • World
View GitHub Profile
@ArtemBernatskyy
ArtemBernatskyy / De-dobe.scpt
Created March 26, 2022 14:17 — forked from samhenrigold/De-dobe.scpt
Kill all Adobe CC daemons on app quit
-- Original script by Ted Wrigley (https://stackoverflow.com/questions/63786497/is-it-possible-to-run-an-automator-workflow-when-a-program-exits/69959340#69959340)
use framework "AppKit"
use scripting additions
property NSWorkspace : class "NSWorkspace"
property whitelist : {"com.adobe.ARM", "com.adobe.Acrobat", "com.adobe.Acrobat.Pro", "com.adobe.AdobePremierePro", "com.adobe.AfterEffects", "com.adobe.InCopy", "com.adobe.InDesign", "com.adobe.InDesignServer", "com.adobe.Lightroom2", "com.adobe.Lightroom3", "com.adobe.Muse.application", "com.adobe.Photoshop", "com.adobe.PhotoshopElements", "com.adobe.Reader", "com.adobe.bridge3", "com.adobe.bridge4", "com.adobe.bridge4.1", "com.adobe.dreamweaver-15.0", "com.adobe.dreamweaver-15.1", "com.adobe.dreamweaver-16.0", "com.adobe.dreamweaver-16.1", "com.adobe.estoolkit-3.0", "com.adobe.estoolkit-3.5", "com.adobe.estoolkit-3.6", "com.adobe.flash", "com.adobe.illustrator", "com.adobe.photodownloader", "com.adobe.pse11editor", "com.adobe.pse12editor", "com.adobe.pse9ed
@ArtemBernatskyy
ArtemBernatskyy / subler_tutorial.md
Created January 30, 2023 18:32
Overlapped Subtitles (Subler)

temporary fix using Subler (suitable for .mks files or .mkv files containing subtitle tracks)

  1. Download the latest Subler
  2. Open and go to Preferences > OCR > Download relevant languages
  3. Go to Preferences > Advanced, and make sure VobSub to Tx3g is enabled
  4. Select Open and open your MKS or MKV file
  5. Deselect all tracks except the subtitle track
  6. Choose File > Save, leave extension as .m4v and confirm
  7. It will now OCR the subtitles and save a .m4v file
  8. When it's done, highlight the subtitle track and choose File > EXPORT. This will save as .srt