I tried to use the API-function ViewPrefs to open a specific page, but it simply doesn't, although the description in the API-docs states, it does.
"reaper.ViewPrefs(integer page, string pageByName)
Opens the prefs to a page, use pageByName if page is 0."
All of the following only open the "general"-preferences-page:
Code:
reaper.ViewPrefs(10,"")
reaper.ViewPrefs(20, "Paths")
reaper.ViewPrefs(0, "Paths")
reaper.ViewPrefs(0, "Audio")
Am I holding it wrong or is it a bug?
Edit: I used Reaper 5.75x64 without SWS on Windows 7.