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 re | |
from pathlib import Path | |
project_path = input('Please paste path to the ProShow Producer project:\n') | |
with open(project_path) as file: | |
lines = [line.rstrip() for line in file] | |
project_text = '\n'.join(lines) | |
cell_re = r"cell\[(\d+)]\.images\[0]\.isVideo=1" | |
cell_matches = re.findall(cell_re, project_text, re.MULTILINE) |
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
using System; | |
using System.IO; | |
/// <summary> | |
/// A special type of Lazy MemoryStream, made to connect an output streaming data and a stream consumer. | |
/// Useful when an output can only be streamed to a stream, | |
/// and can not create it's own new stream (for example Ionic Zip Extract). | |
/// | |
/// The data is written lazily - this stream does not store any data. | |
/// The writing is done by directly writing the data to the read buffer, provided by the actual reader. |
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
using System.Diagnostics.CodeAnalysis; | |
using UnityEngine; | |
// Dont forget to add "using RDG;" to the top of your script! | |
namespace RDG | |
{ | |
/// <summary> | |
/// Class for controlling Vibration. Automatically initializes before scene is loaded. | |
/// </summary> | |
public static class Vibration |