|
|
|
10-22-2019, 06:02 AM
|
#321
|
Human being with feelings
Join Date: Dec 2010
Posts: 17
|
Hi,
I have a few issues with the latest v1.6.1 script and the "list" version when they coexist on my Mac Pro (Mac OS X v10.11.6), Reaper64 v5.984
1) I get the "Airon_Colour Swatch.lua:298: bad argument #1 to 'gmatch' (string expected, got nil)" error.
2) Colour Swatch.lua - resulting colors doesn't match the palette
Cheers,
Andrei
|
|
|
10-23-2019, 03:04 AM
|
#322
|
Human being with feelings
Join Date: Mar 2017
Location: Ukraine, Kyiv
Posts: 546
|
Quote:
Originally Posted by _Stevie_
Is there a way to remember the position of the colour swatch window?
|
+1 would like to know if it's possible!
|
|
|
10-24-2019, 08:50 AM
|
#323
|
Human being with feelings
Join Date: Feb 2015
Posts: 755
|
This is now my default color picker now.
It would be awesome though, if the saving and recalling presets system be developed more.
|
|
|
10-28-2019, 01:21 PM
|
#324
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
I downloaded the latest version from the stash and I have added a few things:
1. Help was broken, now it works again.
2. TRACK/ITEM/AUTO were broken too, fixed.
3. Add presets to the code + number slots. Pressing 1,2,3,4,etc will load the preset in that slot. The code contains 5 presets, you can add more. Ideally this should be loaded from an external file. I just have refactored the code to use a table of presets instead of a single preset. The current preset state will be saved as before, but changing between presets will reset them to default. I think that windows can't be resized from lua, so you may need to resize the window after changing a preset.
4. The window appears now under the cursor, ideal if you run it from an icon.
I have renamed the file to Colour Swatch+.lua so you can have the original one and this.
|
|
|
10-29-2019, 09:42 AM
|
#325
|
Human being with feelings
Join Date: Mar 2007
Posts: 4,018
|
Thanks estux, it's nice.
But when I unselect the AUTO option, then I cannot activate it again. I have to terminate script and launch it as fresh new.
Also console window still pops up.
Last edited by akademie; 10-29-2019 at 09:43 AM.
Reason: typo
|
|
|
10-29-2019, 09:49 AM
|
#326
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Yeah, I was going to upload a version with debug off, sorry for uploading one with it enabled.
I will take a look to the AUTO problem
|
|
|
10-29-2019, 10:16 AM
|
#327
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Debug mode disabled and AUTO fixed.
|
|
|
10-29-2019, 10:31 AM
|
#328
|
Human being with feelings
Join Date: Mar 2007
Posts: 4,018
|
Quote:
Originally Posted by estux
Debug mode disabled and AUTO fixed.
|
Wow, thanx for really quick fix, estux :-D
This is really nice and very useful tool.
Thank you
|
|
|
10-29-2019, 11:28 AM
|
#329
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
I have improved a little bit the alignment/look of the top bar items.
There is some commented code there for adding special swatches (black, white, clear to default...), but it is going to need more work.
@akademie, thanks, yes it is really nice to have a quick way to set colors.
|
|
|
10-29-2019, 11:45 AM
|
#330
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
BTW, how do I clear(set to default) a track/item color programmatically?
|
|
|
10-29-2019, 11:48 AM
|
#331
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Small change for fixing the content height.
|
|
|
10-29-2019, 01:56 PM
|
#332
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Fixed a good amount of drawing glitches and make changing preset a less jarring experience.
|
|
|
10-29-2019, 01:57 PM
|
#333
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Forgot to add the attachment, sorry
|
|
|
10-30-2019, 02:54 PM
|
#334
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
More changes
· Reduce the initial* flash by making the window as small as it can get.
· Remember the docker state between launches. Now it really can be used in a docker.
*Question, is there a way to know the x,y mouse coordinates before doing gfx.init? Now the script creates a windows, then checks the mouse position, closes the initial windows and then it opens a new one in the right position :/.
|
|
|
10-30-2019, 02:57 PM
|
#335
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
reaper.GetMousePosition
|
|
|
10-31-2019, 02:34 AM
|
#336
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Quote:
Originally Posted by cfillion
reaper.GetMousePosition
|
Thank you very much! I will upload a new version with some nice improvements.
|
|
|
10-31-2019, 01:44 PM
|
#337
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Full changelog (I think I am going to stop here):
* v1.70 (2019-10-31) (changes by estux)
+ Fix TRACK/ITEM/AUTO interaction
+ Add support for having multiple presets, you can change between them using num keys 1 to 0.
+ Improve UI
+ Add clear/reset track color
+ Remeber dock status
+ Add settings menu to make options available to the user, options are remembered from launch to launch.
+ Option for launching the script at mouse position, if disabled the script remembers the last position.
+ Option for closing the script automatically after selecting a color.
+ Fixed launching a fake initial window, no more flashes.
+ Fixed drawing glitches.
+ Fixed help/settings menu start position.
Latest additions are: a clear color button, and an improved menu exposing some of the features that you needed to edit in the code before.
Now the script has some dependencies used for the new menu mainly, I think it is worth it.
Last edited by estux; 10-31-2019 at 02:05 PM.
|
|
|
11-12-2019, 03:47 AM
|
#338
|
Human being with feelings
Join Date: Jan 2012
Posts: 1,185
|
Will this version colour takes as well as items?
|
|
|
11-14-2019, 03:07 AM
|
#339
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
I didn't test it with takes (I don't use them much), give it a try.
|
|
|
11-14-2019, 05:48 PM
|
#340
|
Human being with feelings
Join Date: Jan 2012
Posts: 1,185
|
It doesn't appear to address take colour at all.
It looks like this side of the script has been commented out.
I've tried putting these bits of code back in or replacing item code for take code but I'm rather out of my depth.
Can you suggest a straightforward edit?
The reason being I generally use sws autocolour for track colour which affects items.
Many thanks
|
|
|
11-15-2019, 09:59 AM
|
#341
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
I don't know the api well, I suppose there is a good reason for that code to be commented. Hopefully we'll get help from someone.
|
|
|
02-08-2020, 11:08 AM
|
#342
|
Human being with feelings
Join Date: Apr 2016
Location: South Fl.
Posts: 799
|
Hey Airon,
Love the Color Swatch, but How can I Have it stay in a Dock when I load Reaper.
Robert
|
|
|
02-16-2020, 01:59 PM
|
#343
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
|
Damn, I have to update to Estux’ version. Btw, mod it as much as you like. Looking very good.
|
|
|
03-20-2020, 02:17 PM
|
#344
|
Human being with feelings
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
|
Hey there, I've noticed that in REAPER v6, if the colour swatch window opens on secondary monitor, it's almost completely black (and bigger). The only things that are not black are TRACK, ITEM (unreadable), Help and the colour's descriptive name.
Any ideas on a fix? It was working perfectly until and including v5.99.
Thanks!
|
|
|
03-26-2020, 07:29 AM
|
#345
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
|
Must be something in Reaper itself messing this up. Single monitor setups appear to be ok.
This might warrant a bug report.
|
|
|
03-30-2020, 01:57 AM
|
#346
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
|
Estux , may I modify(update authors and such) and submit this to the ReaTeam repository ?
This really belongs to everyone, not just the folks who happen to find it in this thread.
Does anyone know how to address the second monitor problem ? I don't use a second monitor so I can't test.
Quote:
Originally Posted by estux
Full changelog (I think I am going to stop here):
* v1.70 (2019-10-31) (changes by estux)
+ Fix TRACK/ITEM/AUTO interaction
+ Add support for having multiple presets, you can change between them using num keys 1 to 0.
+ Improve UI
+ Add clear/reset track color
+ Remeber dock status
+ Add settings menu to make options available to the user, options are remembered from launch to launch.
+ Option for launching the script at mouse position, if disabled the script remembers the last position.
+ Option for closing the script automatically after selecting a color.
+ Fixed launching a fake initial window, no more flashes.
+ Fixed drawing glitches.
+ Fixed help/settings menu start position.
Latest additions are: a clear color button, and an improved menu exposing some of the features that you needed to edit in the code before.
Now the script has some dependencies used for the new menu mainly, I think it is worth it.
|
|
|
|
03-31-2020, 11:32 AM
|
#347
|
Human being with feelings
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
|
I've pinned down a little extra info on this bug. I worked out that opening the colour toolbar on 1st monitor and dragging to second monitor causes the buggy behaviour (blacked out and grows as you cross the monitor threshold).
Confirmed it's perfect in v5.99. Reported to COCKOS support just now.
P.S. I'm using the swatch version of the script.
|
|
|
08-09-2020, 08:40 AM
|
#348
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Quote:
Originally Posted by airon
Estux , may I modify(update authors and such) and submit this to the ReaTeam repository ?
This really belongs to everyone, not just the folks who happen to find it in this thread.
Does anyone know how to address the second monitor problem ? I don't use a second monitor so I can't test.
|
Sorry for the super late reply.
Absolutely, I just wanted to share what I did here, so feel free to do with it whatever you want
This kind of projects should be in a github repository so collaborators could create pull requests with fixes or new functionality. Ideally continuous integration/delivery should take care of publishing the latest version to the public.
|
|
|
08-09-2020, 09:11 AM
|
#349
|
Human being with feelings
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
|
Anyone have an ideas about the second monitor bug? I emailed Cockos, but never heard back and no fix rolled out.
|
|
|
08-10-2020, 12:11 PM
|
#350
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
No idea sorry.
|
|
|
08-10-2020, 01:40 PM
|
#351
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
Anyone knows if this script is possible to get the "no color" for tracks and items?? The "default" color
|
|
|
08-12-2020, 09:30 AM
|
#352
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
Quote:
Originally Posted by daniellumertz
Anyone knows if this script is possible to get the "no color" for tracks and items?? The "default" color
|
The script is able to reset the color to the default one. Button "Clear" next to the "Settings" button.
|
|
|
08-12-2020, 12:15 PM
|
#353
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
Quote:
Originally Posted by estux
The script is able to reset the color to the default one. Button "Clear" next to the "Settings" button.
|
wheeere??? is this an old version?
I tested the reset button, reset the script not the colors
|
|
|
08-12-2020, 02:24 PM
|
#354
|
Human being with feelings
Join Date: Sep 2018
Posts: 62
|
|
|
|
08-12-2020, 03:07 PM
|
#355
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
oh haven't seen yours version pretty coool! will Install here
Are you planning in upload to repack?
|
|
|
11-13-2020, 08:56 AM
|
#356
|
Human being with feelings
Join Date: Jan 2019
Location: Ljubljana, Slovenia
Posts: 48
|
I'm a little out of my depth here. I installed the latest version and it worked fine, then I installed the list version and since then no other version works BUT the list one. I deleted it, tried reinstalling the reapack verison and the colour swatch + one and nothing works. This is the error I get:
"Colour Swatch+.lua:411: bad argument #1 to 'gmatch' (string expected, got nil)"
Hope somebody knows what this is about.
|
|
|
09-24-2021, 12:06 AM
|
#357
|
Human being with feelings
Join Date: Sep 2021
Posts: 52
|
Quote:
Originally Posted by daniellumertz
wheeere??? is this an old version?
I tested the reset button, reset the script not the colors
|
Same problem here. Tapping reset only resets the position of the window.
I installed it with Reapack
|
|
|
09-24-2021, 08:38 AM
|
#358
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
Well I really recommend using estux version. In it you have this feature
|
|
|
09-27-2021, 04:57 PM
|
#359
|
Human being with feelings
Join Date: Feb 2020
Posts: 62
|
I've downloaded>installed>launched Swatch v1.70 (2019-10-31) (changes by estux),
But it's "gradient-like".
Please, help, how to make "squares" in swatch?
Seems that I miss some important info and can't find it.
Last edited by ARkaine2; 09-27-2021 at 05:04 PM.
|
|
|
09-28-2021, 01:40 AM
|
#360
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
Use numbers 1 - 4 to change from gradient to squares
|
|
|
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 11:42 PM.
|