top of page
- API -

- API Detail-

reaper.AZ_ShowMessageBox_Infocorresponds to the pushedButtonID output of APIs such as the above

  • reaper.AZ_ButtonID_OK  ・・・1

  • reaper.AZ_ButtonID_Cancel・・・2

  • reaper.AZ_ButtonID_Abort・・・3

  • reaper.AZ_ButtonID_Retry  ・・・4

  • reaper.AZ_ButtonID_Ignore : ・・・5

  • reaper.AZ_ButtonID_Yes : ・・・ 6

  • reaper.AZ_ButtonID_No  ・・・7

  • reaper.AZ_ButtonID_Try : ・・・10

  • reaper.AZ_ButtonID_Continue : ・・・ 11

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


retval, pushedButton = reaper.AZ_ShowMessageBox_Info("1 + 1 = 2 ?", "Question", reaper.AZ_WindowType_Yes_No())


if pushedButton == reaper.AZ_ButtonID_Yes() then

  reaper.AZ_ShowMessageBox_Info("Exactly !!", "Result", reaper.AZ_WindowType_OK())

    

elseif pushedButton == reaper.AZ_ButtonID_No() then

  reaper.AZ_ShowMessageBox_Info("It's different...", "Result", reaper.AZ_WindowType_OK())


end

UI

AZ_ButtonID

Supported versions:

1.2.0

onwards

[Constant] Window button types

bottom of page