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

How to create a viewport in a Dialog ui

Explorer ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

Is there a way to create a preview within a UI Dialog?

 

A kind of visualization of what would be applied when using some action

Example;

Aniquiladorz_0-1613702051516.png

 

I looked in the script gui gui de but I didn't find...

 

 

TOPICS
Actions and scripting

Views

371

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
Adobe
LEGEND ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

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
Explorer ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

I don't think that's what I'm looking for ... Thanks

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
Guide ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

I'm afraid you won't find another approach ‌‌

 

Before showing the dialog box, save the current image to the desired directory, then open it as a preview.

You could also use Generator Image Assets: https://community.adobe.com/t5/photoshop/stop-generator-image-assets/m-p/9550199

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
LEGEND ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

How to use Image Assets for this? You mean exporting as alternative for saving?

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
Guide ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

Yes, export as an alternative for saving.

With Image Assets saving automatically occurs whenever the document is changed, then this can be used to display interactive previews (if we run the preview window in palette mode via bridge talk). I don’t know how this can be used, but it’s possible.

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
LEGEND ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

LATEST

If the script is constructed the way another steps happen one after other then you cannot use BridgeTalk as it would disturb generating assets. Instead of that you may use vbscript that let generator to end its job (even if it takes only milliseconds to export a layer to file).

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
LEGEND ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

You can't change native dialogs, you must create your own to do what you want.

 

Photoshop: Select a layer and 'show this in viewport' or 'zoom to'

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