Old 07-07-2018, 03:09 AM   #1
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
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 (more info in the Feature overview below).
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!




Screenshot shows version 2.5


Feature overview
  • Linux, macOS & Windows support
  • Separate tabs for [Recent Projects], (.rpp) [Project Templates], (.rtracktemplate) [Track Templates], (.rpp) [Projects], (.rpl) [Project Lists], (.rpp-bak) [Backups] and (.pdf) [Docs]
  • Option to set custom folder paths for [Project Templates] and [Track Templates] - which are scanned in addition to the default template folder locations
  • Option to set custom folder paths for the [Projects], [Project Lists], [Backups] and [Docs] tabs
  • List filter in each tab that supports the use of multiple search words separated by a 'space' character
  • File paths can be shown/hidden and also displayed optionally in the status bar
  • Sort options
  • [Favorites] tab to list and manage bookmarked favorites of each tab
  • [Follow Actions] tab to set Actions that are triggered after certain operations (New Tab, Load Project, etc.)
  • Global functions accessible via main button panel or context menu: [Open Project], [New Project], [New Tab], [Load in Tab], [Load] and [Insert]
  • Selection and loading of multiple entries at once (multi-select via mouse is already part of Lokasenna's GUI library)
  • 'Keep open' checkbox to toggle the automatic window closing behavior after Load/New/Insert operations
  • Different tab selector styles (Tabstrip or Dropdown)
  • Scalable and resizeable window
  • Customizable colors

Features that require SWS Extensions (2.9.8 or higher)
  • [Recent Projects] tab for listing and managing recent project entries (with functions to remove selected entries and to clear the entire list)
  • 'Last Active' project functions to check for and load last active project tabs
  • [Locate in Explorer/Finder] button to navigate to the location(s) of selected files in Explorer or Finder
  • [Docs] tab for listing .pdf files
  • Setup of predefined Reaper Theme Slots and the possibility to switch between them (uses SWS Resources)

Features that require js_ReaScriptAPI (0.991 or higher)
  • Function to preview attached 'demo' audio files (supported file extensions: .wav, .flac, .mp3 and .ogg)
  • Option for adding folder paths in the [Options] tab via a 'Browse' dialog (besides copy & pasting paths manually)
  • Additional sorting options by date

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

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 [Recent Projects] and [Docs] 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 the [Options] - accessible e.g. via the [F2] function key
  • General info and an overview of all key shortcuts can be found in the [Help] tab - accessible e.g. via the [F1] function key
  • The window size is scalable via UI buttons or the function keys: [F10] toggles between a small & big window size, [F11] & [F12] lets you scale the window size down & up
  • The list font size is scalable via UI buttons or the function keys: [F8] & [F9] lets you reduce & increase the list font size.

Links
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Settings to always show ReaLauncher automatically at startup (requires SWS Extensions)
  1. Search for Script: solger_ReaLauncher.lua in the Action List *
  2. Right Click on the entry and 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 one of the [New project] options (instead of [Prompt] that shows the standard Reaper startup prompt window)

* Another way is to first add 'Script: solger_ReaLauncher.lua' to a Custom Action and then copy the action command ID of this Custom Action

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

Reverting to an older version

In case there might be any issues with certain updates or you want to skip a version, here are the steps to revert to an older version:
  1. Go to 'Extensions > ReaPack > Browse Packages'
  2. Filter for 'ReaLauncher'
  3. Use either the [Actions] button at the bottom or the Right Click menu to select a different version
  4. Click [OK] or [Apply] afterwards



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

Bug reports & Feature requests

Although I mainly test things under Windows 10, macOS 11 (Big Sur) 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 details:
  • Operating system: Windows, macOS or Linux
  • Reaper version number (and if 32-bit or 64-bit)
  • A short description of the problem (as example: what's the problem and when exactly does it occur?)
  • Additionally, a screenshot or LICEcap screen capture showing the problem can also be helpful

Feature requests (see post #2) are of course also always welcome.


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

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 to use the Open with FX offline option in the [Open Project] window


Selection of multiple list entries via mouse:
  • Select adjacent entries with SHIFT + LEFT CLICK
  • Select non-adjacent entries with CTRL/CMD + LEFT CLICK
  • Loading a single entry directly is possible via Double Click - if set in [Options]


[Recent Projects] tab (requires SWS Extensions installed)

RIGHT CLICK on the Recent Projects listbox opens the (Remove entry | Clear list) context menu to remove selected entries or clear the entire recent projects 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.
Examples:
  • Demo-Project.rpp | Demo-Project.wav
  • Test.RTrackTemplate | Test.mp3

Usage inside ReaLauncher:
  1. Select a preview output channel (by default 1/2) and adjust the volume knob (in %) via Left Drag or Mousewheel
  2. Start/Stop a preview via Key Shortcut or Double Click (on the volume knob)
Status colors: Silver (preview file available) & Highlight color (preview file playing)

Last edited by solger; 03-22-2023 at 11:11 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: 5,844
Default

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

Feel free to post any additional ideas or wishes in this thread. I'll update the list and see what's doable
  • [Tabs]: Adding a solution to show that tabs are hidden when the window width is too small to display the entire tab strip (e.g. via a visual indicator and/or a dynamic tab menu)
  • [Tabs]: Adding the possibility to reorder or hide tabs
  • [Tabs]: Support for multiple tabs of the same type (e.g. Projects) which can be given a custom name
  • [Project Lists]: Option to manage RPL Project Lists (add/remove/replace projects to/from/in a RPL project list file)
  • [Project Lists]: Option to directly load all projects from a selected .RPL Project List file
  • [Project Lists]: Option to add images/thumbnails (that serve as visual indicator or organizer - something like a visual 'album organiser')
  • [Projects]: Adding a filter to list only the newest version of a project (when having multiple versions in a folder)
  • [Backups]: View improvements like showing creation date and reference (of the backup file) to corresponding project
  • [Sub Panels]: Option to show a folder structure (similar to a file browser)
  • [Sub Panels]: Option to hide folders/subfolders
  • [Audio Preview]: Adding a 'Create Preview' function to create and name a render automatically
  • [Audio Preview]: Preview multiple (selected) projects one by one
  • [General]: Adding an option to add "comments/notes" for project/template files
  • [General]: Adding a 'jump to' function: typing a letter jumps to the first entry (that starts with this letter) in the list
  • [General]: Adding the possibility to drag & drop files from the list into the Reaper Project
  • [General]: Support for customizing which fonts are used
  • [General]: Option to rate projects (e.g.: 1-5 stars, ...)
  • [General]: Tagging functions for projects (as example: define custom color codes for certain tag types that can be assigned to projects)
  • [General]: Support for FX Chain Lists
  • [General]: Support for reading/writing project metadata

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

Changelog

2024-01-16 - v2.5.4 - https://forum.cockos.com/showpost.ph...&postcount=845
2023-10-08 - v2.5.3 - https://forum.cockos.com/showpost.ph...&postcount=811
2023-01-17 - v2.5.2 - https://forum.cockos.com/showpost.ph...&postcount=748
2022-11-27 - v2.5.1 - https://forum.cockos.com/showpost.ph...&postcount=730
2022-11-24 - v2.5.0 - https://forum.cockos.com/showpost.ph...&postcount=726
----------------------------------------------------------------------------------------------
2021-11-07 - v2.4.3 - https://forum.cockos.com/showpost.ph...&postcount=635
2021-11-02 - v2.4.2 - https://forum.cockos.com/showpost.ph...&postcount=630
2021-09-20 - v2.4.1 - https://forum.cockos.com/showpost.ph...&postcount=598
2021-09-12 - v2.4.0 - https://forum.cockos.com/showpost.ph...&postcount=560
2020-06-03 - v2.3 - https://forum.cockos.com/showpost.ph...&postcount=427
2020-03-27 - v2.2 - https://forum.cockos.com/showpost.ph...&postcount=379
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-18-2024 at 10:14 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
Location: Black Forest
Posts: 5,054
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
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_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: 5,844
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
Location: Black Forest
Posts: 5,054
Default

Awesome, works perfectly now!

Another feature request:
- option to close ReaLauncher on load of project
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_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,551
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
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate

Last edited by Lokasenna; 07-07-2018 at 07:19 AM.
Lokasenna is offline   Reply With Quote
Old 07-07-2018, 07:04 AM   #7
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Talking GUI, is there a way to save the position of the window, when you open it again?
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 07-07-2018, 07:07 AM   #8
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by _Stevie_ View Post
Talking GUI, is there a way to save the position of the window, when you open it again?
solger - I think I forgot to document these, but in Core.lua:
GUI.save_window_state
GUI.load_window_state

The 'name' parameter should be your script name or something.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-07-2018, 07:13 AM   #9
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Awesome! Solger, if you could incorporate that, that would rock!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 07-07-2018, 07:16 AM   #10
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

The Sort box at the bottom isn't doing anything here. Not sure why.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-07-2018, 10:26 AM   #11
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

@Lokasenna: Thanks for the hints. I might have some time to look at this tomorrow.

Quote:
Originally Posted by Lokasenna View Post
- 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.
Might most likely be one of the next steps

I haven't had time to check the Reapack webpage and the Development Thread yet for info about this: https://forum.cockos.com/showthread.php?t=169127
Or is there any info elsewhere about the necessary steps to do this? EDIT: found it

Quote:
Originally Posted by Lokasenna View Post
What's the purpose of the OSX + setfont code? My GUI automatically does that anyway.
Interesting. I'll have to check this again (perhaps I didn't have the latest version of your GUI library installed on OSX??)
I added the setfont and GUI.Listbox:drawselection() code because I had an issue here on OSX where the y-position of the selection rectangle was off when selecting elements further down in the listbox.

Last edited by solger; 07-07-2018 at 10:44 AM.
solger is offline   Reply With Quote
Old 07-07-2018, 10:33 AM   #12
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
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-07-2018, 10:43 AM   #13
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by solger View Post
Or is there any info elsewhere about the necessary steps to do this?
The easiest way is to make sure it has a valid ReaPack header commented at the top (look at any ReaPack script's code for an example) and then upload it to the appropriate folder on the ReaTeam repo (/Project Properties probably). I'm not sure if you need to be given permission first... that would be a question for cfillion.

Alternatively, I can do it for you.

Quote:
Interesting. I'll have to check this again (perhaps I didn't have the latest version of your GUI library installed on OSX??)
It's been there for ages - GUI.font multiplies the font size by 0.7 if you're on OSX.

Quote:
I had an issue here on OSX where the y-position of the selection rectangle was off when selecting elements further down in the listbox.
Weird. Does that issue happen in the Listbox example script?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-07-2018, 10:48 AM   #14
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by Lokasenna View Post
The easiest way is to make sure it has a valid ReaPack header commented at the top (look at any ReaPack script's code for an example) and then upload it to the appropriate folder on the ReaTeam repo (/Project Properties probably). I'm not sure if you need to be given permission first... that would be a question for cfillion.
Alternatively, I can do it for you.
Thanks. I'll have a look at it (probably tomorrow).

Otherwise I'll post here again or send you a PM

Quote:
Weird. Does that issue happen in the Listbox example script?
Good point. I'll check this in the example again, as well.
solger is offline   Reply With Quote
Old 07-07-2018, 11:06 AM   #15
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by Lokasenna View Post
The Sort box at the bottom isn't doing anything here. Not sure why.
Strange.

As a side note: The sort box currently affects only the Recent Projects Tab. Because I'm not sure yet if it's better to have one global Sort Box affecting all Tabs at the same time. Or if each Tab should get its own Sort Box ...



Quote:
Originally Posted by Lokasenna
- 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.
Done

Last edited by solger; 07-07-2018 at 11:36 AM.
solger is offline   Reply With Quote
Old 07-07-2018, 11:52 AM   #16
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Oh, I think I found it. My fix for the CPU usage is causing it to skip that entire function, so the sorting never happens. I'd suggest reorganizing it into smaller functions - one for checking the tab change, and one for checking the sort change.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-07-2018, 02:22 PM   #17
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Quote:
Originally Posted by solger View Post
You can uncheck the 'window pin' checkbox at the top right.
Ahh, that's what the green checkbox is for! Yep, that's exactly what I meant.
However, the green box is checked again, when I re-open the dialog.
Is this on purpose?
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 07-07-2018, 02:33 PM   #18
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by _Stevie_ View Post
However, the green box is checked again, when I re-open the dialog.Is this on purpose?
Yeah, saving of these settings is not implemented yet. But this is one of the points already planned to be included in the next update ...
solger is offline   Reply With Quote
Old 07-07-2018, 02:38 PM   #19
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Okay awesome! Hopefully I don't come across as nitpicking.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 07-07-2018, 02:45 PM   #20
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by _Stevie_ View Post
Okay awesome! Hopefully I don't come across as nitpicking.
No worries!

That's basically what the first version is for: so that other Reaper users can test the current state and add comments, suggestions, feature-requests, etc.
solger is offline   Reply With Quote
Old 07-07-2018, 02:51 PM   #21
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Whew, okay
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 07-08-2018, 09:13 AM   #22
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

A quick update:

ReaLauncher is now available via ReaPack.

I also already did an updated version with the following changes:
Quote:
- changed filter and sort function structure - should be more CPU friendly now
- last window position is now stored
Since I'm using GitHub for the first time, I'm currently reading through some ReaPack related links in order to figure out what's the best procedure for updating the script in the ReaPack repository.
In the meantime you can download the updated version via the download link in the OP.
solger is offline   Reply With Quote
Old 07-08-2018, 09:49 AM   #23
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Yay.

- Switching to Asc or Desc sorting is instant, but there's a half-second of lag switching back to Default. Not sure why, but my first guess would be that it's reading the file list again rather than storing Name + Most Recent Order in memory.

Edit: This is with the ReaPack version, so... not the updated one. Not sure if that fixes it.

- IMO the Default sort should be labelled Most Recent, and should have the most recent at the top - that would make it identical to the native launcher's list.

- For bonus points, the sorting function could be split into two separate menu boxes - Recent/Alphabetical and Ascending/Descending.

- Noticed an issue with the caret being drawn outside the Filter box. That's a GUI bug; pushing a fix now.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-08-2018, 10:07 AM   #24
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by Lokasenna View Post
- Switching to Asc or Desc sorting is instant, but there's a half-second of lag switching back to Default. Not sure why, but my first guess would be that it's reading the file list again rather than storing Name + Most Recent Order in memory.
Yeah, currently the file list is read again. But this will be changed in a future update (in conjunction with another point) ...

Quote:
- IMO the Default sort should be labelled Most Recent, and should have the most recent at the top - that would make it identical to the native launcher's list.
Good point about the naming.

Quote:
- For bonus points, the sorting function could be split into two separate menu boxes - Recent/Alphabetical and Ascending/Descending.
I'll have a look at this.

Quote:
- Noticed an issue with the caret being drawn outside the Filter box. That's a GUI bug; pushing a fix now.
Nice!

Last edited by solger; 07-08-2018 at 10:15 AM.
solger is offline   Reply With Quote
Old 07-08-2018, 10:40 AM   #25
DaveKeehl
Human being with feelings
 
DaveKeehl's Avatar
 
Join Date: Nov 2015
Location: Switzerland
Posts: 1,966
Default

hey guys I just installed the ReaLauncher! Very cool idea! I don't understand if it's my computer or what but browsing through the tabs and selecting the projects is quite laggy (especially in the recent projects tab).
Am I the only one having this issue?
__________________
REAPER Contest
DaveKeehl is offline   Reply With Quote
Old 07-08-2018, 10:47 AM   #26
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Same here, are you running a Windows machine?
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 07-08-2018, 10:51 AM   #27
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by DaveKeehl View Post
hey guys I just installed the ReaLauncher! Very cool idea! I don't understand if it's my computer or what but browsing through the tabs and selecting the projects is quite laggy (especially in the recent projects tab).
Am I the only one having this issue?
I already did an update which should hopefully make this better, but the updated version isn't up on ReaPack yet.


In the meantime you can download the 'solger_ReaLauncher.lua' file manually from the download link found at the bottom in post #1.

And then copy the file over the current 'solger_ReaLauncher.lua' one:
1) Options > Show Reaper resource path ..
2) Navigate to the subfolder 'Scripts\ReaTeam Scripts\Project Properties'
3) Copy the downloaded 'solger_ReaLauncher.lua' file over the old one
solger is offline   Reply With Quote
Old 07-08-2018, 10:55 AM   #28
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

Good work

Related: https://forum.cockos.com/showthread.php?t=73999
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote
Old 07-08-2018, 11:11 AM   #29
DaveKeehl
Human being with feelings
 
DaveKeehl's Avatar
 
Join Date: Nov 2015
Location: Switzerland
Posts: 1,966
Default

Quote:
Originally Posted by _Stevie_ View Post
Same here, are you running a Windows machine?
yes, I guess then it's a windows thing huh?
__________________
REAPER Contest
DaveKeehl is offline   Reply With Quote
Old 07-08-2018, 11:12 AM   #30
DaveKeehl
Human being with feelings
 
DaveKeehl's Avatar
 
Join Date: Nov 2015
Location: Switzerland
Posts: 1,966
Default

Quote:
Originally Posted by solger View Post
I already did an update which should hopefully make this better, but the updated version isn't up on ReaPack yet.


In the meantime you can download the 'solger_ReaLauncher.lua' file manually from the download link found at the bottom in post #1.

And then copy the file over the current 'solger_ReaLauncher.lua' one:
1) Options > Show Reaper resource path ..
2) Navigate to the subfolder 'Scripts\ReaTeam Scripts\Project Properties'
3) Copy the downloaded 'solger_ReaLauncher.lua' file over the old one
thanks I'll do it now
__________________
REAPER Contest
DaveKeehl is offline   Reply With Quote
Old 07-08-2018, 03:23 PM   #31
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 3,978
Default

Installed per instructions (Lokasena library + this ReaScript).
First run Lokasena's library path script with no error.

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)

Any suggestions, please?
Thanks
akademie is offline   Reply With Quote
Old 07-08-2018, 07:01 PM   #32
Fergler
Human being with feelings
 
Fergler's Avatar
 
Join Date: Jan 2014
Posts: 5,205
Default

Great idea, always wished Reaper had a start screen like this.
Fergler is offline   Reply With Quote
Old 07-08-2018, 09:03 PM   #33
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Couple of general script observations:

- Lua can do block comments rather than having to comment each line if you want:
Code:
--[[
   Blah
     blah
  blah

     blah blah blah
blah
]]--
- You should be able to use / as a file separator on both Windows and OSX without any trouble. Windows will quite happily let you mismatch them: C:/Users\\Me\\AppData/Roaming/Reaper/Scripts\\ReaTeam Scripts/stuff.lua

- Reaper has a function for getting values from an .ini if you want: retval, string = reaper.BR_Win32_GetPrivateProfileString( sectionName, keyName, defaultString, filePath ). Ignore the name; it should work on OSX just fine.

- You can wrap ShowConsoleMsg in a helper function to save a bit of typing, and having to remember the \n each time - in fact, GUI.Msg("my string") is ready to do it for you. You can also include the debug check in a helper rather than having to check each time:
Code:
local function Msg(str)
    reaper.ShowConsoleMsg( tostring(str) )
end

local function dMsg(str)
    if debug_enabled then reaper.ShowConsoleMsg( tostring(str) .. "\n" ) end
end

debug_enabled = true
Msg("this will always print")
dMsg("this will print")
debug_enabled = false
dMsg("this won't print")
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate

Last edited by Lokasenna; 07-08-2018 at 09:12 PM.
Lokasenna is offline   Reply With Quote
Old 07-09-2018, 09:10 AM   #34
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Interesting script, found minor? error..

With Recent List empty, click inside that list and then click the 'Load' or 'Load in Tab' buttons and it throws error, (string expected, got nil).

ReaLauncher 0.1.1
Lokasenna_GUI: v2.11.1
Reaper (portable): 5.80/x64
Platform: Win64

EDIT Same error for Project & Track templates tab, click inside empty list, then click load/insert button, throws error.

Last edited by Edgemeal; 07-09-2018 at 09:21 AM.
Edgemeal is offline   Reply With Quote
Old 07-09-2018, 09:12 AM   #35
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

The first update (0.1.1) is now also up on ReaPack. So if you haven't already, run Extensions > ReaPack > Synchronize to get the latest version.



Quote:
Originally Posted by Lokasenna View Post
Couple of general script observations:
Cool. Thanks for the hints.
solger is offline   Reply With Quote
Old 07-09-2018, 09:14 AM   #36
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by Edgemeal View Post
Interesting script, found minor? error..

With Recent List empty, click inside that list and then click the 'Load' or 'Load in Tab' buttons and it throws error, (string expected, got nil).

ReaLauncher 0.1.1
Lokasenna_GUI: v2.11.1
Reaper (portable): 5.80/x64
Platform: Win64
Nice find. Thanks.
Will have a look at this.
solger is offline   Reply With Quote
Old 07-09-2018, 09:18 AM   #37
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

The very first line of that crash report includes a line number where the error code - it would probably be very helpful in isolating the problem.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-09-2018, 09:40 AM   #38
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Quote:
Originally Posted by akademie View Post
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)

Any suggestions, please?
Thanks
According to the error message I'm guessing that line 63/64 (version 0.1/0.1.1) 'resourcePath = reaper.GetResourcePath()' couldn't somehow retrieve a resource path (which the script is trying to access later)
I'll have to check this.



In the meantime:

- When you open the script in the Action List via the [Edit...] button and then run it from the editor via the [Start] button: does 'resourcePath' show any value on the right?

- In addition, you can also try if the error is gone when setting the Reaper resource path (Options > Show Reaper resource path ...) manually by editing line 63/64 in the script:
Exchanging the bold part:
Code:
resourcePath = reaper.GetResourcePath()
... with the resource path (in quotes):
Code:
resourcePath = "<enter the Reaper resource path here>"

Last edited by solger; 07-09-2018 at 10:21 AM.
solger is offline   Reply With Quote
Old 07-10-2018, 09:34 AM   #39
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 258
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, 09:36 AM   #40
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 258
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
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 11:07 AM.


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