|
|
|
05-19-2015, 07:46 AM
|
#1
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Scripts: View and Zoom (Various)
Hi !
Thanks to new SWS API functions designed by Breeder, we are now able to make Scripts related to Viewport and Zoom.
Here is a thread to showcase some scripts I made (or scripts I'm trying to do) related to this subject. It is pretty new, I'm just experimenting.
From my script pack:
- View/X-Raym_Zoom to region at edit cursor.lua
This one is pretty simple and self-explanatory, I don't think that a screenshot is needed
Would you know if it possible to made ease in/ease out for this, for a smooth zoom level transition ?
- View/X-Raym_Offset play cursor continous play position.eel
Demo.
Well, I struggle with this one. The idea is simple: it runs in background; when continuous playback is one and auto scrolling is off, it simulates continuous playback position, but not in a centered way (offset). (for default centered, both states need to be on).
That work with absolute value, but I don't succeed to make it work with different zoom level. Any help is welcome
(note: it is based on heda's script Auto Record :P He his kind of the defer script expert here :P)
(note: Sure it would be better as a native solution, but I don't think devs are intested by this feature).
(note: this is not a high priority script).
All of this can be found on my website (see my signature).
Cheers !
EDIT: 2015-10-07
A way to navigate in very long subtitling project ! - Find and go to next items on selected tracks with input text as notes
EDIT: 2018-06-21 - X-Raym_Go and zoom to next selected item without losing selection.lua
- X-Raym_Go and zoom to previous selected item without losing selection.lua
Useful when you have to loop in items selection in a gigantic project !
Last edited by X-Raym; 06-20-2018 at 04:57 PM.
|
|
|
09-03-2015, 08:23 PM
|
#2
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
First script: Just excellent and precisely what i as looking for : thank you very much !!
|
|
|
10-07-2015, 05:01 AM
|
#3
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Initial release
New script !
Find and go to next items on selected tracks with input text as notes
Screenshot above :P
|
|
|
10-07-2015, 05:22 AM
|
#4
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Wowooo , so handy ! Thx a Bunch X-Raym !!
|
|
|
10-07-2015, 05:27 AM
|
#5
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
I wasn't expected such excitement for this one haha
I have to admit that it is prety basic for the moment,
It is case sensitive, it does loop the search (if there is nothing in front)
and there is no "previous items" version
BUT is is multitracks !
I guess it is enough for the moment.
|
|
|
10-07-2015, 06:05 AM
|
#6
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
thanks!
__________________
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.
|
|
|
10-07-2015, 10:50 AM
|
#7
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Oh man, there was already the SWS find window
It doesn't work on selected tracks only and doesn't move the cursor but I will not have code the script if I new we can do it... --'
|
|
|
10-07-2015, 11:29 AM
|
#8
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
Quote:
Originally Posted by X-Raym
Oh man, there was already the SWS find window
It doesn't work on selected tracks only and doesn't move the cursor but I will not have code the script if I new we can do it... --'
|
I feel sorry for you dude! I assumed you would have known about it
Like you said though.. they have different functions
If you could get yours to also function as a "replace" function for words it finds then you'll be on to a complete winner there!
__________________
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.
|
|
|
10-07-2015, 11:54 AM
|
#9
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@musicbynumbers
Thanks for your support ^^
The lesson is learned now. :P
Actually, I already made a Search/Replace script that works on notes of selected items, the view script was a mod on that first one
|
|
|
10-07-2015, 01:03 PM
|
#10
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
Quote:
Originally Posted by X-Raym
@musicbynumbers
Thanks for your support ^^
The lesson is learned now. :P
Actually, I already made a Search/Replace script that works on notes of selected items, the view script was a mod on that first one
|
Cool! That's very useful.
Would it be difficult to adapt it to items and maybe tracks as well?
Being able to clear out items of certain inherited suffixes etc would be great!
__________________
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.
|
|
|
10-07-2015, 02:14 PM
|
#11
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@musicbynumbers
I would not say "hard" but, but as every script, it takes a minimum of time :P
Would you like to sponsor their development ?
|
|
|
10-07-2015, 02:58 PM
|
#12
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
Quote:
Originally Posted by X-Raym
@musicbynumbers
I would not say "hard" but, but as every script, it takes a minimum of time :P
Would you like to sponsor their development ?
|
Sure Let me get to the weekend and I'll sort something out.
I have been donating to different scripters here and there and if I haven't donated to you yet I apologise will do soon!
__________________
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.
|
|
|
10-10-2015, 07:27 AM
|
#14
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
great! replied in the other thread and donated
Was just looking at the video demo on the site.
Would it be hard to have an "apply" button as well as cancel and ok?
and maybe an "undo" button that would undo the last naming in reaper. (if possible)
This would mean we could keep the window open and use it to search and name other stuff too.
Not a big deal if it's not possible..
__________________
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.
|
|
|
06-20-2018, 04:56 PM
|
#15
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Two new scripts,
- X-Raym_Go and zoom to next selected item without losing selection.lua
- X-Raym_Go and zoom to previous selected item without losing selection.lua
Useful when you have to loop in items selection in a gigantic project !
Shared for free in Reapack.
Please consider making a donation if you like them
Cheers !
|
|
|
03-22-2019, 12:07 PM
|
#16
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
New script:
- X-Raym_Scroll arrange view if mouse reaches screen edges.lua
Designed to release tension on the hand by avoiding to mouse wheel click for the hand tool, or to click and drag scroll bars, or to use another hand for scrolling shortcuts / device (which is not that instinctive). Inspired by RTS games :P
TODO:
- -- Scroll Only if REAPER is in FOCUS
- -- MAJ + Scroll FAST
- -- Find on which screen is REAPER
|
|
|
03-22-2019, 12:18 PM
|
#17
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Two others simple scripts:
- X-Raym_Scroll vertically down a little bit.lua
- X-Raym_Scroll vertically up a little bit.lua
Native actions move by a whole track which is a bit too much.
|
|
|
04-03-2019, 03:11 PM
|
#18
|
Human being with feelings
Join Date: Mar 2017
Location: Ukraine, Kyiv
Posts: 546
|
"Scroll arrange view if mouse reaches screen edges" - this one is a bliss! Waiting for that modification to scroll faster when needed, will be perfect. Thank you!
|
|
|
04-03-2019, 03:26 PM
|
#19
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@Skorobagatko
Glad you like it !
I'm also surprise how instrinctive it is. I set it as SWS Global action start up :P
Note: I already implemented the mouse modifiers for speed : just press shift keys on edges, .P 5Ctrl for slow speed only zorks on vertical)
|
|
|
04-03-2019, 04:23 PM
|
#20
|
Human being with feelings
Join Date: Mar 2017
Location: Ukraine, Kyiv
Posts: 546
|
Quote:
Originally Posted by X-Raym
@Skorobagatko
Glad you like it !
I'm also surprise how instrinctive it is. I set it as SWS Global action start up :P
Note: I already implemented the mouse modifiers for speed : just press shift keys on edges, .P 5Ctrl for slow speed only zorks on vertical)
|
Wow! Thanks)
I have a question - Is it possible to change "default" speed of scrolling? For example like you can edit track height A and B in "SWS Extension Command Parameters" menu?
|
|
|
04-03-2019, 05:52 PM
|
#21
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@Skorobagatko
Sure, just EDIT the script from the action list and change the multiplicator values:
Code:
multiplicator_x = 1
multiplicator_y = 3
if shift == 8 then
multiplicator_x = 5
multiplicator_y = 10
end
if ctrl == 4 then
multiplicator_x = 1
multiplicator_y = 1
end
Lowest values is 1 as it has to be integer. THis is the only limitation. Default values are on the top, then it's SHIFT, then it's CTRL. just change the multiplicator_ = kinf od line.
|
|
|
06-19-2022, 06:05 PM
|
#22
|
Human being with feelings
Join Date: Aug 2021
Posts: 69
|
I was really digging the screen edge scroll on a trial project! Until I tried adding enough tracks for a vertical scroll. Now, the script causes Reaper to scroll to the bottom no matter where I point my mouse cursor. When I drag the scroll bar up, it scrolls back down when I let go.
Could this be an error on mac only? Seems unlikely, given how long this script has been around!
|
|
|
06-19-2022, 10:02 PM
|
#23
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@chinpou
Hi,
Not sure what is the issue. the script is arround since long time but i didnt get lotw of feedback about it, even less from mac user. I will see if I can contact someone on mac.
|
|
|
06-20-2022, 03:49 AM
|
#24
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@chinpou
sockmonkey investigated this on mac and has proposed a fix,
you can resync reapack and try
Thx !
|
|
|
06-20-2022, 06:33 AM
|
#25
|
Human being with feelings
Join Date: Aug 2021
Posts: 69
|
Thank you so much! I just donated.
|
|
|
06-20-2022, 06:35 AM
|
#26
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@chinpou
Oh it was you ? Perfect thx !!
|
|
|
06-20-2022, 08:56 AM
|
#27
|
Human being with feelings
Join Date: Aug 2021
Posts: 69
|
Also fyi- the shift modifier works perfectly for speed boost, but I'm having no luck with ctrl (nor cmd) for slowing down
|
|
|
06-20-2022, 04:46 PM
|
#28
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@chinpou
Can't reproduce on other Mac System
You can inspect the ctrl variable by editing the action in the native IDE (use action list for thatà and check what value it returns. to see why it mismatch with what it is expected.
|
|
|
09-17-2022, 09:35 AM
|
#29
|
Human being with feelings
Join Date: Aug 2021
Posts: 69
|
Howdy x-raym, me again
I'm having an issue that seems to be caused by this action.
After 10 minutes or so on average, when pressing play, I will hear sound, but my playhead disappears and the scroll on screen edge action stops functioning altogether.
I'm currently working on a dialog edit for video, but I think I've had this happen in other sessions, as well.
I really love working with this action on, otherwise!
Cheers
|
|
|
09-17-2022, 03:55 PM
|
#30
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Quote:
After 10 minutes or so on average, when pressing play, I will hear sound, but my playhead disappears and the scroll on screen edge action stops functioning altogether.
|
Very weird. I use this action constantely since years, as other people, and never got such things or feedback... No sure what could cause this as this doesnt alter playhead at all.
I have no fix to propose :S Try not using the script and see if it works without it.
|
|
|
09-21-2022, 04:24 AM
|
#31
|
Human being with feelings
Join Date: Aug 2021
Posts: 69
|
No problem. I'll work with the action off for a while and see if I have the same issue!
|
|
|
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:29 PM.
|