Old 03-03-2018, 07:26 AM   #1
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,572
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:

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.
mespotine 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 12:08 PM.


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