autoAddPlacedAssetsImageToStudio

Syntax

StudioPreference.autoAddPlacedAssetsImageToStudio;

Access

read/write

Parameters

Return value boolean

true if images placed from Assets are automatically turned into Studio objects, false if they are not.

Description

(Applies only when using an integration with Assets) The autoAddPlacedAssetsImageToStudio property defines if an image that is placed from Assets should be automatically turned into an object in Studio.

The default value is true.

Examples

Read the current preference

// Read whether placed Assets images are automatically added to Studio.
var pref = app.studioPreferences.autoAddPlacedAssetsImageToStudio;
alert("Auto-add Assets images: " + pref);

Automatically add placed Assets images to Studio

// Automatically turn images placed from Assets into Studio objects.
app.studioPreferences.autoAddPlacedAssetsImageToStudio = true;

Do not automatically add placed Assets images to Studio

// Do not automatically turn images placed from Assets into Studio objects.
app.studioPreferences.autoAddPlacedAssetsImageToStudio = false;

Supported versions

Adobe Version Supported
2023
2024
2025
2026