Old 03-15-2019, 12:59 PM   #401
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by EvilDragon View Post
1. When the inspector is docked above transport, it seems to steal right-clicks even if you have another program on top of Reaper (in my case web browser) and shows its context menu, ALONG with the context menu of the other program.
Nice catch. Fixed in v1.49.


Quote:
Originally Posted by EvilDragon View Post
2. When there's a lot of mousing in the MIDI editor, there's a TON of flickering in order to refresh the inspector. Maybe don't do UI refresh until mouse is released? Not sure...
Unfortunately I don't know if the flickering can be avoided. If the UI isn't refreshed, it will simply disappear, which would be worse.
juliansader is offline   Reply With Quote
Old 03-16-2019, 12:25 AM   #402
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 23,945
Default

Ugh. It's really a problem for usability then. Flickering is annoying and tires the eyes... Not to mention the font is too tiny because it's not antialiased...


Are you saying whenever you draw something in MIDI editor (regular part of Reaper), it triggers a whole screen refresh, and if you don't do the same for the inspector, it just goes away? That is a bummer...

But wait, I can have the LFO tool (for arrange view envelopes) docked and there's no flickering when I draw anything in the arrange (new items, envelope points...). So it SHOULD be possible, no?

Is it because you're getting MIDI data on every new mouse movement/data input in MIDI editor, then refreshing the GUI with that? I guess that definitely would create flickering... but what if you only do this on mouse release?
EvilDragon is offline   Reply With Quote
Old 03-16-2019, 02:01 PM   #403
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by EvilDragon View Post
Ugh. It's really a problem for usability then. Flickering is annoying and tires the eyes... Not to mention the font is too tiny because it's not antialiased...
Ouch, I hope it's not really that bad. It should only flicker while you are actively drawing. You can change the font size and weight in the script's user area, but the font cannot be much larger than the ruler font, otherwise it wouldn't fit.


Quote:
Originally Posted by EvilDragon View Post
Are you saying whenever you draw something in MIDI editor (regular part of Reaper), it triggers a whole screen refresh, and if you don't do the same for the inspector, it just goes away? That is a bummer...
Drawing inside a script GUI uses REAPER's own gfx functions, so there is no conflict. Drawing inside other REAPER windows such as the piano toll is a bit of a hack: it uses OS functions (such as GDI on WindowsOS) to draw stuff, without REAPER even knowing about it.

I suspect the flickering is due to REAPER and the script drawing independently and alternately into the same window, each overwriting the other. On WindowsOS, in non-static windows that are continuously being refreshed, the script's GDI graphics are drawn last in each defer cycle, so the script graphics are usually visible. Unfortunately, on macOS and Linux, script graphics is drawn earlier than REAPER's, so script graphics aren't visible in non-static windows. I have tried various tricks to avoid the flicker, but without success, and Justin confirmed that it would be messy/tricky to do with existing functions.

I have submitted a FR for a native function for blitting into REAPER's windows: Extension API: Blitting into REAPER windows, for seamless integration into REAPER UI. If any users of my scripts see this link, please give a +1 to that FR!
juliansader is offline   Reply With Quote
Old 03-17-2019, 03:33 AM   #404
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 23,945
Default

Quote:
Originally Posted by juliansader View Post
Ouch, I hope it's not really that bad. It should only flicker while you are actively drawing. You can change the font size and weight in the script's user area, but the font cannot be much larger than the ruler font, otherwise it wouldn't fit.
It really is pretty bad, but more importantly, it's distracting in a bad way. I'll post a GIF later on since today I'm not at my desktop.

Font size is not that much of a problem, it's the thinness of the font - it's not antialiased like the ruler font is. Remember how MIDI editor ruler font wasn't AA'd before and it was thin and looked nothing like ruler font in arrange, until Cockos fixed that? This is exactly how it is with the inspector docked. I think I posted a screenshot already in this thread
EvilDragon is offline   Reply With Quote
Old 03-17-2019, 09:38 AM   #405
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Not to disrespect Julian's work in any way, you know, I might be one of your biggest fans

But, I really hope we finally (v6?) get this functionality natively.
A way to display and change values (pitch, velocity, position, length, etc...) in the MIDI editor.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 03-17-2019, 10:30 AM   #406
Jed9999
Human being with feelings
 
Jed9999's Avatar
 
Join Date: Jan 2017
Posts: 19
Default

OMG!!! I LOVE YOU!!!
This is exactly what i was looking for in Reaper!!!
Thank you!!!
__________________
--------------------------------------------------------------
Don't have a clue what to put here.....
Jed9999 is offline   Reply With Quote
Old 03-17-2019, 10:54 PM   #407
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 23,945
Default

Quote:
Originally Posted by EvilDragon View Post
It really is pretty bad, but more importantly, it's distracting in a bad way. I'll post a GIF later on since today I'm not at my desktop.
Here you go with a 30 FPS GIF.




It IS unfortunately rather distracting. Also probably not very good for people with photosensitive epilepsy (thankfully I'm not afflicted by it)...
EvilDragon is offline   Reply With Quote
Old 03-18-2019, 10:33 AM   #408
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by _Stevie_ View Post
But, I really hope we finally (v6?) get this functionality natively.
A way to display and change values (pitch, velocity, position, length, etc...) in the MIDI editor.
I do not quite understand what you mean by "change values"? There are already many native actions and mouse modifiers to change values, such as inverting notes and dragging CCs up and down, or left and right.
juliansader is offline   Reply With Quote
Old 03-18-2019, 10:45 AM   #409
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Something like Reaper's event properties or mpl's interactive toolbar, where you can directly change values by entering numbers.
But not a dialog that needs to be opened all the time, but something that stays there permanently.

Of course I use all your scripts and available mouse modifiers etc...
But in certain cases, entering a value is more convenient.
mpl's interactive toolbar comes very close, but since I'm using my MIDI editor undocked, I can't make much use out of it.

As an example:
https://macprovid.vo.llnwd.net/o43/h...base_part2.jpg


EDIT: basically, if we had dedicated docker spaces in the MIDI editor, this would already help a lot.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 03-21-2019, 08:51 AM   #410
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Just outside of Glacier National Park
Posts: 12,835
Default Finally back together..

Hi Julian, I finally got my Reaper back working like I want it to, at least I hope so.

I've got everything updated including the new "Script: js_Mouse editing - Draw ramp.lua". However, it's not removing the redundant CCs like it did before and I'm wondering if there's a reason for that.

It's not a big deal, I've got your js script in my toolbar to do that, so I can still remove them.
__________________
Kontakt Vid Tutorials->Create Outputs / Create Templates -|- SMDrums Free drums -|- Elk Video Productions -|- Tod's Music
Tod is offline   Reply With Quote
Old 03-21-2019, 10:08 AM   #411
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Just outside of Glacier National Park
Posts: 12,835
Default

Also the "Script: js_Mouse editing - Draw ramp.lua" doesn't remember the curves like the old one did. With the old one when I drew a curve down going to the right, it would give it an upper concave and when I drew down going to the left it would draw a downward concave.

Also it's not being consistent, sometimes when I start drawing on the 64 value line, it will draw as expected. But then sometimes it drops to 0 and draws upward.

Are there things I should know about the new "Draw ramp"?
__________________
Kontakt Vid Tutorials->Create Outputs / Create Templates -|- SMDrums Free drums -|- Elk Video Productions -|- Tod's Music
Tod is offline   Reply With Quote
Old 03-21-2019, 12:31 PM   #412
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by Tod View Post
Are there things I should know about the new "Draw ramp"?
All mysteries shall be revealed... in the Instructions!


Quote:
Originally Posted by Tod View Post
Also it's not being consistent, sometimes when I start drawing on the 64 value line, it will draw as expected. But then sometimes it drops to 0 and draws upward.
This sounds like the script is chasing start values. Right-click to toggle chasing on/off.


Quote:
Originally Posted by Tod View Post
I've got everything updated including the new "Script: js_Mouse editing - Draw ramp.lua". However, it's not removing the redundant CCs like it did before and I'm wondering if there's a reason for that.
You can run the script "js_Option - Toggle skip redundant events when inserting CCs" to toggle this feature on/off.


Quote:
Originally Posted by Tod View Post
Also the "Script: js_Mouse editing - Draw ramp.lua" doesn't remember the curves like the old one did. With the old one when I drew a curve down going to the right, it would give it an upper concave and when I drew down going to the left it would draw a downward concave.
This behavior did indeed change: Previously, if the curve was "fast start" when drawing to the right, it would also be fast start when drawing to the right. (Similarly for "Fast end".) This had its advantages, but it also meant that the curve is not symmetrical when drawing to the right vs left. In the current version, the curve remains symmetric. Is this a problem?
juliansader is offline   Reply With Quote
Old 03-21-2019, 02:16 PM   #413
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Just outside of Glacier National Park
Posts: 12,835
Default

Quote:
Originally Posted by juliansader View Post
All mysteries shall be revealed... in the Instructions!
Okay where are the instructions? Trust my Julian, I've been all over and spent a lot of time on all this, I'm tired ha ha, so please a link.

Quote:
This sounds like the script is chasing start values. Right-click to toggle chasing on/off.
Aah okay, didn't know that.

Quote:
You can run the script "js_Option - Toggle skip redundant events when inserting CCs" to toggle this feature on/off.
Okay, need to check this out.

Quote:
This behavior did indeed change: Previously, if the curve was "fast start" when drawing to the right, it would also be fast start when drawing to the right. (Similarly for "Fast end".) This had its advantages, but it also meant that the curve is not symmetrical when drawing to the right vs left. In the current version, the curve remains symmetric. Is this a problem?
No, not really, I guess it's a matter of just using the mouse wheel with every draw, I think I just have to get used to it.

Thanks Julian, for everything, you are marvelous.
__________________
Kontakt Vid Tutorials->Create Outputs / Create Templates -|- SMDrums Free drums -|- Elk Video Productions -|- Tod's Music
Tod is offline   Reply With Quote
Old 03-21-2019, 03:16 PM   #414
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by Tod View Post
Okay where are the instructions? Trust my Julian, I've been all over and spent a lot of time on all this, I'm tired ha ha, so please a link.
Most of the scripts contain extensive Descriptions and Instructions inside the script file itself. These can be read in REAPER's built-in script editor (by clicking the "Edit" button in the Actions list), or in ReaPack's "About" window.

EDIT: There is also a general overview of the mouse editing scripts on the first page of this thread.

Last edited by juliansader; 03-21-2019 at 04:53 PM.
juliansader is offline   Reply With Quote
Old 03-21-2019, 04:22 PM   #415
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Just outside of Glacier National Park
Posts: 12,835
Default

Quote:
Originally Posted by juliansader View Post
Most of the scripts contain extensive Descriptions and Instructions inside the script file itself. These can be read in REAPER's built-in script editor (by clicking the "Edit" button in the Actions list), or in ReaPack's "About" window.
Aah, okay, gotchya.
__________________
Kontakt Vid Tutorials->Create Outputs / Create Templates -|- SMDrums Free drums -|- Elk Video Productions -|- Tod's Music
Tod is offline   Reply With Quote
Old 03-22-2019, 12:39 AM   #416
Nogla
Human being with feelings
 
Join Date: Apr 2018
Location: Kaliningrad
Posts: 28
Default

stretch and compress script set to ctrl-alt-mwheel. Pressing ESC while dragging leads to an error.

https://i.imgur.com/CPW46ZJ.gifv
Nogla is offline   Reply With Quote
Old 03-23-2019, 03:40 AM   #417
Nogla
Human being with feelings
 
Join Date: Apr 2018
Location: Kaliningrad
Posts: 28
Default

The highest note is never affected with stretch and compress.
https://i.imgur.com/UAhZBgt.gifv
Nogla is offline   Reply With Quote
Old 03-23-2019, 03:50 AM   #418
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by Nogla View Post
stretch and compress script set to ctrl-alt-mwheel. Pressing ESC while dragging leads to an error.
Rather not close a MIDI editor while a script is trying to write to it. (BTW, is this on Apple?)


Quote:
Originally Posted by Nogla View Post
The highest note is never affected with stretch and compress
This is how stretch is intended to work: if you grab and stretch the bottom, the uppermost velocity remains the fixed anchor. (Similarly, if you stretch a note using REAPER's native leftdrag function, you must place the mouse over either the leftmost or rightmost edge of the note, and then while you drag that edge, the opposite edge remains fixed.)
juliansader is offline   Reply With Quote
Old 03-23-2019, 04:04 AM   #419
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 23,945
Default

Any comments on the flicker GIF I posted?


BTW, which command is supposed to show a curved line overlay when tweaking CCs? Compress/expand or arch? I can't see any overlay over here...
EvilDragon is offline   Reply With Quote
Old 03-29-2019, 02:26 PM   #420
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by EvilDragon View Post
Any comments on the flicker GIF I posted?
Besides the FR that I mentioned above, I have added some new functions to the ReaScriptAPI extension that should help, when I eventually integrate them into the scripts.


Quote:
Originally Posted by EvilDragon View Post
BTW, which command is supposed to show a curved line overlay when tweaking CCs? Compress/expand or arch? I can't see any overlay over here...
Both the Arch/Tilt script and the Stretch/Compress script should show the curves. (The latter in Compress mode, not Stretch mode.) Are you not seeing anything, on Windows 10?

Here is a GIF from _stevie_ using Arch/Tilt:
juliansader is offline   Reply With Quote
Old 03-29-2019, 02:53 PM   #421
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Interessting, I can only see the lines with one single script. Have to check which one..
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 03-29-2019, 11:25 PM   #422
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 23,945
Default

Yeah I see the lines in arch/tilt, but not stretch/compress.

Maybe would be nice to be able to change the colors of the lines in extstate.ini?
EvilDragon is offline   Reply With Quote
Old 03-29-2019, 11:49 PM   #423
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Quote:
Originally Posted by EvilDragon View Post
Yeah I see the lines in arch/tilt, but not stretch/compress.

Maybe would be nice to be able to change the colors of the lines in extstate.ini?
Confirmed! And custom color would be great
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 03-30-2019, 07:21 AM   #424
FnA
Human being with feelings
 
FnA's Avatar
 
Join Date: Jun 2012
Posts: 2,173
Default

Quote:
Originally Posted by juliansader View Post
(The latter in Compress mode, not Stretch mode.)
Shows guidelines here when starting script with mouse over lane divider. Windows 7 x64.

The arch and tilt script can’t be terminated with control, alt, or shift modifiers the same way as compress script. Windows key needs to be among them. (I found myself trying to kill these with escape instinctively)

I like that there are fewer scripts now. I feel I can devote shortcuts to them now.
FnA is offline   Reply With Quote
Old 03-31-2019, 12:52 PM   #425
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 2,232
Default

Can you help me with this >>> ???

I would like to repeat selected sequence of midi notes to the next measure/beat regardless of pitch.




https://forum.cockos.com/showthread.php?t=219144
__________________
Thanks devs for adding the abillity to use single click to change a single velocity And single right click to remove a single note without dragging.
much appreciated.
Reflected is offline   Reply With Quote
Old 03-31-2019, 03:01 PM   #426
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by Reflected View Post
Can you help me with this >>> ???
Of the scripts in this thread, the MIDI note selector (in measure division mode) will probably be most useful.
juliansader is offline   Reply With Quote
Old 04-09-2019, 01:35 AM   #427
Smoy
Human being with feelings
 
Smoy's Avatar
 
Join Date: May 2017
Location: Paris, FR
Posts: 9
Default

Hey Julian!
First thanks a lot for your amazing scripts, it really improved my workflow!

I'm triggering the scripts with toolbar buttons arm function, works really nice but when I accidentally left-click the button, the script kind of "activate" itself in the void and I cannot make it deactivated again for later use with the toolbar arming. The only option i have is to restart Reaper

Do you have a workaround for those kind of situations?

Thanks a lot!
Smoy is offline   Reply With Quote
Old 04-09-2019, 07:11 AM   #428
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by Smoy View Post
I'm triggering the scripts with toolbar buttons arm function, works really nice but when I accidentally left-click the button, the script kind of "activate" itself in the void and I cannot make it deactivated again for later use with the toolbar arming. The only option i have is to restart Reaper

Do you have a workaround for those kind of situations?
I think, in the next version, the scripts should *toggle* their left-click armed state, if you left-click on a button that is already armed.

In the meantime, simply run this script from the MIDI editor context to de-arm the armed script:
Code:
prevCommandIDs = reaper.GetExtState("js_Mouse actions", "Previous commandIDs") or ""
_, _, sectionID = reaper.get_action_context()
for prevID in prevCommandIDs:gmatch("%d+") do
    prevID = tonumber(prevID)
    reaper.SetToggleCommandState(sectionID, prevID, -1)
    reaper.RefreshToolbar2(sectionID, prevID)
end
juliansader is offline   Reply With Quote
Old 04-15-2019, 07:04 PM   #429
AJYoung
Human being with feelings
 
Join Date: Aug 2018
Posts: 26
Default

Hey there,

So I've been trying to use these for the first time, running the Mouse Editing scripts by using the toolbar arming. But I haven't gotten any of them to work, and when I run the script I get the attached error message (plus the links to the ReaExtensions url in the console window).

I have indeed made sure that ReaPack has the correct updated repository, so I'm not sure what's causing this?
Attached Images
File Type: png Mouse Editing ReaScript Error.png (11.7 KB, 25 views)
AJYoung is offline   Reply With Quote
Old 04-16-2019, 12:16 PM   #430
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by AJYoung View Post
Hey there,

So I've been trying to use these for the first time, running the Mouse Editing scripts by using the toolbar arming. But I haven't gotten any of them to work, and when I run the script I get the attached error message (plus the links to the ReaExtensions url in the console window).

I have indeed made sure that ReaPack has the correct updated repository, so I'm not sure what's causing this?
Please check the following:

1) In REAPER's main menu, go to Options -> Show REAPER resource path in explorer/finder; then open the UserPlugins folder, and check that it contains the file "reaper_js_ReaScriptAPI64" (or "-32", depending on your system), with extension ".dll" for Windows, ".dylib" for macOS and ".so" for Linux.

2) If the ReaScriptAPI is not installed, go to Extensions -> ReaPack -> Manage repositories, and check whether "ReaTeam Extensions" is listed and enabled.

3) Go to ReaPack -> Browse packages, search for "js_reascriptapi" and make sure that version 0.984 is installed.
juliansader is offline   Reply With Quote
Old 04-16-2019, 12:39 PM   #431
AJYoung
Human being with feelings
 
Join Date: Aug 2018
Posts: 26
Default

Quote:
Originally Posted by juliansader View Post
Please check the following:
Thanks for the reply, I have done so, and everything appears to be in the correct spot.

And guess what? It's working today! I restarted my computer in the meantime and let Windows 10 run an update, but I haven't changed anything Reaper-wise since I wrote the original post. Strange.

Thanks anyways, I'll let you know if I have any other issues. I'm loving these scripts.
AJYoung is offline   Reply With Quote
Old 04-25-2019, 01:49 AM   #432
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 283
Default

Hi!

Some months have passed by since i mentioned in this thread about a master CC/velocity mangling script similar to what Cubase does. Check the velocity lane on this gif.



Julian said it was somehow possible but it had some limitations about scripts intercepting mouse clicks, which i didnt fully understand, but i suspect this has been fixed on the last updates, maybe i am wrong. Also, with the release of the JS_Reascript API i guess drawing the rectangle in which this script should work would be easier?

There´s a script called Velocity Tool (cant remember who did it but i dont think it was you Julian) that does this, but its kinda laggy and the window appears docked at the top left corner of the screen which is a pain to use here on a 32" screen.

I guess the Arch&Tilt script on this thread does something similar but i find it very confusing to work with.


Recapping, 2 questions:

- Have i missed a script that does this in a more convenient way than the VelocityTool script? The cool thing about Cubase´s approach is that you dont have to activate anything: as long as you have selected something in the velocity/CC lanes you can alter this data by simply left dragging on the keyspots on this "drawn" selection area. So i guess a cool thing for us who do lots of midi mocaps would be to have some defer script going on there?

- In case this isnt avalable yet..is this now more easily doable than a year ago? Would there be any interest in the community to have such a script?
reapero is offline   Reply With Quote
Old 05-07-2019, 06:15 PM   #433
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

I have uploaded new versions of the MIDI Inspector as well as the Mouse editing scripts.

For macOS and Linux users: The Arch/Tilt and Compress scripts will now draw guide lines onscreen, similar to Windows, and the MIDI Inspector can be docked in the MIDI editor.


Quote:
Originally Posted by EvilDragon View Post
Ugh. It's really a problem for usability then. Flickering is annoying and tires the eyes... Not to mention the font is too tiny because it's not antialiased...
Using ReaScriptAPI's new compositing functions, the MIDI Inspector can now dock in the MIDI editor on macOS and Linux without any glitching, and should glitch much less on Windows.

Also, on Windows, the text can now optionally use LICE's blur capability to slightly soften the font. Perhaps not a proper antialias, but I hope it looks better. By default it is off, but it can be switched on in the script's User Area.


Quote:
Originally Posted by _Stevie_ View Post
Confirmed! And custom color would be great
The colors of the guidelines can be customized in the User Area of the scripts.


Quote:
Originally Posted by Smoy View Post
I'm triggering the scripts with toolbar buttons arm function, works really nice but when I accidentally left-click the button, the script kind of "activate" itself in the void and I cannot make it deactivated again for later use with the toolbar arming. The only option i have is to restart Reaper
Clicking a left-click-armed toolbar button should now disarm the script, so that you can use right-click arming.


Quote:
Originally Posted by FnA View Post
(I found myself trying to kill these with escape instinctively)
The scripts can now be terminated by any keystroke, including ESC.

Another new feature that I think many users will find more natural: Instead of starting and stopping the script with two separate keystrokes, the scripts can now use hold+release: If the shortcut is held down for more than half a second, the script will stop when the shortcut is eventually released.

Last edited by juliansader; 05-08-2019 at 06:18 AM.
juliansader is offline   Reply With Quote
Old 05-08-2019, 08:16 AM   #434
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 23,945
Default

BTW Julian... you mention the script's user area. But this gets overwritten every time you do an update and we update the script through ReaPack, doesn't it?

Should probably go to extstate, all those settings, no?
EvilDragon is offline   Reply With Quote
Old 05-08-2019, 08:37 AM   #435
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Awesome Julian! Thanks for those changes!

ED: Exstate would mean they are stored per project right?
Wouldn't it make more sense to have some kind of ini file for those settings?
So it's project independent.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 05-08-2019, 06:49 PM   #436
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

@Julian: the stretch and compress script gives an error that the wrong js API is installed. However, I have the latest installed.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 05-09-2019, 02:50 AM   #437
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by _Stevie_ View Post
@Julian: the stretch and compress script gives an error that the wrong js API is installed. However, I have the latest installed.
The (current) latest version is 0.986 -- please check in the ReaPack browser that this is the installed version. (Also remember that REAPER must be restarted after updating an extension.)

Quote:
ED: Exstate would mean they are stored per project right?
Wouldn't it make more sense to have some kind of ini file for those settings?
So it's project independent.
There are two types of extstates: Get/SetProjExtState that is project-specific, and Get/SetExtState that is general.
juliansader is offline   Reply With Quote
Old 05-09-2019, 05:38 AM   #438
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Quote:
Originally Posted by juliansader View Post
The (current) latest version is 0.986 -- please check in the ReaPack browser that this is the installed version. (Also remember that REAPER must be restarted after updating an extension.)
Yep, that's the version I got installed.


Quote:
There are two types of extstates: Get/SetProjExtState that is project-specific, and Get/SetExtState that is general.
Ah good to know, thanks! Where is that data stored then?
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 05-09-2019, 11:22 AM   #439
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,002
Default

Quote:
Originally Posted by _Stevie_ View Post
Yep, that's the version I got installed.
Could you please double-check by running this in the IDE:
Code:
version = reaper.JS_ReaScriptAPI_Version()
and if you type this in the IDE, does it color the function as recognized, or highlight it as unrecognized?
Code:
reaper.JS_LICE_WritePNG
juliansader is offline   Reply With Quote
Old 05-09-2019, 11:49 AM   #440
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,353
Default

Hah, you are right. It shows 0.985, although ReaPack shows me that 0.986 is installed. I'll reinstall the API.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Reply

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 07:15 AM.


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