Old 02-28-2021, 05:43 AM   #1
BartR
Human being with feelings
 
BartR's Avatar
 
Join Date: Oct 2014
Location: Belgium
Posts: 1,612
Default [SOLVED] LUA from within REAPER:Select a folder?

Is it possible to select a folder by a opening window?

For instance:
  • The script fires up
  • A "Select a folder or a path" window opens
  • I click on the folder I'm interested to, and click OK
  • When the window closes, the selected path is stored into a local variable?
__________________
Reaper: always the most up-to-date.
O.S.: Windows 11 Pro
ReaPack (with bilingual Tutorials): https://bit.ly/ReaPack_Repository

Last edited by BartR; 03-01-2021 at 02:39 AM.
BartR is offline   Reply With Quote
Old 02-28-2021, 06:19 AM   #2
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

Have a look at JS_Dialog_BrowseForFolder:
Requires js_ReaScriptAPI being installed: https://forum.cockos.com/showthread.php?t=212174
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 02-28-2021, 06:36 AM   #3
BartR
Human being with feelings
 
BartR's Avatar
 
Join Date: Oct 2014
Location: Belgium
Posts: 1,612
Default

Quote:
Originally Posted by solger View Post
GREAT!!! Thank you a zillion
__________________
Reaper: always the most up-to-date.
O.S.: Windows 11 Pro
ReaPack (with bilingual Tutorials): https://bit.ly/ReaPack_Repository
BartR 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 02:35 AM.


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