Old 03-03-2018, 07:26 AM   #1
Human being with feelings
mespotine's Avatar
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,555
Default Reascript: ViewPrefs doesn't open given page

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:

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.
mespotine is offline   Reply With Quote

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 07:30 PM.

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