- Split at markers
- Select all itemw with same source
Missing API:
- select items
- split items
| --[[ | |
| * ReaScript Name: Repeat action by sets of 100 items max in selection | |
| * Screenshot: https://i.imgur.com/nQsH3mL.gif | |
| * Author: X-Raym | |
| * Author URI: | |
| * Repository: | |
| * Repository URI: | |
| * Licence: GPL v3 | |
| * Forum Thread: | |
| * Forum Thread URI: |
| // ==UserScript== | |
| // @name ReaScript Doc: Local to XR | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| // console.log(window.location) | |
| window.addEventListener("load", function(event) { | |
| if( window.location.toString().search("reascripthelp.html") >= 0 ) { |
Missing API:
| --[[ | |
| * ReaScript Name: Save_FX_Preset | |
| * Lua script for Cockos REAPER | |
| * Author: EUGEN27771 | |
| * Author URI: http://forum.cockos.com/member.php?u=50462 | |
| * Licence: GPL v3 | |
| * Version: 1.04 | |
| * Mod by X-Raym | |
| ]] |
| spearkers_presets = {} | |
| spearkers_presets[1] = speakers_bits["KSAUDIO_SPEAKER_MONO"] | |
| spearkers_presets[2] = speakers_bits["KSAUDIO_SPEAKER_STEREO"] | |
| spearkers_presets[3] = speakers_bits["SPEAKER_FRONT_LEFT"] + speakers_bits["SPEAKER_FRONT_CENTER"] + speakers_bits["SPEAKER_FRONT_CENTER"] -- custom LCR | |
| spearkers_presets[4] = speakers_bits["KSAUDIO_SPEAKER_QUAD"] | |
| spearkers_presets[5] = speakers_bits["KSAUDIO_SPEAKER_SURROUND"] | |
| spearkers_presets[6] = speakers_bits["KSAUDIO_SPEAKER_5POINT1_SURROUND"] | |
| spearkers_presets[7] = speakers_bits["SPEAKER_FRONT_LEFT"] + speakers_bits["SPEAKER_FRONT_RIGHT"] + speakers_bits["SPEAKER_FRONT_CENTER"] + speakers_bits["SPEAKER_SIDE_LEFT"] + speakers_bits["SPEAKER_SIDE_RIGHT"] -- custom , based on 7.1, without LFE | |
| spearkers_presets[8] = speakers_bits["KSAUDIO_SPEAKER_7POINT1_SURROUND"] |
| <?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 |
| import sys | |
| import os | |
| from os import path | |
| debug = False | |
| #### USER INPUT #### | |
| if debug: | |
| dirName = "E:\\Bureau\\" | |
| search = "F:\\Bureau\\SOUNDS" |
| -- 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. |
| 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 |