In the following update I plan to enable subsets/groups of colors, so one can adjust, for example, only the arrange area, if he wishes, instead of all colors at the same time.
I don't remember installing it, but I've had it for a while. There haven't been any errors before this, but to be honest, I've got not idea which of my installed scripts have been using it.
Another thing, which I'm not sure is related, but if I click the dialog that appears with the error, it opens this url:
I don't remember installing it, but I've had it for a while. There haven't been any errors before this, but to be honest, I've got not idea which of my installed scripts have been using it.
Another thing, which I'm not sure is related, but if I click the dialog that appears with the error, it opens this url:
Open the script with the editor (choose Edit... in the Actions List) and navigate to line 200:
Code:
local windowHWND = reaper.JS_Window_Find( "ReaScript console output", true )
Is reaper.JS_Window_Find red in color? Or anything else with JS_ red in the script? If yes, that means that you don't have it correctly installed. Go to the thread of the extension and follow the steps to install it. If everything is ok, then I have no idea.. Better to ask in the extension's thread...
Is reaper.JS_Window_Find red in color? Or anything else with JS_ red in the script? If yes, that means that you don't have it correctly installed.
Yes, reaper.JS_Window_Find is coloured red. Also the reaper.JS_Window_SetZOrder in the next line. So it looks like the error is at my end.
Quote:
Originally Posted by amagalma
Go to the thread of the extension and follow the steps to install it. If everything is ok, then I have no idea.. Better to ask in the extension's thread...
I'll read that thread. Many thanks for the help and sorry for the noise.
I use portable install on a USB stick, Lokasenna's library is installed at the proper path and js_ReaScriptAPI32 is also functional judging by other scripts behavior.
Thanks a lot amalgama, for what you have created. I use a customized version 5 theme and I know that it mat not work for me. that's no problem fo me anyway as I ma happy with the colors on my theme. What I think would be desired by all users is have it work on Cockos effects plugins and other windows not theme-able.
Unfortunately using the v5 default theme i get the error
which points at the line
Concurrently with the error, in the REAPER resource folder a file named UnzipReaperTheme.ps1 is created with the following code
I use portable install on a USB stick, Lokasenna's library is installed at the proper path and js_ReaScriptAPI32 is also functional judging by other scripts behavior.
Which Reaper and Windows version are you on? I'll try with a portable installation on a usb to see if I can reproduce. The file you mention is created, run once and then deleted when the script works. You can see it now because the script crashed before the deletion. Just delete the file.
Unfortunately, I cannot do anything more than ask the devs to fix it. As a workaround you could install a x64 portable version and run the script from there.
Which Reaper and Windows version are you on? I'll try with a portable installation on a usb to see if I can reproduce. The file you mention is created, run once and then deleted when the script works. You can see it now because the script crashed before the deletion. Just delete the file.
Unfortunately, I cannot do anything more than ask the devs to fix it. As a workaround you could install a x64 portable version and run the script from there.
Got it, thank you for the explanation and the request. I run both REAPER and Windows x86
Got it, thank you for the explanation and the request. I run both REAPER and Windows x86
As a workaround, for the time being, you can extract manually the ReaperTheme file that is inside the ReaperThemeZip file that you want to edit and load that in Reaper. Then you will be able to edit it.
A new version of the script will come for Windows x86 platforms that will use 7za.exe for extracting the themes.
As a workaround, for the time being, you can extract manually the ReaperTheme file that is inside the ReaperThemeZip file that you want to edit and load that in Reaper. Then you will be able to edit it.
A new version of the script will come for Windows x86 platforms that will use 7za.exe for extracting the themes.
v2.06 changelog:
- Changed extraction method for Windows (now works for Reaper x86 too)
Thank you, much appreciated.
With the latest version i get the message that my system may not have PowerShell. I run Windows XP. So PowerShell is a prerequisite for the script to function on Windows, correct?
With the latest version i get the message that my system may not have PowerShell. I run Windows XP. So PowerShell is a prerequisite for the script to function on Windows, correct?
Oh, you're still on XP... I am afraid you need PowerShell and .NET Framework 4.5 installed for this extraction method to work. But I think .NET 4.5 is not available for XP...
Oh, you're still on XP... I am afraid you need PowerShell and .NET Framework 4.5 installed for this extraction method to work. But I think .NET 4.5 is not available for XP...
Man, thank you so much for the trouble, unfortunately after placing 7za.exe in the \UserPlugins directory i still get the message "Failed to unzip the ReaperThemeZip file" with the default 5.0 theme as well
Since i must be the only one having this issue due to outdated OS, please don't bother, it's alright, sorry about making you go an extra mile which i really appreciate
Man, thank you so much for the trouble, unfortunately after placing 7za.exe in the \UserPlugins directory i still get the message "Failed to unzip the ReaperThemeZip file" with the default 5.0 theme as well
Since i must be the only one having this issue due to outdated OS, please don't bother, it's alright, sorry about making you go an extra mile which i really appreciate
7za.exe is automatically placed in the correct place. You don't have to do anything..
Please, try to edit the script and go to line 108:
Quick look at the code. So you unzip theme. Can I zip it back using cmd also? Months ago planned to make script for parsing and changing supercollapsed state height in rtconfig.
Yes it does, a great many thanks for taking your time to sort it out, really kind of you
Great! I'll upload v2.09 with the corrected code.
Quote:
Originally Posted by mpl
Quick look at the code. So you unzip theme. Can I zip it back using cmd also? Months ago planned to make script for parsing and changing supercollapsed state height in rtconfig.
Sorry for offtopic.
Yes, ofcourse! You can zip and unzip it in many ways. cfillion has helped me to do it using a Powershell script and .NET unzip methods for Windows and unzip for Linux/OSX. In the end I used 7za.exe for Windows in order to support XP too.