Old 07-07-2018, 03:09 AM   #1
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default ReaLauncher

Hello to all fellow Reaper users and welcome to the ReaLauncher discussion thread!

What's ReaLauncher?

ReaLauncher is a custom and Lua-based version of the standard Reaper startup prompt window with a number of additional features.
Powered by Lokasenna's GUI library v2 for Lua (see link in the Install instructions below). So also a big thanks to Lokasenna for his work!

Although I'm mainly testing things under Windows 10, macOS 10.10.5 (Yosemite) and Linux (64-bit), there's always room for improvement.
So if anyone encounters any bugs or errors, please let me know including some basic info like:
  • Operating system (Windows, macOS, Linux)
  • Reaper version (and if it's 32- or 64-bit)
  • A short description of the issue (what's the issue and when is it happening)

Feature requests (see post #2) are of course always welcome, as well.

Compact size



Expanded size with all tabs visible



Feature overview
  • Linux, macOS & Windows support
  • Separate tabs for Recent Projects, (.rpp) Project Templates, (.rtracktemplate) Track Templates, (.rpp) Projects, (.rpl) Project Lists and (.rpp-bak) Backups
  • Option to add additional custom folder paths for Project Templates and Track Templates (which are used in addition to the default template folders)
  • Option to set custom folder paths for Projects, Project Lists and Backups tabs
  • List-filter in each tab which supports input of multiple search words separated by a 'space' character
  • Global section with [New Tab], [New Project] and [Open Project] buttons
  • Selection of multiple entries via mouse (multi-select of listbox entries is already part of Lokasenna's GUI library)
  • File paths can be shown/hidden
  • 'Keep open' checkbox to switch the automatic closing behavior of the window
  • Scalable and resizeable window

Features that require SWS Extensions
  • [Recent Projects] tab for listing and managing the recent projects (with functions to remove selected entries and clearing the entire list)
  • [Show in Explorer/Finder] button to search for the location of a selected file
  • Setup of predefined Reaper Theme Slots and the possibility to switch between them (uses SWS Resources)

Features that require js_ReaScriptAPI
  • Function to preview attached 'demo' audio files (supported file extensions: .wav, .flac, .mp3 and .ogg)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Install instructions
  1. Install Lokasenna's GUI library v2 for Lua (via ReaPack)
  2. Afterwards, run the Script: Set Lokasenna_GUI v2 library path.lua Action from the Action List
  3. Install ReaLauncher (via ReaPack)
  4. Install SWS Extensions (see link below) - required for the Recent Projects tab functions, among others
  5. Install the js_ReaScriptAPI extension (via ReaPack) - required for the audio preview function
  6. Have fun!

Additional notes
  • Folder paths can be set in ReaLauncher's [Options] tab - accessible e.g. via the [F2] function key
  • Some general info and an overview of all key shortcuts can be found in ReaLauncher's [Help] tab - accessible e.g. via the [F1] function key
  • The window size is scalable via the function keys: [F10] toggles between a small & big window size, [F11] & [F12] lets you scale the window size down & up

Links

Optional settings to always show ReaLauncher automatically at startup (requires SWS Extensions)
  1. Open the Action List and search for the Script: solger_ReaLauncher.lua entry
  2. Right-Click on the entry and then Copy selected action command ID
  3. Open Extensions > Startup actions > Set global startup action
  4. Paste the action ID (copied in step 2) into the input field and confirm via [OK]
  5. Open Options > Preferences > General
  6. Set Open project(s) on startup to [New project] (instead of the [Prompt] option which shows the standard Reaper startup prompt window)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tips & Tricks (also visible in ReaLauncher's [Help] Tab)

Global Shortcuts for loading projects with FX Offline
  • Holding CTRL + SHIFT (Windows & Linux)
  • Holding CMD + SHIFT (macOS)
Another possibility is using the Open with FX offline option in the [Open Project] window


Selection of multiple list entries
  • SHIFT + LEFT CLICK: Selection of adjacent list entries
  • CTRL/CMD + LEFT CLICK: Selection of non-adjacent list entries
  • Loading a single list entry is also possible via DOUBLE CLICK


[Recent Projects] tab (requires SWS Extensions installed)

RIGHT CLICK on the Recent Projects listbox opens the (Remove entry | Clear list) context menu for removing selected entries or clearing the entire recent projects list.
The 'Remove entry' menu option is only available for the unfiltered list


Audio preview function (requires js_ReaScriptAPI)

Preparation: Place a WAV, FLAC, MP3 or OGG audio file with identical name into the same folder as the project or template file. Example: testproject.rpp / testproject.wav

Usage inside ReaLauncher:
  1. Adjust the preview volume knob (0 - 100 %) via LEFT DRAG or MOUSEWHEEL
  2. Select preview output channels (by default outputs 1/2 are used)
  3. Start & Stop a preview of a selected entry via DOUBLE CLICK on the volume knob or via the SPACE and * key.
Status colors:
  • SILVER: preview file available
  • GREEN: preview file playing
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Changelog

2020-02-02 - v2.1 - https://forum.cockos.com/showpost.ph...&postcount=342
2020-01-20 - v2.0 - https://forum.cockos.com/showpost.ph...&postcount=336
----------------------------------------------------------------------------------------------
2019-11-30 - v1.7.4 - https://forum.cockos.com/showpost.ph...&postcount=323
2019-11-25 - v1.7.3 - https://forum.cockos.com/showpost.ph...&postcount=317
2019-11-20 - v1.7.2 - https://forum.cockos.com/showpost.ph...&postcount=304
2019-10-27 - v1.7.1 - https://forum.cockos.com/showpost.ph...&postcount=294
2019-10-20 - v1.7.0 - https://forum.cockos.com/showpost.ph...&postcount=284
2019-09-10 - v1.6.2 - Bugfix for handling nil values when saving the output channel the first time to Extstate (saving the first output by default)
2019-09-10 - v1.6.1 - https://forum.cockos.com/showpost.ph...&postcount=255
2019-08-31 - v1.6.0 - https://forum.cockos.com/showpost.ph...&postcount=248
2019-08-16 - v1.5.1 - Bugfix: New Project button was not working
2019-07-30 - v1.5.0 - https://forum.cockos.com/showpost.ph...&postcount=207
2019-01-30 - v1.0.1 - temporary removal of subversion filter due to further bugfixing & testing
2019-01-28 - v1.0.0 - https://forum.cockos.com/showpost.ph...&postcount=148
----------------------------------------------------------------------------------------------
2018-08-18 - v0.1.6 - https://forum.cockos.com/showpost.ph...1&postcount=94
2018-08-09 - v0.1.5 - https://forum.cockos.com/showpost.ph...3&postcount=92
2018-07-23 - v0.1.4 - https://forum.cockos.com/showpost.ph...0&postcount=79
2018-07-15 - v0.1.3 - https://forum.cockos.com/showpost.ph...9&postcount=67
2018-07-11 - v0.1.2 - fixed issue with empty lists, filter is now automatically applied when typing
2018-07-08 - v0.1.1 - changed filter and sort function structure, last window position is now remembered
2018-07-07 - v0.1.0 - first version released for public beta testing

Last edited by solger; 02-02-2020 at 05:44 AM.
solger is offline   Reply With Quote
Old 07-07-2018, 03:09 AM   #2
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Here's the current collection of ideas and feature requests for future updates:

General
  • Adding a "Favorites" or "Bookmark" tab where projects can be added to (e.g. via a "Add to Favorites" function/button in the [Recent Projects] tab)
  • Option to show 'last modified' and 'created' timestamps
  • Option to rate projects (e.g.: 1-5 stars, ...)
  • Support for FX Chain Lists

Audio Preview
  • Adding a 'Create Preview' function to create and name a render automatically

Filter/Sort
  • Option to sort the [Projects] list by access date
  • Option to sort [Recent Projects] alphabetically
  • Adding different sort options in general (e.g.: invert filter list order, sort alphabetically, etc.)

UI
  • Theme options (option to customize colors and font size)

Feel free to post any additional ideas or feature wishes. I'll update the list and see what's doable

Last edited by solger; 02-04-2020 at 11:07 AM.
solger is offline   Reply With Quote
Old 07-07-2018, 04:04 AM   #3
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,310
Default

Hey Solger!

This is brilliant!
But I didn't expect otherwise.

Despite the fact, that I ran "Set Lokasenna_GUI v2 library path", solger_ReaLauncher.lua doesn't find the core.lua script (OSX here).
For testing purposes, I moved the script now to the folder containing the core.lua (works). Any idea what the problem could be here?

Some thoughts:
- would it be possible to make the filter field NOT case sensitive?
- pressing enter in the filter dialog executes "apply"
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan R÷mer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 07-07-2018, 04:29 AM   #4
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by _Stevie_ View Post
Despite the fact, that I ran "Set Lokasenna_GUI v2 library path", solger_ReaLauncher.lua doesn't find the core.lua script (OSX here).
For testing purposes, I moved the script now to the folder containing the core.lua (works). Any idea what the problem could be here?
Ah, I knew I forgot to check something
Should work now - version in download link updated.

Quote:
Some thoughts:
- would it be possible to make the filter field NOT case sensitive?
- pressing enter in the filter dialog executes "apply"
Added to the wishlist.
solger is offline   Reply With Quote
Old 07-07-2018, 05:21 AM   #5
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,310
Default

Awesome, works perfectly now!

Another feature request:
- option to close ReaLauncher on load of project
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan R÷mer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 07-07-2018, 06:59 AM   #6
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,545
Default

Hawt. Couple of things:

- Have you considered making this available via ReaPack? It makes updating the script way easier, since end-users can just click a button to do it, and it sidesteps issues a few people have found with some browsers and trying to download .lua files.

- Probably worth mentioning the SWS Startup Actions in your OP, and how to set this up with it. Users would also want to open Preferences | General and change "Open projects on startup" to New Project, if they were previously using the Reaper launcher.

- UpdateListFilters is re-sorting the list on EVERY loop and using an insane amount of CPU - 12% here on my laptop. In general, it's wise to check whether you need to re-sort so you can skip the function unless it's necessary. I just add a global variable here, but you may prefer storing it somewhere else:
Code:
local function UpdateListFilters()

  local filter = GUI.Val("tabs")
  if filter == last_filter then return end

  -- Recent Projects tab
  if filter then
    if RecentProjectFilterActive then
      GUI.elms.lst_recentProjects.list = filteredRecentProjects
    else
      -- Listbox sort mode: Default (most recent project at the top) / Ascending / Descending
      local sortMode = GUI.Val("menu_sort")
      if sortMode == 1 then
        SortDef()
      elseif sortMode == 2 then
        SortAsc()     
      else
        SortDesc()
      end
    end
  end
  -- Project Templates tab
  if filter then
    if ProjectTemplateFilterActive then
      GUI.elms.lst_projectTemplates.list = filteredProjectTemplates
    else
      GUI.elms.lst_projectTemplates.list = projectTemplates
    end
  end
  -- Track Templatse tab
  if filter then
    if TrackTemplateFilterActive then
      GUI.elms.lst_trackTemplates.list = filteredTrackTemplates
    else
      GUI.elms.lst_trackTemplates.list = trackTemplates
    end
  end

  last_filter = filter
end

- What's the purpose of the OSX + setfont code? My GUI automatically does that anyway.

- It doesn't make a difference, but your force-the-same-window-size code could actually go in GUI.onresize. It gets run at the beginning of each loop if the window has been resized; GUI.resized is set at the exact same time and works just as well, of course. Individual elements can also have an onresize method that will be called as part of their update loop as needed.

Code:
GUI.onresize = function()
-- check and force the resize
end

Last edited by Lokasenna; 07-07-2018 at 07:19 AM.
Lokasenna is offline   Reply With Quote
Old 07-07-2018, 10:33 AM   #7
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by _Stevie_ View Post
Another feature request:
- option to close ReaLauncher on load of project
You can uncheck the 'window pin' checkbox at the top right.

Or do you mean with 'on load of project' something else?


Saving the position of the window is added to list.

Last edited by solger; 07-07-2018 at 10:41 AM.
solger is offline   Reply With Quote
Old 07-12-2018, 06:12 AM   #8
emarsk
Human being with feelings
 
Join Date: Dec 2016
Posts: 211
Default

Quote:
Originally Posted by _Stevie_ View Post
- would it be possible to make the filter field NOT case sensitive?
+1

Case-sensitive searches are usually the wrong choice.

To make it case-insensitive, add this code[*]:
Code:
  local function nocase (s)
    s = string.gsub(s, "%a", function (c)
          return "[" .. string.lower(c) .. string.upper(c) .. "]"
        end)
    return s
  end
  
  searchStr = nocase(searchStr)
after this line:

Code:
  local searchStr = GUI.Val("tb_filterRecentProjects")
---

*: (Shamelessly and absent-mindedly copy-pasted from Roberto Ierusalimschy's book "Programming in Lua, Fourth Edition").
emarsk is offline   Reply With Quote
Old 07-12-2018, 07:11 AM   #9
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,310
Default

@emarsk: awesome!

@solger: the script is now as responsive in Windows as in OSX, thanks!
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan R÷mer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 07-12-2018, 08:59 AM   #10
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by Lokasenna
Edit: Figured it out. The filter is case sensitive - the easiest solution would be to use string.lower("My Project") on both sides of the comparison.
Quote:
Originally Posted by emarsk View Post
+1

Case-sensitive searches are usually the wrong choice.

To make it case-insensitive, add this code[*]:
Code:
  local function nocase (s)
    s = string.gsub(s, "%a", function (c)
          return "[" .. string.lower(c) .. string.upper(c) .. "]"
        end)
    return s
  end
  
  searchStr = nocase(searchStr)
after this line:

Code:
  local searchStr = GUI.Val("tb_filterRecentProjects")
---

*: (Shamelessly and absent-mindedly copy-pasted from Roberto Ierusalimschy's book "Programming in Lua, Fourth Edition").
Cool, thanks. Will have a look at this on the weekend.


As a side note: Yeah, the Case-Sensitive version is/was basically just a quick way (at that time) to test the first implementation

Last edited by solger; 07-12-2018 at 09:29 AM.
solger is offline   Reply With Quote
Old 07-10-2018, 09:34 AM   #11
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 201
Default

One thing I absolutley cannot understand in Reaper's organisation of Project Templates: Why are they not Folder-Structurable - like the Track templates.

IE:

MIX>>Live Band
>>Orchestral
>>5 Stem TV project
MASTER>>CD
>>Voice-Over
RECORD>>Live Band
>>Acoustic Duo

Etc...

At present, I have 40 templates, and they are all in a big list..
If you could fix this, you would forever rock. Even more than you already do...

T

Quote:
Originally Posted by solger View Post
Here's the current collection of things/ideas/feature requests - which are planned for future updates or might be cool to add (if doable):
  • Additional 'Projects' Tab (with the option to add a custom project folder path)
  • Option to add custom folder paths for Track & Project Templates (in addition to the default paths)
  • Option to show the full file paths (and maybe also with the possibility to open the folder location directly in Explorer/Finder)
  • Save window settings (as example: 'window-pin' setting, last text entries in the filter boxes, custom paths, etc.)
  • Option to 'Open with FX offline'
  • Option to remove list entries


Filter/Sort
  • Filter: additional/other options (like 'not case sensitive')
  • Filter: Accept (enter) key input for 'Apply'
  • Sort: Separate boxes for Recent/Alphabetical and Ascending/Descending


Feel free to post any additional ideas or feature wishes
I'll add them to this list and see what's doable.
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 07-10-2018, 10:19 AM   #12
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by Tim Rideout View Post
One thing I absolutley cannot understand in Reaper's organisation of Project Templates: Why are they not Folder-Structurable - like the Track templates.

IE:

MIX>>Live Band
>>Orchestral
>>5 Stem TV project
MASTER>>CD
>>Voice-Over
RECORD>>Live Band
>>Acoustic Duo

Etc...
Added to the wish list
solger is offline   Reply With Quote
Old 07-10-2018, 09:08 PM   #13
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 1,260
Default

I have it in the same folder as the library "Classes" & "Core.lua" that is used by other GUI's, how can I set it in the script to look in the current folder first before telling me

"Couldn't load the Lokasenna_GUI library. Please run 'Set Lokasenna_GUI v2 library path.lua' in the Lokasenna_GUI folder."
MusoBob is offline   Reply With Quote
Old 07-11-2018, 08:57 AM   #14
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by MusoBob View Post
I have it in the same folder as the library "Classes" & "Core.lua" that is used by other GUI's, how can I set it in the script to look in the current folder first before telling me

"Couldn't load the Lokasenna_GUI library. Please run 'Set Lokasenna_GUI v2 library path.lua' in the Lokasenna_GUI folder."
Is running the Script: Set Lokasenna_GUI v2 library path.lua Action in the Action List not working? **

Or is there a different reason why you want to set the path manually?



** In case this Action isn't visible: run Extensions > ReaPack > Synchronize to get the latest (Lokasenna GUI) version.

Last edited by solger; 07-11-2018 at 11:11 AM.
solger is offline   Reply With Quote
Old 07-11-2018, 09:03 AM   #15
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

A minor update is up on ReaPack:

Quote:
version 0.1.2
- fixed issue with empty lists
- filter is now automatically applied when typing

Quote:
Originally Posted by akademie
But then, when I try to run main ReaLauncher script, I get this error:
"solger_ReaLauncher.lua:72: attempt to index a nil value"

It is on Windows 7 Pro 32bit, Reaper 5.92 - portable, SWS v2.8.3)
@akademie:

Any news about the error?

Did you already see the suggestions in post #39?
And is the issue still present in the latest version?

Last edited by solger; 07-11-2018 at 09:19 AM.
solger is offline   Reply With Quote
Old 07-17-2018, 02:42 AM   #16
DaveKeehl
Human being with feelings
 
DaveKeehl's Avatar
 
Join Date: Nov 2015
Location: Switzerland
Posts: 1,926
Default

I have 2 feature requests.

1) a browse button that let me browse in my pc for the project I want to open.

2) ReaLauncher to stay open when I click on "new tab"
__________________
REAPER Contest
DaveKeehl is offline   Reply With Quote
Old 07-17-2018, 05:45 AM   #17
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 718
Default

Quote:
Originally Posted by DaveKeehl View Post
I have 2 feature requests.

1) a browse button that let me browse in my pc for the project I want to open.

2) ReaLauncher to stay open when I click on "new tab"
Hi DaveKeehl,
to your second FR - there is already small rectangle (box) in the right upper corner, which can be checked as "Do not close the window". Then it will stay open even when you perform some action from there. Try it.
akademie is offline   Reply With Quote
Old 07-17-2018, 06:04 AM   #18
DaveKeehl
Human being with feelings
 
DaveKeehl's Avatar
 
Join Date: Nov 2015
Location: Switzerland
Posts: 1,926
Default

Quote:
Originally Posted by akademie View Post
Hi DaveKeehl,
to your second FR - there is already small rectangle (box) in the right upper corner, which can be checked as "Do not close the window". Then it will stay open even when you perform some action from there. Try it.
Oooops
__________________
REAPER Contest
DaveKeehl is offline   Reply With Quote
Old 08-18-2018, 07:06 PM   #19
D Rocks
Human being with feelings
 
Join Date: Dec 2017
Location: Quebec, Canada
Posts: 547
Default

Very nice. The idea is good and combo with Lokas GUI is perfect
__________________
Alex | www.drocksrecords.com | Thanks for REAPER
D Rocks is offline   Reply With Quote
Old 08-18-2018, 07:26 PM   #20
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,545
Default

- "Keep window open" overlaps the sorting options.

- "Hide file paths" doesn't change anything with Linux paths.
Lokasenna is offline   Reply With Quote
Old 08-19-2018, 01:54 AM   #21
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by Lokasenna View Post
- "Keep window open" overlaps the sorting options.
Yeah, I haven't addressed overlapping UI elements yet (like adding a minimum window size check when doing GUI.onresize). Added to the list (so I don't forget)

Quote:
- "Hide file paths" doesn't change anything with Linux paths.
Is the behavior the same on all tabs. Or does this happen only in certain tabs?

Seems like there's a bug when switching between tabs sometimes with File paths set to 'Show' (mainly when switching to [Recent projects]) - which currently requires re-selecting the Hide/Show option ...
__________________
ReaLauncher

Last edited by solger; 08-19-2018 at 02:25 AM.
solger is offline   Reply With Quote
Old 10-27-2018, 06:00 AM   #22
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,315
Default

WHat I like in ReaLauncher is the ability to filter the recent projects list.
Though there is few bug:
  • Space isn't considered as a separator for multiple keywords (it takes the input fields as a whole)
  • It would be nice if we could invert the order
  • The alphabetical mode seems to go into an infinite loops as REAPER hangs and finish by crashing
  • It would be nice if we could right click on a project and say "forget", as some projects doesn't worth to be reminded :P
Thanks for taking a look at these if you can
X-Raym is offline   Reply With Quote
Old 10-27-2018, 10:29 AM   #23
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by X-Raym View Post
WHat I like in ReaLauncher is the ability to filter the recent projects list.
Though there is few bug:
  • Space isn't considered as a separator for multiple keywords (it takes the input fields as a whole)
  • It would be nice if we could invert the order
  • The alphabetical mode seems to go into an infinite loops as REAPER hangs and finish by crashing
  • It would be nice if we could right click on a project and say "forget", as some projects doesn't worth to be reminded :P
Thanks for taking a look at these if you can
Thanks for the feedback, Raymond.

I'll have a look at those points and see what I can do
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 10-27-2018, 02:25 PM   #24
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,315
Default

@solger
Thx !


using reaper.BR_Win32_WritePrivateProfileString( "Recent", keyName, "", reaper.get_ini_file() ) with keyname = recent + index of the project in recent list should be enough to hide a project in recent list.


But it has to be tested.
X-Raym is offline   Reply With Quote
Old 04-30-2019, 02:08 PM   #25
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 2,213
Default

I have an idea: what if you could attach an MP3/WAV/OGG near each project so we could here a demo before opening it. ?

possible?
__________________
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 04-30-2019, 02:38 PM   #26
puddi
Human being with feelings
 
puddi's Avatar
 
Join Date: Jun 2018
Posts: 252
Default

Quote:
Originally Posted by Reflected View Post
I have an idea: what if you could attach an MP3/WAV/OGG near each project so we could here a demo before opening it. ?

possible?

It would be awesome in theory but I guess it also means he somehow has to export that MP3 of every project. I usually do this manually by exporting small snippets of projects so that I can quickly preview them.

If this could be done automatically with a play button next to each project in the launcher it would be even better, but highly unlikely.

Good job on this btw, it instantly replaced the default launcher.
puddi is offline   Reply With Quote
Old 05-01-2019, 03:01 AM   #27
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by Reflected View Post
I have an idea: what if you could attach an MP3/WAV/OGG near each project so we could here a demo before opening it. ?

possible?
Thanks for the idea. I'll add it to the wish list

I think trying to implement a feature like this is quite a difficult task. As puddi already mentioned above, I guess the main challenge is how to automatically get audio for a demo snippet out of a project (assuming there isn't already a pre-rendered audio file available which can be used for playback) - which probably requires to somehow pre-load and/or pre-render the project (and the plugins used in it). Otherwise you'll basically only have the references inside the .RPP project file for retrieving the file paths to individual audio source files used in the project.

But I'll have to take a closer look at this to see what's possible or not ...


Quote:
Originally Posted by puddi
Good job on this btw, it instantly replaced the default launcher.
Thanks. Always good to know that ReaLauncher is useful
__________________
ReaLauncher

Last edited by solger; 05-01-2019 at 03:24 AM.
solger is offline   Reply With Quote
Old 05-01-2019, 04:02 AM   #28
puddi
Human being with feelings
 
puddi's Avatar
 
Join Date: Jun 2018
Posts: 252
Default

Quote:
Originally Posted by solger View Post
Thanks for the idea. I'll add it to the wish list

I think trying to implement a feature like this is quite a difficult task. As puddi already mentioned above, I guess the main challenge is how to automatically get audio for a demo snippet out of a project (assuming there isn't already a pre-rendered audio file available which can be used for playback) - which probably requires to somehow pre-load and/or pre-render the project (and the plugins used in it). Otherwise you'll basically only have the references inside the .RPP project file for retrieving the file paths to individual audio source files used in the project.

But I'll have to take a closer look at this to see what's possible or not ...
This just made me think of the possibilities for this feature. Not necessarily for the ReaLauncher (depending on how hard it is to implement) but for DAW's in general. They could just have a setting so that every time you close a project it exports 4 bars (or something) to a 128kbps Preview.mp3 in the project folder. Then the DAW's launcher would just play these files when you skip through projects.

Obviously the implementation would be better but anything beats having to blindly open 3 year old projects without knowing what they sound like lol.
puddi is offline   Reply With Quote
Old 05-01-2019, 12:39 PM   #29
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 2,213
Default

Quote:
Originally Posted by solger View Post
Thanks for the idea. I'll add it to the wish list

I think trying to implement a feature like this is quite a difficult task. As puddi already mentioned above, I guess the main challenge is how to automatically get audio for a demo snippet out of a project (assuming there isn't already a pre-rendered audio file available which can be used for playback) - which probably requires to somehow pre-load and/or pre-render the project (and the plugins used in it). Otherwise you'll basically only have the references inside the .RPP project file for retrieving the file paths to individual audio source files used in the project.

But I'll have to take a closer look at this to see what's possible or not ...



Thanks. Always good to know that ReaLauncher is useful
I was thinking that the user will be able to render the audio by himself and attach it.
this could also be very useful for track templates
__________________
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 07-10-2018, 09:36 AM   #30
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 201
Default

Boy. I hate to ask this, but...

After I have installed Lokasenna's GUI Lib and ReaLauncher via ReaPack, how do I invoke it?

I start Reaper and... nothing new...

There are no N00b questions; only n00bs...

:-#

T
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 07-10-2018, 10:12 AM   #31
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by Tim Rideout View Post
After I have installed Lokasenna's GUI Lib and ReaLauncher via ReaPack, how do I invoke it?
In general, you can assign the Action 'Script: solger_ReaLauncher.lua' in the Action List to a key shortcut, toolbar button, etc.


If you want to have ReaLauncher show up automatically at start, have a look at adding it as SWS Startup Action (see the steps mentioned in post #1):
Quote:
Originally Posted by solger
Optional settings:

- Setting the command ID or identifier string (shown in the Action List) of the Script: solger_ReaLauncher.lua Action as SWS Startup Action (via Extensions > Startup actions) - requires the SWS Extensions: http://www.sws-extension.org/
- Preferences > General: Changing 'Open projects on startup' to [New Project] - instead of [Prompt] which shows the default Reaper launcher at start
solger is offline   Reply With Quote
Old 10-22-2019, 01:45 PM   #32
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,686
Default

first time trying the script, couldn't get it to launch

solger_ReaLauncher.lua:310: attempt to get length of a nil value (local 'filename')

MacOS 10.14
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 10-23-2019, 08:30 AM   #33
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by EpicSounds View Post
first time trying the script, couldn't get it to launch

solger_ReaLauncher.lua:310: attempt to get length of a nil value (local 'filename')

MacOS 10.14
Hi Jon,

thanks for the info. I'll probably need to add a nil check there.

In the meantime, can you please try the following:

1) Set debugEnabled in line 35 to true
Code:
local debugEnabled = true-- show console debug messages
2) Add a MsgDebug call in line 310
Code:
local function RemoveExtension_RPP(filename)
  MsgDebug(filename)
  return string.sub(filename, 1, #filename - 4)
end
3) The first line in the console output should show which Tab is loaded (for instance, 'Refresh Recent Projects'). Does it list any files below that or none at all?

---

Otherwise, does clearing the Recent Project list via Preferences > General: Clear list make any difference?
If you want to back the entries up first (before clearing the list), you can copy them from the [Recent] section in the reaper.ini.

Thanks
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 10-23-2019, 03:37 PM   #34
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,686
Default

console output is same before and after clearing recent projects

Code:
Refresh Recent Projects
slave1
slave
slav
sla
sl
s
207.194.130.11
207.194.130.1
nil
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 10-24-2019, 02:08 AM   #35
PelF
Human being with feelings
 
Join Date: Mar 2013
Posts: 88
Default

Hi, thanks for the great launcher! Is it possible to set the launcher to remember the Paths - Show setting? Every time I run it again, it's set to Hide. Thanks a lot...
PelF is offline   Reply With Quote
Old 10-24-2019, 07:53 AM   #36
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by EpicSounds View Post
console output is same before and after clearing recent projects

Code:
Refresh Recent Projects
slave1
slave
slav
sla
sl
s
207.194.130.11
207.194.130.1
nil
Thanks. Will have a look at this.
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 02-07-2020, 05:56 AM   #37
dalim.biswas
Human being with feelings
 
Join Date: Jun 2016
Posts: 26
Default FX chain

I want some FX chain function numberwuae in Realauncher that would be awesome.
dalim.biswas is offline   Reply With Quote
Old 02-09-2020, 11:24 AM   #38
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 136
Default

A great script.
Can you add a tagging and sorting function for project files?
Thank you
Dragonetti is offline   Reply With Quote
Old 02-09-2020, 11:53 AM   #39
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 4,044
Default

Quote:
Originally Posted by Dragonetti View Post
A great script.
Can you add a tagging and sorting function for project files?
Thank you
Some things along these lines are already on the feature wish list in post #2 (https://forum.cockos.com/showpost.ph...98&postcount=2).
As example: adding additional sort options or showing additional info like 'last modified' ,'created', 'ratings', etc.

In regards to tagging: are you looking for something specific. Or basically for the things mentioned in this thread?: https://forum.cockos.com/showthread.php?t=226743
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 02-09-2020, 12:20 PM   #40
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 136
Default

i missed out
Quote:
Originally Posted by solger View Post
Some things along these lines are already on the feature wish list in post #2 (https://forum.cockos.com/showpost.ph...98&postcount=2).
As example: adding additional sort options or showing additional info like 'last modified' ,'created', 'ratings', etc.
It would be important for me at the moment;

Rating
Composer
Date created
Date modified
Status (unfinished, finished)
*Deadline* (x days)
Parts

Thank you

Last edited by Dragonetti; 02-11-2020 at 05:54 AM.
Dragonetti is offline   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 03:39 AM.


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