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

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


What's ReaLauncher?

ReaLauncher is a custom Lua-based version of the default Reaper startup prompt window with 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 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 at the top of each tab which supports input of multiple search words separated by a 'space' character
  • [Show in Explorer/Finder] button for browsing to the folder location of a selected file
  • Global section with [New Tab], [New Project] and [Open Project] buttons
  • Selection and loading of multiple entries (multi-select of listbox entries via mouse is already part of Lokasenna's GUI library)
  • File paths can be shown/hidden
  • 'Keep open' checkbox for managing the window auto-close behavior
  • Resizeable window
  • Option to preview attached 'demo' audio files of project and template files (requires js_ReaScriptAPI extension)
  • Option to switch between different pre-defined Reaper Theme Slots (requires SWS Extensions)

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

Install instructions
  1. Install Lokasenna's GUI library v2 for Lua via ReaPack. Afterwards, run the Script: Set Lokasenna_GUI v2 library path.lua Action from the Action List
  2. Install ReaLauncher via ReaPack
  3. Install the js_ReaScriptAPI extension (via ReaPack) and the SWS Extensions (link below) for some additional features
  4. Have fun!


Optional settings to show ReaLauncher on startup:
  1. Setting the command ID/identifier string (shown in the Action List) of the Script: solger_ReaLauncher.lua Action (or of a Custom Action which contains it) as SWS Startup Action via the Extensions > Startup actions menu
  2. Preferences > General: Open project(s) on startup: Selecting [New project] (instead of the [Prompt] option which shows the default Reaper startup prompt window)

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

Tips & Tricks

It's possible to select multiple list entries via:
  • 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

Shortcuts for loading projects with FX Offline:
  • Holding CTRL + SHIFT (Windows & Linux)
  • Holding CMD + SHIFT (macOS)
  • Or by using the 'Open with FX offline' option in the [Open Project] window

[Recent Projects] tab: removing selected list entries or clearing the entire recent projects list is possible via the RIGHT CLICK menu options:
  • Remove entry
  • Clear list

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

Changelog

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; 10-27-2019 at 12:08 PM.
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: 3,809
Default

Here's the current collection of things/ideas/feature requests which are planned for future updates or might be cool to add (if doable):

GUI
  • Theme options (option to adjust colors and font size)

General
  • Option to show 'last modified' and 'created' timestamps
  • Option to rate projects (for instance 1-5 stars, ...)

Filter/Sort
  • Add different sort options (invert filter list order, sort alphabetically, etc.)

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

Last edited by solger; 08-31-2019 at 07:36 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: 2,942
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 online now   Reply With Quote
Old 07-07-2018, 04:29 AM   #4
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 3,809
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: 2,942
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 online now   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,353
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: 3,809
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: 209
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: 2,942
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 online now   Reply With Quote
Old 07-12-2018, 08:59 AM   #10
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 3,809
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: 200
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: 3,809
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,075
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: 3,809
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: 3,809
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,884
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 online now   Reply With Quote
Old 07-17-2018, 05:45 AM   #17
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 568
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,884
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 online now   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: 447
Default

Very nice. The idea is good and combo with Lokas GUI is perfect
__________________
Alex | www.drocksrecords.com | Thanks for REAPER
D Rocks is online now   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,353
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: 3,809
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,058
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: 3,809
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,058
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,184
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?
__________________
Reaper's midi editor feels like a broken code - 10 years already:
you can't use single click to change a single velocity without dragging
you can't use single right click to remove a single note without dragging.
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: 247
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: 3,809
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: 247
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,184
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
__________________
Reaper's midi editor feels like a broken code - 10 years already:
you can't use single click to change a single velocity without dragging
you can't use single right click to remove a single note without dragging.
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: 200
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: 3,809
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,556
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: 3,809
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,556
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
Location: CZE
Posts: 64
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: 3,809
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 03-30-2019, 11:17 AM   #37
lahniz
Human being with feelings
 
Join Date: Feb 2017
Posts: 8
Default Suggestion

Love the launcher but i'd like it to work similarly as reaper's own launcher. The last project you worked on is selected by default and you can just hit enter to load it up without any mouse action!
lahniz is offline   Reply With Quote
Old 03-30-2019, 12:06 PM   #38
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 3,809
Default

Quote:
Originally Posted by lahniz View Post
Love the launcher but i'd like it to work similarly as reaper's own launcher. The last project you worked on is selected by default and you can just hit enter to load it up without any mouse action!
Thanks for the suggestion.

Adding general support for keyboard shortcuts is already on the wish list (in post #2). But I'll add this example as additional note for this feature to my list, as well
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 04-03-2019, 01:40 PM   #39
jodemeil
Human being with feelings
 
jodemeil's Avatar
 
Join Date: Feb 2015
Posts: 7
Default

I don't know if I'm doing something wrong: when I pick "New project" or "Open project" while Reaper is open, Realuncher is not displayed.
Is this possible? It's shown only in the start up.
jodemeil is offline   Reply With Quote
Old 04-04-2019, 06:59 AM   #40
emwhy
Human being with feelings
 
Join Date: Apr 2018
Posts: 147
Default

I don't know if I'm doing something wrong: when I pick "New project" or "Open project" while Reaper is open, Realuncher is not displayed.
Is this possible? It's shown only in the start up.



What I did was create a custom action. Combine File: New Project and then Script: solgar_realauncher.lua and make them one action. I did this, mapped it to the "New Project" button on my toolbar. Now wheneve I click that to start a new project Realauncher opens.
emwhy 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 09:00 AM.


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