Replace selected Item with Item under Mouse Cursor ? >> Investment Funds >> Forum
Forum

Forum



SearchSearch   Users   Registration   Entrance
Today: 30.07.2025 - 07:10:03
Pages:  1  2  

Replace selected Item with Item under Mouse Cursor ?

Advertising

.
MessageAuthor

Any Script Master thinks this is scriptable ?: Replace selected Item with Item under Mouse Cursor. Workflow: 1) You select an Item. 2) You hoover your mouse over another item. 3) You execute the wishful Script. Outcome: The Item under the mouse is placed at the start of the selected Item and it replaces that, the length of the replacing Item stays at it's origin, it doesn't adapt to the length of the replaced Item. This functionality is available in Project Bay, but i'd rather see it available as an Action to which i can assign a keycommand then having to open the Project Bay first. #fasterworkflow I am very willing to donate ! Thx in advance !

-------------------------------
Dane Wade Hargrave Sharked, Eurosport CAI, Strong-Strut, Xpel, various other aesthetic goodies.

YLOJAKT

users




Statistics:
Messages: 209
Registration: 04.22.2002
25.03.22 - 23:32:16
Message # 1
RE: Replace selected Item with Item under Mouse Cursor ?

This Lua script does something similar you requested. This script replaces take sources (item properties are not "copied"), so most probably this script will need editing. Well here's a start, at least :) Code:

-------------------------------
325is 92 non-vanos AA Supercharger (9.5psi @ 7000rpm) 85mm pulley and new hyperboost DV

Agaponi

users




Statistics:
Messages: 415
Registration: 05.21.2002
25.03.22 - 23:36:38
Message # 2
RE: Replace selected Item with Item under Mouse Cursor ?

This seems awesome, many thanks ! However: - I imported this action. - I tried it with 2 audio items., one selected and the mouse hoovered over the other one. - Execute Script. Outcome: Script doesn't work : the only thing that i can see happening is a very fast popup and disappearing of the peak building window. I am on OSX 10.10.5 , Reaper 5.11pre11 - 64bit. EDIT: Tried your script with 2 midi Items : doesn't happen anything either ..

-------------------------------

318is-joe

users




Statistics:
Messages: 258
Registration: 10.02.2001
25.03.22 - 23:44:48
Message # 3
RE: Replace selected Item with Item under Mouse Cursor ?

This works for audio takes only (I think) and SWS extensions is needed. Don't know why it doesn't work on audio items on your computer...

-------------------------------
Cosmos 95, with other "stuff"

MELSM3

users




Statistics:
Messages: 191
Registration: 10.13.2003
25.03.22 - 23:52:42
Message # 4
RE: Replace selected Item with Item under Mouse Cursor ?

Different approach...this should work with audio/MIDI items: Code:

-------------------------------
02 M5 LeMans Blue

JohnH

users




Statistics:
Messages: 219
Registration: 01.02.2003
25.03.22 - 23:59:03
Message # 5
RE: Replace selected Item with Item under Mouse Cursor ?

Here's a gif to show how the newer script works:

-------------------------------

AndrewBall

users




Statistics:
Messages: 3,714
Registration: 12.11.2003
26.03.22 - 00:03:28
Message # 6
RE: Replace selected Item with Item under Mouse Cursor ?

Now it should work: Code:

-------------------------------
~Sean I beat him in a slushbox while handing a sippy cup to my toddler son. ~Mickey

funkyboss

users




Statistics:
Messages: 457
Registration: 08.28.2001
26.03.22 - 00:13:19
Message # 7
RE: Replace selected Item with Item under Mouse Cursor ?

Yes ! Now it works 100% for me, awesome and many, many thx ! I pm'd you for donation.

-------------------------------
///Mike 93 325is Spec E36 #2, 07 335xi, 06 X3, 02 Yukon XL (fer towin') Thanks to my sponsors: HMS Motorsport -- Landshark Automotive -- Sansossio Auto Body

mijgilbert

users




Statistics:
Messages: 48
Registration: 04.23.2002
26.03.22 - 00:22:08
Message # 8
RE: Replace selected Item with Item under Mouse Cursor ?

im having this problen now in reaper 6.59 sws 2.12.1.3 if i selected more than x amount of media items (drum replacment) im geting this message ..._Replace selected items with item under mouse cursor.lua:53: bad argument #1 to 'MoveMediaItemToTrack' (MediaItem expected) and when i close the error window , replace some items and delete anothers I have reinstalled reaper, sws and reapck two times but still not working if anyone know how to fix it it will be apreciated ,thanks.

-------------------------------

Bond, James Bond

users




Statistics:
Messages: 311
Registration: 05.14.2002
26.03.22 - 00:27:18
Message # 9
RE: Replace selected Item with Item under Mouse Cursor ?

Can you make a gif? Cant reproduce, works fine here

-------------------------------

Vader M3

users




Statistics:
Messages: 34
Registration: 11.08.2001
26.03.22 - 00:33:05
Message # 10
RE: Replace selected Item with Item under Mouse Cursor ?
Mixing for Cell Phones : Previous topicNext topic: Clear The Fog Of The Subtitles
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants