• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

Help needed with LrDialogs.showBezel

Advocate ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

Hi all.

I need a bit of help with LrDialogs.showBezel

 

Here the example code (this is super basic code but it helps to illustrate a potential use case)

 

 

 

local LrDevelopController = import "LrDevelopController"

    local maskId = LrDevelopController.getSelectedMask ()
     LrDevelopController.deleteMask (maskId)

 

 

 

 

So I know how to use  LrDialogs.showBezel (message) already but I don't know how to make it appear specifically in some cases and not all the time.

Using the example code I would like to make a bezel to appear OLY if there is no mask selected.

 

Tis probably a super simple thing to do, so forgive my stupidity, but this is escaping me.

 

.

 

 

TOPICS
macOS , SDK , Windows

Views

50

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

LATEST

I figured it out.

It was simple.

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines