|
|
|
04-09-2016, 11:21 AM
|
#1
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Script: Region (aka folder) items
Lua Script to select/copy/paste.. empty (text items) behaving like regions
More than just folder items, special naming:
Track title beginning with * : select across all tracks (*SONG track in demo gif)
Track title beginning with ^ : select the children of this tracks parent
Track title beginning with > : select folling n tracks (siblings) (eg >2 will make selection on the next 2 tracks)
Track title beginning with - : ignore this track (useful when making selection from *SONG tracks, ignore this one
Get it at https://github.com/actonDev/Reaper-Scripts (bundled with more scripts)
Demo
Installation instructions:
Create a folder named "ActonDev" and place downloaded zip contents inside
** Known bugs/weird behaviors **
Using "Region Item Select" and "Multi Double Click" a new item placeholder is being created (named "ActonDev_fix"). It is used to be able to copy envelopes properly. In "Region Copy & Scan Paste" it gets created and deleted automatically, but with these scripts it may remain. I have mapped 'Esc' button to the "Escape" script so that these items are being deleted when i press Esc to unselect items.
Last edited by inspired; 04-12-2016 at 05:36 PM.
|
|
|
04-09-2016, 01:19 PM
|
#3
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,239
|
Very cool! It seems very useful !
It's a mix between regions and groups
Thank you inspired
|
|
|
04-09-2016, 02:15 PM
|
#4
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Yeah I've been using along this the HeDa's Region/Marker tool
Glad you both liked it
|
|
|
04-09-2016, 05:33 PM
|
#5
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
This very good. Thanks a lot. But it is not working correctly here.
note : there is no ActonDev_Multi Double Click.lua and class.lua inside debs folder in the zip I downloaded as you described
Last edited by mehmethan; 08-13-2023 at 03:07 PM.
|
|
|
04-09-2016, 05:59 PM
|
#6
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
This very good. Thanks a lot. But it is not working correctly here.
note : there is no ActonDev_Multi Double Click.lua and class.lua inside debs folder in the zip I downloaded as you described
|
about the double click missing, sorry my mistake, check again the first post for download link..
as for the bug in the gif.. what reaper version do you run?
Also you should have SWS scripts installed (preferably latest beta, that's what i use)
|
|
|
04-09-2016, 06:08 PM
|
#7
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
Quote:
Originally Posted by inspired
about the double click missing, sorry my mistake, check again the first post for download link..
as for the bug in the gif.. what reaper version do you run?
Also you should have SWS scripts installed (preferably latest beta, that's what i use)
|
I downloaded it again. Same bug again
Reaper v5.20pre33/x64 SWS 2.8.7 win8.1
|
|
|
04-10-2016, 03:47 AM
|
#8
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
I downloaded it again. Same bug again
Reaper v5.20pre33/x64 SWS 2.8.7 win8.1
|
Bug fixed mehmethan! Thanks for noticing, i never would have.
This was happening because first tracks contained no items, and reaper pasting if fiddly when this happens
|
|
|
04-10-2016, 04:34 AM
|
#9
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
Quote:
Originally Posted by inspired
Bug fixed mehmethan! Thanks for noticing, i never would have.
This was happening because first tracks contained no items, and reaper pasting if fiddly when this happens
|
Thank you, now everthing is working perfect. Your script is really very useful for me.
|
|
|
04-10-2016, 06:43 AM
|
#11
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
|
Fixed and fixed (1+2)
i wouldn't consider 1 as a bug, but now the script does not split/alters the original/source region.
As for the "Toggle folder track focus" yeah it does. I do not hide tracks normally so it matched my workflow, but will look into it.
|
|
|
04-10-2016, 07:08 AM
|
#12
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
Quote:
Originally Posted by inspired
Fixed and fixed (1+2)
i wouldn't consider 1 as a bug, but now the script does not split/alters the original/source region.
As for the "Toggle folder track focus" yeah it does. I do not hide tracks normally so it matched my workflow, but will look into it.
|
I downloaded and tested.Everything is fine now.Thank you so much.
|
|
|
04-10-2016, 08:47 AM
|
#13
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
I have a feature request or option if it is possible.
- Do not split the items that start inside the border but end outside the border.Copy them with their original length.
I think this way it will be better than regular region copy-paste. What do you think?
|
|
|
04-10-2016, 10:30 AM
|
#14
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
I have a feature request or option if it is possible.
- Do not split the items that start inside the border but end outside the border.Copy them with their original length.
I think this way it will be better than regular region copy-paste. What do you think?
|
Working on it..The script will prompt for user choice
|
|
|
04-10-2016, 10:30 AM
|
#15
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
I downloaded and installed and get this on each script.
https://i.imgur.com/QUFweR5.png?1
__________________
nonononononono
Last edited by X-Tech; 04-10-2016 at 10:39 AM.
|
|
|
04-10-2016, 11:01 AM
|
#16
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Tech
|
First of i noticed that you have the folder as ACTONDEV (named in caps).
Try renaming it to "ActonDev" (without the quotes of course)
|
|
|
04-10-2016, 12:14 PM
|
#17
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
Yes. Now error is smaller but still something showing up:
https://i.imgur.com/dm8HwR1.png
__________________
nonononononono
|
|
|
04-10-2016, 12:23 PM
|
#18
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Tech
|
Shit. ok i know what happend. From the reaper window go to "Options > Show REAPER resource path in explorer"
Now in THAT folder create a folder named Scripts, then in there a folder ActonDev, and then put your scripts there.
Then on your action list, remove the scripts you loaded, and reload them from there.
Generally you do NOT install scripts in the program files location of Reaper.
Cheers
|
|
|
04-10-2016, 12:33 PM
|
#19
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
It looks like it but error is showing still:
https://i.imgur.com/1zkBIBx.png
__________________
nonononononono
|
|
|
04-10-2016, 12:40 PM
|
#20
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Tech
|
try editing the first line of the script
from this
package.path = reaper.GetResourcePath()..'/Scripts/?.lua;' .. package.path
to this
package.path = reaper.GetResourcePath()..'\\Scripts\\?.lua;' .. package.path
also which windows are you running?
|
|
|
04-10-2016, 12:45 PM
|
#21
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
I'm using Windows XP. This line not changed thing. Same error.
__________________
nonononononono
|
|
|
04-10-2016, 01:05 PM
|
#22
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Tech
I'm using Windows XP. This line not changed thing. Same error.
|
place this
reaper.ShowConsoleMsg(package.path)
after that first line
and show me the output
ALSO: do you have the deps folder inside the ActonDev folder? in the deps folder there should be a template.lua file (among others)
Also #2: are the other scripts working fine? If yes, then try removing the "&" from the script name, remove the script from reaper and reload it
Last edited by inspired; 04-10-2016 at 01:10 PM.
|
|
|
04-10-2016, 02:01 PM
|
#23
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
There was not any template file in deps folder since download. I made once empty text file and named as missing template.lua file.
None script working. Each script looks like want some files but cant find ?
https://i.imgur.com/JBS78RV.png
OUTPUT:
https://i.imgur.com/Ougb4C9.png
Maybe i badly reinstalled Reaper last time and thats the reason - but most of other scripts out of this package works fine.
If this help - errors looks like this in scripts when i put in folder dews - fake template.lua text file. Cause this file was not there.
https://i.imgur.com/EogERgQ.png
__________________
nonononononono
Last edited by X-Tech; 04-10-2016 at 04:09 PM.
|
|
|
04-10-2016, 04:46 PM
|
#25
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
When everything is in order and unpacked as in original without adding/modyfing any files errors looks like this - and yes in each script.
https://i.imgur.com/awdNI6y.png
__________________
nonononononono
Last edited by X-Tech; 04-10-2016 at 05:12 PM.
|
|
|
04-12-2016, 04:42 PM
|
#26
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
I have a feature request or option if it is possible.
- Do not split the items that start inside the border but end outside the border.Copy them with their original length.
I think this way it will be better than regular region copy-paste. What do you think?
|
Update: ask user about items that end after the region time edges (items that start before are buggy-best to be ignored)
Customizable with options.lua file (see deps/options-defaults.lua file)
|
|
|
04-12-2016, 04:50 PM
|
#27
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
|
Update: Toggle Folder Track Focus respects previously hidden tracks
|
|
|
04-12-2016, 05:16 PM
|
#28
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
great work! will try this soon,thanks
also, what theme is that?
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
04-12-2016, 05:28 PM
|
#29
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by musicbynumbers
great work! will try this soon,thanks
also, what theme is that?
|
Since i recall you being a fan of pips etc, i think you'll like it
It's Paulie (with some minor tweaks of mine)
|
|
|
04-12-2016, 05:53 PM
|
#30
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Did yàou plan t make them ReaPack compatible so we can download your updates with one click only right from REAPER ?
|
|
|
04-12-2016, 06:03 PM
|
#31
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Raym
Did yàou plan t make them ReaPack compatible so we can download your updates with one click only right from REAPER ?
|
ABSOLUTELY! it'll be an honor :P
I'll contact you soon about it (since i just released them i wanna focus on obvious bugs and features first)
|
|
|
04-13-2016, 11:00 AM
|
#32
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
I downloaded last version. It's almost good
here screen + info of error:
http://i64.tinypic.com/23vgqwg.jpg
Region COPY & SCAN PASTE:
Seems to work but only for one type of POOLING ITEM on track. It will replace other items with different pooling type too. No. It should know to not touch other POOLING GROUPS/different names i guess. It's almost done. Only this unnecessary replacing items with other names/pooling groups - should be not.
Other scripts seems to work fine but only routing matrix give error when none track is selected - if any track is selected no error.
__________________
nonononononono
Last edited by X-Tech; 04-13-2016 at 11:17 AM.
|
|
|
04-13-2016, 04:04 PM
|
#33
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Tech
I downloaded last version. It's almost good
here screen + info of error:
http://i64.tinypic.com/23vgqwg.jpg
Region COPY & SCAN PASTE:
Seems to work but only for one type of POOLING ITEM on track. It will replace other items with different pooling type too. No. It should know to not touch other POOLING GROUPS/different names i guess. It's almost done. Only this unnecessary replacing items with other names/pooling groups - should be not.
Other scripts seems to work fine but only routing matrix give error when none track is selected - if any track is selected no error.
|
Sorry but didn't exactly understood that. Could you make a gif showing the problem?
But if i got it right.. well the idea it for the regions to be exactly the same, like mirrors. So the source region (the item you have selected) will replace all the target regions (region items with same name/notes)
|
|
|
04-13-2016, 04:09 PM
|
#34
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
Quote:
Originally Posted by inspired
Sorry but didn't exactly understood that. Could you make a gif showing the problem?
But if i got it right.. well the idea it for the regions to be exactly the same, like mirrors. So the source region (the item you have selected) will replace all the target regions (region items with same name/notes)
|
Yes. Should replace item with the same name only. In this way script could be used on many different names at same track.
__________________
nonononononono
|
|
|
04-13-2016, 04:30 PM
|
#35
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by X-Tech
Yes. Should replace item with the same name only. In this way script could be used on many different names at same track.
|
Ok i understand what you did now. The script is supposed to be working on "Empty items" (not audio/midi) in which you set the notes.
However, yeah it's simple to make it work with audio/midi items, and use the take name as a reference.
|
|
|
04-13-2016, 04:56 PM
|
#36
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Update: works with audio/midi items as region items (Copy & scan paste respects take name in that case, instead of item notes)
|
|
|
04-13-2016, 05:45 PM
|
#37
|
Human being with feelings
Join Date: Apr 2015
Posts: 589
|
Now works. THX
__________________
nonononononono
Last edited by X-Tech; 04-13-2016 at 06:09 PM.
|
|
|
04-14-2016, 02:13 AM
|
#38
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
...g\REAPER\Scripts\ActonDev\ActonDev_FX Routing Matrix.lua:1: module 'Scripts.ActonDev.deps.template' not found:
no field package.preload['Scripts.ActonDev.deps.template']
no file 'C:\Program Files\REAPER (x64)\lua\Scripts\ActonDev\deps\template.lua'
no file 'C:\Program Files\REAPER (x64)\lua\Scripts\ActonDev\deps\template\init.lua'
no file 'C:\Program Files\REAPER (x64)\Scripts\ActonDev\deps\template.lua'
no file 'C:\Program Files\REAPER (x64)\Scripts\ActonDev\deps\template\init.lua'
no file 'C:\Program Files\REAPER (x64)\..\share\lua\5.3\Scripts\ActonDev\deps\templ ate.lua'
no file 'C:\Program Files\REAPER (x64)\..\share\lua\5.3\Scripts\ActonDev\deps\templ ate\init.lua'
no file '.\Scripts\ActonDev\deps\template.lua'
no file '.\Scripts\ActonDev\deps\template\init.lua'
no file 'C:\Program Files\REAPER (x64)\Scripts\ActonDev\deps\template.dll'
no file 'C:\Program Files\REAPER (x64)\..\lib\lua\5.3\Scripts\ActonDev\deps\templat e.dll'
no file 'C:\Program Files\REAPER (x64)\loadall.dll'
no file '.\Scripts\ActonDev\deps\template.dll'
no file 'C:\Program Files\REAPER (x64)\Scripts.dll'
no file 'C:\Program Files\REAPER (x64)\..\lib\lua\5.3\Scripts.dll'
no file 'C:\Program Files\REAPER (x64)\loadall.dll'
no file '.\Scripts.dll'
I'm getting this error after installing the lates version
|
|
|
04-14-2016, 04:51 AM
|
#39
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
Quote:
Originally Posted by mehmethan
...g\REAPER\Scripts\ActonDev\ActonDev_FX Routing Matrix.lua:1: module 'Scripts.ActonDev.deps.template' not found:
....
I'm getting this error after installing the lates version
|
yeah, i renamed the script from Fx to FX :P
Just remove the script from reaper, and load it again
(since it's not v1.0 or anything, please deal with those little things for a little bit :P )
|
|
|
04-20-2016, 02:32 PM
|
#40
|
Human being with feelings
Join Date: Dec 2010
Posts: 271
|
+Feature: Add selective region select/copy-paste on (*) track Selectors
Special tracks whose title begin with "*" now obey track selection. They will only select across selected tracks (will normally select ALL tracks if no tracks -except for itself- are selected)
Test and report any bugs
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 02:51 PM.
|