|
|
|
09-07-2017, 09:20 AM
|
#41
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
I could add this functionality, but it is a lot of work and it is something I do not need... Would it be really so useful?
|
|
|
09-07-2017, 10:00 AM
|
#42
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Ooh yeah
|
|
|
09-07-2017, 10:04 AM
|
#43
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
* v2.85 fixed behavior in case of multiline item notes
Very rare cornerstone case multi-line item notes used more line of the renamer list, with some mis-behavior
Multi-line item notes now it get joined in one line with \n separators and can be managed as one line
g
Last edited by Gianfini; 09-11-2017 at 10:36 AM.
|
|
|
09-07-2017, 11:13 AM
|
#44
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
2.85 has to be revisioned before it goes up to Reapack
This is not the correct behavior:
|
|
|
09-07-2017, 01:10 PM
|
#45
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
I did my version of fixing the bug and uploaded v2.85
@Gianfini: I hope you were not trying at the same time to fix it too! :S
|
|
|
09-07-2017, 11:36 PM
|
#46
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
Quote:
Originally Posted by amagalma
I did my version of fixing the bug and uploaded v2.85
@Gianfini: I hope you were not trying at the same time to fix it too! :S
|
No it's ok, I noticed but didn't start yet correcting so perfect!!!
g
|
|
|
09-08-2017, 09:27 AM
|
#47
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
* v2.86 (2017-09-08)
+ gianfini fix:
+ fixed Commit doing nothing if last modifier didn't modify anything (but previous ones did modify the list)
Unintended behavior was
- hit a modifier that actually changes sotming (e.g. add Prefix)
- hit lowercase
- hit lowercase (now nothing changes vs last state)
- hit Commit
!! no Commit was happening, even if Prefix and lowercase where applied
Now it works, still preserving Commit not executing code if no modifier his hit.
thanks
Last edited by Gianfini; 09-11-2017 at 10:38 AM.
|
|
|
09-08-2017, 09:51 AM
|
#48
|
Human being with feelings
Join Date: Oct 2009
Location: France
Posts: 743
|
Hello,
I get this when clicking on the line to edit the name of a "empty item" note :
(2.86)
...magalma_gianfini_Track-Item Name Manipulation - UNDO.lua:1057: bad argument #4 to 'GetUserInputs' (string expected, got nil)
|
|
|
09-08-2017, 01:31 PM
|
#49
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
I'll look into this, thanks!... although, I do not find good the idea of changing a multiline note item inside the script.. Why not change it directly?..
|
|
|
09-08-2017, 10:35 PM
|
#50
|
Human being with feelings
Join Date: Oct 2009
Location: France
Posts: 743
|
Yes you are right, i was only testing new version features.
|
|
|
09-09-2017, 02:45 AM
|
#51
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Revisioned v2.86 is up to Reapack. No crashing now
|
|
|
11-04-2017, 04:05 PM
|
#52
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Hey Guys.
Would you consider adding Key shortcut to this?
"Alt-R" for replace
"Atl-P" for prefix
etc...
Just add an underscore to the word to show what controls what, Let most Windows applications...
What do you think? It this a big thing to do?
Then of course being able to commit and close the window without reaching to the mouse would be also be very welcome...
|
|
|
11-06-2017, 05:19 AM
|
#53
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
I'll consider your idea. Thanks! .. I was planning to add Region name support at some point, when I have the time..
|
|
|
11-06-2017, 05:32 AM
|
#54
|
Human being with feelings
Join Date: Feb 2017
Posts: 76
|
Quote:
Originally Posted by amagalma
I was planning to add Region name support at some point, when I have the time..
|
pleasepleasepleasepleaseplease
|
|
|
11-07-2017, 09:50 AM
|
#55
|
Human being with feelings
Join Date: Apr 2014
Posts: 398
|
Amazing script I'm using every day!
Thanks so much for the feature guys.
I have a question:
Is there a way to use comma with the replace function?
Ex:
Replace VALIDATE by VALIDATE, BOUNCY
It didn't seems to work. I suppose it's maybe a limitation in the code.
Thanks a lot for your help.
|
|
|
11-08-2017, 12:33 AM
|
#56
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
Quote:
Originally Posted by Infrabass
Amazing script I'm using every day!
Thanks so much for the feature guys.
I have a question:
Is there a way to use comma with the replace function?
Ex:
Replace VALIDATE by VALIDATE, BOUNCY
It didn't seems to work. I suppose it's maybe a limitation in the code.
Thanks a lot for your help.
|
I don't have now to test but.. try putting a percentage symbol before the comma --> %,
g
|
|
|
11-08-2017, 07:30 AM
|
#57
|
Human being with feelings
Join Date: Apr 2014
Posts: 398
|
Thanks for the reply.
I already tried with the percentage before the comma but it didn't work, I have this error:
"invalid use of '%' in replacement string"
|
|
|
11-09-2017, 08:21 PM
|
#58
|
Human being with feelings
Join Date: Apr 2014
Posts: 398
|
Feel dumb.
I was using only the percentage symbol but as you explain in the help window of the replace function I had to use %p
Working perfectly!
Nice!
EDIT: It's working to find a comma in the text to be replace but I cannot yet find a way to replace some text by something containing a comma…
|
|
|
11-10-2017, 10:25 PM
|
#59
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
* v2.87 (2017-11-11)
+ amagalma fix: commas can now be used in Replace as long as they are escaped with a ~
example:
guitar~,bass
equals
guitar,bass
|
|
|
11-11-2017, 01:31 PM
|
#60
|
Human being with feelings
Join Date: Apr 2014
Posts: 398
|
Wow!
Really cool! Thanks Amagalma.
Just one remark, in the last update you keep the debug console active.
It's easy to add comments to the line but maybe some other people are not aware of this.
Cheers
|
|
|
11-13-2017, 04:26 PM
|
#61
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Oops!.. Fixed in 2.88
|
|
|
02-01-2018, 04:15 AM
|
#62
|
Human being with feelings
Join Date: Nov 2017
Location: Gloucestershire, UK
Posts: 223
|
Great Utility. Many thanks
|
|
|
08-08-2018, 08:30 AM
|
#63
|
Human being with feelings
Join Date: May 2015
Posts: 12
|
I'm getting an error when I try and use this. All I need to do is just run this action right? New to ReaScripts here. . .
"...magalma_gianfini_Track-Item Name Manipulation - UNDO.lua:520: attempt to call a nil value (field 'BR_GetMediaItemTakeGUID')"
|
|
|
08-08-2018, 08:39 AM
|
#64
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Quote:
Originally Posted by dpbsound
I'm getting an error when I try and use this. All I need to do is just run this action right? New to ReaScripts here. . .
"...magalma_gianfini_Track-Item Name Manipulation - UNDO.lua:520: attempt to call a nil value (field 'BR_GetMediaItemTakeGUID')"
|
Looks like you don't have SWS extensions installed ? (which this scripts needs to work)
http://www.sws-extension.org/
|
|
|
08-08-2018, 09:15 AM
|
#65
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Fantastic. thanks dpbsound for reviving this thread... I had no idea about this gem!!
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
08-08-2018, 10:31 AM
|
#66
|
Human being with feelings
Join Date: May 2015
Posts: 12
|
Quote:
Originally Posted by nofish
|
Oops you're right. I reinstalled Windows recently and forgot to reinstall this. Thanks!
|
|
|
08-15-2018, 12:25 PM
|
#67
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
@amagalma & gianfini
I love this script so much... that I wish it would also support Regions.
Would that be possible?
I don't see any API access to "selected markers" (isrgn), but maybe either all or by index (say) between x and y?
Since I use regions a lot for exporting (I'm sure many others do to), it would make naming the exports less tedious if your awesome tool would work with regions.
Fingers crossed
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
05-21-2019, 08:00 PM
|
#68
|
Human being with feelings
Join Date: Dec 2018
Posts: 6
|
Region name manipulation
Could you add region name manipulation please
|
|
|
08-09-2019, 05:54 AM
|
#69
|
Human being with feelings
Join Date: Apr 2019
Posts: 34
|
Hey,
I just got suggested to try your script and it's AWESOME! The only thing that really complicates things is this magic character stuff. For example, I have some tracks that are named like "Kik-(We_are_a_Band-We_Rock)". So I copy paste the part after Kik into the replace function, but still have to put % before every -,( and ). Is it possible to disable magic characters, maybe with a simple button?
Thanks again for the awesome script!
|
|
|
01-23-2020, 12:36 PM
|
#70
|
Human being with feelings
Join Date: Jul 2010
Location: Montpellier, France
Posts: 194
|
Hey guys,
Great script! Is it possible though to specify the number of digits added by the numbering function? By defaults it's 2, but I personally don't like having 01, 02, 03 etc instead of 1, 2, 3...
Thanks :-)
|
|
|
01-23-2020, 12:59 PM
|
#71
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Maybe in the future this will get added...
As a workaround, you can select the first nine tracks with numbers 01-09 and trim the first character.
|
|
|
01-23-2020, 01:03 PM
|
#72
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
Quote:
Originally Posted by Tower Studio
Hey guys,
Great script! Is it possible though to specify the number of digits added by the numbering function? By defaults it's 2, but I personally don't like having 01, 02, 03 etc instead of 1, 2, 3...
Thanks :-)
|
Hi I have no time to set it as an option but you can easily modify the code as follows:
EDIT the action (or a copy of it) go to line 834 and modify from
newName = string.format("%02d", math.floor(number+i)) .. " " .. newName
else
newName = newName .. " " .. string.format("%02d", math.floor(number+i))
TO
newName = string.format( "%1d", math.floor(number+i)) .. " " .. newName
else
newName = newName .. " " .. string.format( "%1d", math.floor(number+i))
AND IT WILL ADD SINGLE DIGIT NUMBERS
G
|
|
|
01-23-2020, 02:26 PM
|
#73
|
Human being with feelings
Join Date: Jul 2010
Location: Montpellier, France
Posts: 194
|
Quote:
Originally Posted by Gianfini
Hi I have no time to set it as an option but you can easily modify the code as follows:
EDIT the action (or a copy of it) go to line 834 and modify from
newName = string.format("%02d", math.floor(number+i)) .. " " .. newName
else
newName = newName .. " " .. string.format("%02d", math.floor(number+i))
TO
newName = string.format("%1d", math.floor(number+i)) .. " " .. newName
else
newName = newName .. " " .. string.format("%1d", math.floor(number+i))
AND IT WILL ADD SINGLE DIGIT NUMBERS
G
|
WOW!!! Thank you SO MUCH for this! Works like a charm, you're amazing!!!
|
|
|
10-17-2020, 07:49 PM
|
#74
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Thanks for this great script. I use it everyday.
I noticed that the tracks in the Track manager, are not refreshed when I commit a rename. I have to click the Track Manager window for it to be refreshed. Do you have an idea for a fix?
|
|
|
10-20-2020, 04:20 AM
|
#75
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
Quote:
Originally Posted by lexaproductions
Thanks for this great script. I use it everyday.
I noticed that the tracks in the Track manager, are not refreshed when I commit a rename. I have to click the Track Manager window for it to be refreshed. Do you have an idea for a fix?
|
I'll check this weekend
G
|
|
|
10-21-2020, 06:01 AM
|
#76
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Quote:
Originally Posted by Tower Studio
Hey guys,
Great script! Is it possible though to specify the number of digits added by the numbering function? By defaults it's 2, but I personally don't like having 01, 02, 03 etc instead of 1, 2, 3...
Thanks :-)
|
update to v2.90
Quote:
Originally Posted by lexaproductions
Thanks for this great script. I use it everyday.
I noticed that the tracks in the Track manager, are not refreshed when I commit a rename. I have to click the Track Manager window for it to be refreshed. Do you have an idea for a fix?
|
Just checked and actually it is Reaper's fault that changes through the GetSetMediaTrackInfo_String API are not automatically reflected to the Track Manager and that there is not an API to do it manually (UpdateArrange, UpdateTimeline, TrackList_AdjustWindows, CSurf_SetTrackListChange do not do anything to the Track Manager).
Anyway a work-around could be found but it requires SWS and "Mirror track selection" option enabled. A fuller work-around could be done with the JS_ReaScriptAPI, but I didn't want to complicate the requirements of this script for the average user.
Version v2.90 changes:- Track manager is refreshed if open and track names changed (requires SWS and "Mirror track selection" option enabled
- add: You can now specify the number of digits when numbering
PS. Ability to rename Regions will come soon.
|
|
|
10-21-2020, 06:05 AM
|
#77
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Thanks a lot!!!
|
|
|
10-25-2020, 10:55 AM
|
#78
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
Quote:
Originally Posted by amagalma
update to v2.90
Version v2.90 changes:- Track manager is refreshed if open and track names changed (requires SWS and "Mirror track selection" option enabled
- add: You can now specify the number of digits when numbering
PS. Ability to rename Regions will come soon.
|
Great job as always!!
|
|
|
10-26-2020, 03:22 PM
|
#79
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
@Gianfini and others too: I have v3 ready, which supports Region renaming too and has a few bug fixes. It is based on "amagalma_gianfini_Track-Item Name Manipulation - UNDO.lua"
We have on ReaPack 3 name manipulators (three versions of the same script more or less)
- amagalma_Track-Item Name Manipulation (my old script, v1)
- amagalma_gianfini_Track-Item Name Manipulation (v2, older version)
- amagalma_gianfini_Track-Item Name Manipulation - UNDO (v2, most up to date)
Do you agree if I remove these three and replace them with v3 which would be named:
amagalma_gianfini_Track-Item-Region Name Manipulation
or
amagalma_gianfini_Track-Item-Region Renamer
or
amagalma_gianfini_ReaNamer (track-item-region renaming utility) {I prefer this}
?
What do you think?
Last edited by amagalma; 10-27-2020 at 05:11 AM.
|
|
|
10-27-2020, 03:30 AM
|
#80
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
I agree to remove the confusing one and leave only one
I don’t mind the name as long as there’s only one.
|
|
|
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 10:15 AM.
|