Prev Previous Post   Next Post Next
Old 10-17-2018, 07:16 AM   #1
tufb
Human being with feelings
 
Join Date: Dec 2017
Location: Berlin
Posts: 89
Default Lua: Replace item under mouse cursor; Copy and replace selected items

Copy and replace selected items

bfut_Copy item to clipboard.lua
bfut_Paste item from clipboard to selected items (replace).lua


Copies and replaces selected items, preserving position, length, mute status, etc. in the replaced items. Requires SWS extension.

How to use:
1. Select media item.
2. Run script "bfut_Copy item to clipboard".
3. Select other media item(s).
4. Run script "bfut_Paste item from clipboard to selected items (replace)".

NB: I use shortcuts similar to Ctrl+c, Ctrl+v.





Replace item under mouse cursor

bfut_Replace item under mouse cursor with selected item.lua

Replaces item under mouse cursor with selected item, preserving position, length, mute status, etc. in the replaced item. Requires SWS extension. (This is a full rewrite of a similar script by spk77.)

How to use:
1. Select media item.
2. Hover mouse over another item.
3. Run the script.

NB: Requires setting a hotkey or mouse modifier.

Installation
Directly from https://github.com/bfut/ReaScripts or
Copy and paste this URL in Extensions > ReaPack > Import a repository:
Code:
https://github.com/bfut/ReaScripts/raw/master/index.xml
Then install in Extensions > ReaPack > Browse packages.

Last edited by tufb; 07-03-2020 at 03:30 PM.
tufb is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.