View Single Post
Old 10-30-2020, 04:41 AM   #30
Gianfini
Human being with feelings
 
Join Date: Jan 2015
Posts: 795
Default

Quote:
Originally Posted by amagalma View Post
Hmm.. then it seems like BR_Win32_GetPrivateProfileString is not working correctly or for some reason the keys are named differently on your system!?.. What platform are you on? Mac?


Please, try this script and tell me what you see:
Code:
flag = ({reaper.BR_Win32_GetPrivateProfileString( "trackmgr", "flags", "", reaper.get_ini_file() )})[2]
_, flag2 = reaper.BR_Win32_GetPrivateProfileString( "trackmgr", "flags", "", reaper.get_ini_file() )
reaper.ShowConsoleMsg(string.format("flag1: %s    flag2: %s\n", flag, flag2))
Here is what comes out with your script (see attachment)
Attached Images
File Type: png Script.png (3.5 KB, 215 views)
Gianfini is offline   Reply With Quote