This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set default_settings to "# This is a sample .slate file. | |
# If no ~/.slate file exists, this is the file that will be used. | |
# Action summary | |
# ⌃⌥⌘0 - Show window locations for current screen | |
# ⌃⌥⌘1 - Move and resize front window to upper left corner | |
# ⌃⌥⌘2 - Move and resize front window to upper right corner | |
# ⌃⌥⌘3 - Move and resize front window to lower left corner | |
# ⌃⌥⌘4 - Move and resize front window to lower right corner | |
# ⌃⌘1 - Move and resize front window to left Half |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## This AppleScript can be used to create a macOS application to pass options to and execute Lisa Melton's video transcoding Ruby script (two-pass-transcode.rb). | |
## It is configured with additional constructs for detelecine, aggressive cropping, and converting output to .mp4. | |
## (See https://github.com/lisamelton/more-video-transcoding) | |
use AppleScript version "2.5" | |
use scripting additions | |
property temppath : "/private/tmp/" | |
property tmpfile : "/tmp/execme.command" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
property temppath : "/private/tmp/" | |
property startnum : 0 | |
property newline : ASCII character 10 | |
property tmpfile : "/tmp/execme.command" | |
on open the_items | |
my build_DVD(the_items) | |
end open | |
on build_DVD(the_items) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
display dialog "Drop some VOB files onto me to combine them into one mpeg file." buttons {"OK"} default button 1 with icon note giving up after 10 | |
end run | |
on open itms | |
set y to itms | |
if y = {} then | |
display dialog "Please, choose files/folders before running this script..." buttons {"OK"} default button 1 with icon note giving up after 10 | |
error number -128 | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use AppleScript version "2.5" | |
use scripting additions | |
use framework "Foundation" | |
use script "PrefsStorageLib" version "1.1.0" | |
set customLocation to "" | |
try | |
set pashuaLocation to getPashuaPath(customLocation) | |
set dialogConfiguration to my getDialogConfiguration(pashuaLocation) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
This is the source for an AppleScript droplet that you can create yourself on a Mac using Script Editor to save the script as an application. It will use Terminal to return basic media info for a file that you drop onto its icon. Media-info must be installed on your Mac System, of course. It can be installed using Homebrew. This targets media-info as installed by Homebrew on a Silicon Mac system. You may find it necessary to change "/opt/homebrew/bin/mediainfo" to "/usr/local/bin/mediainfo" if you use it on an Intel Mac where Homebrew was used to install media-info. Important: Remember, to make the resulting document function as an AppleScript Droplet app, you must save the script as an Application using Script Editor. | |
*) | |
property temppath : "/private/tmp/" | |
property startnum : 0 | |
property newline : ASCII character 10 | |
property tmpfile : "/tmp/execme.command" | |
on open the_items | |
my mediaInfo(the_items) |