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
<?php | |
/** | |
* Plugin Name: MemberPress Corporate Sub Account Shortcode | |
* Plugin URI: https://gist.github.com/X-Raym/a2c5a2eb05b9be3c04ee9972876aa2df/edit | |
* Description: AMemberPress Corporate Sub Account Shortcode | |
* Author: X-Raym | |
* Author URI: https://www.extremraym.com/ | |
* License: GNU AGPLv3 | |
* License URI: http://www.gnu.org/licenses/agpl-3.0.html |
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 sys | |
import os | |
from os import path | |
debug = False | |
#### USER INPUT #### | |
if debug: | |
dirName = "E:\\Bureau\\" | |
search = "F:\\Bureau\\SOUNDS" |
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
-- Object based. Like Adobe API. | |
doc = affinity.GetDocument(1) -- get first opened doc. affinity is an objevt with all functions exposed by the api. | |
layer = doc.GetLayer(1) --get first dpcument. return a layer obect with its own set of functions. | |
name = layer.GetName() -- get name from layer object | |
layer.SetName( name:gsub(search, replace) ) -- use Set method of layer object. |
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
resolve = Resolve() | |
pm = resolve:GetProjectManager() | |
proj = pm:GetCurrentProject() | |
tl = proj:GetCurrentTimeline() | |
items = tl:GetItemsInTrack("subtitle", 1) | |
for i, v in ipairs( items ) do | |
print( v:GetName() ) | |
end |
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
/** | |
* JSFX Name: Note Generator | |
* Description: Inspired by Aurélien Demey | |
* About: Press play. | |
* Screenshot: https://i.imgur.com/zCVSnMk.gifv | |
* Author: X-Raym | |
* Author URI: https://www.extremraym.com | |
* Donation: http://www.extremraym.com/en/donation | |
* Licence: GPL v3 | |
* REAPER: 5.0 |
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
Updated as of 18 December 2023 | |
---------------------------- | |
In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import | |
modules for scripting access (DaVinciResolve.py) and some representative examples. | |
From v16.2.0 onwards, the nodeIndex parameters accepted by SetLUT() and SetCDL() are 1-based instead of 0-based, i.e. 1 <= nodeIndex <= total number of nodes. | |
Overview | |
-------- |
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
GetActiveWindowProcessName() { | |
WinGet, Active_ID, ID, A | |
WinGet, Active_Process, ProcessName, ahk_id %Active_ID% | |
return Active_Process | |
} | |
`;:: | |
if (GetActiveWindowProcessName() = "Resolve.exe") { | |
send {WheelDown 1} |
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
// Text overlay | |
length = 3250; | |
#text = ''; | |
i = offset; | |
loop( srctime+length, | |
sprintf(#val,"% 05i", i); | |
strncat(#text,#val,0); | |
i = i+1; | |
); |
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
for %%f in ("*.WAV") do ffmpeg-normalize "%%f" -c:a pcm_s24le -ext wav |