-
Go to Actions > Custom Actions > Edit > Add
-
Menu Caption
Update All Submodules
-
Check
Show Full Output
-
Script to run
/usr/bin/git
If installed in default location
-
Parameters
submodule update --recursive --remote
This file contains hidden or 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
import os | |
import re | |
import sys | |
# sys.args | |
workingDir = sys.argv[1] | |
scriptVersion = sys.argv[2] | |
This file contains hidden or 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from lxml import html | |
import requests | |
import re | |
# CEX HTML REQUEST | |
gameList = [] | |
gameList.append(["Deadlight: Director's Cut", "12", "5035228121522"]) |
This file contains hidden or 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
#!/usr/local/bin/python | |
# -*- coding: utf-8 -*- | |
import sys | |
import smtplib | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEBase import MIMEBase | |
from email.MIMEText import MIMEText | |
from email import Encoders | |
# GMAIL |
This file contains hidden or 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
# Mail Send With Attachment On Adding Folder Items | |
# File > Export | |
# File format: Script / Script Bundle | |
# Put a copy of the script in /Library/Scripts/Folder Action Scripts | |
# or ~/Library/Scripts/Folder Action Scripts | |
# Use the 'Folder Actions Setupp application, located in /Applications/AppleScript, to: | |
# Enable folder actions for your image folder. |
This file contains hidden or 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
# Trim Filenames by Character Count | |
set userFolder to choose folder | |
set dialogResult to display dialog "Numbers of characters to remove:" buttons {"Cancel", "At beginning", "At end"} default answer 0 cancel button "Cancel" | |
set buttonResult to button returned of dialogResult | |
set numberOfChars to text returned of dialogResult as integer | |
if buttonResult = "At end" then set numberOfChars to -numberOfChars | |
tell application "Finder" | |
repeat with eachFile in (get document files in userFolder) |
This file contains hidden or 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
# Safari Login Giphy | |
# Notes | |
# Since layouts change, today this may not apply. Regardless, logic stands still. | |
tell application "Safari" | |
set the URL of the front document to "https://giphy.com/login/" | |
delay 5 | |
This file contains hidden or 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
# Photoshop Print | |
tell application "Adobe Photoshop CC 2018" | |
open file "somePath" | |
print document 1 | |
delay 3 | |
close document 1 | |
end tell |
This file contains hidden or 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
# Mail Get Count to Clipboard | |
tell application "Mail" | |
# Get all local emailboxes | |
set emailBoxes to every mailbox | |
# Or Get From Specific User | |
# set userAccount to account "userName" | |
# set emailBoxes to every mailbox of userAccount |
This file contains hidden or 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
# TO DO | |
# https://superuser.com/questions/688024/how-can-i-determine-if-an-application-is-not-responding | |
# Check For Process With Schedule | |
# File > Export | |
# File format: Application | |
# Options: Stay open after run handler | |
# Notes | |
# Words like 'path' are reserved. |