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
''' | |
Description: This script is to filter out any comics with proposed values | |
as requested by shpanky of the ComicRack forums. | |
Author: Stonepaw (also known as Atchu), v0.3 by maforget | |
Version: | |
0.3 | |
Copyright: This work is not copyrighted. Feel free to use and modify any or all of it. |
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
from System import DateTime | |
#@Name Books Added the Last (x) Hours | |
#@Hook CreateBookList | |
#@PCount 1 | |
#@Enabled false | |
#@Description Books Added the Last (x) Hours | |
def GetBooksWith (books, a, b): | |
newList = [] | |
for book in books: |
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
import re; | |
import os; | |
with open('sorting.txt') as f: | |
lines = f.readlines() | |
with open('template.cbl') as f: | |
cbl = f.read() | |
for l in lines: |
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
import clr | |
import System | |
clr.AddReference("System.Windows.Forms") | |
from System.Windows.Forms import MessageBox | |
#@Name Find Image Resolution | |
#@Key FindImageResolution | |
#@Hook Books | |
#@Enabled false | |
#@Description Find the resolution of the images |
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
# | |
# Sample handler for the opening a new book event | |
# | |
#@Name Open Book in Fullscreen | |
#@Key fullscreenBook | |
#@Hook BookOpened | |
#@Description Open Book in Fullscreen | |
def fullscreenBook(book): | |
ComicRack.ComicDisplay.FullScreen = True |