Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Script to cycle through display performance settings

Explorer ,
Aug 29, 2021 Aug 29, 2021

Copy link to clipboard

Copied

I would like to be able to assign a single shortcut to a script that changes/cycles the display performance to the next setting i.e fast, typical, high quality. Currently I have 3 different shortcuts for each setting, but it's a bit annoying so one that cycles through would be more ideal. Is this possible? Thanks.

 

 

TOPICS
Scripting

Views

54

Likes

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

correct answers 1 Correct answer

Adobe Community Professional , Aug 29, 2021 Aug 29, 2021
Try the following script #targetengine "do" var idx if(idx == undefined) idx = 0 var dOptions = [ViewDisplaySettings.HIGH_QUALITY, ViewDisplaySettings.OPTIMIZED, ViewDisplaySettings.TYPICAL] app.activeWindow.viewDisplaySetting = dOptions[idx++] if(idx == 3) idx = 0 -Manan

Likes

Translate

Translate
Adobe Community Professional ,
Aug 29, 2021 Aug 29, 2021

Copy link to clipboard

Copied

Try the following script

 

#targetengine "do"
var idx
if(idx == undefined) idx = 0
var dOptions = [ViewDisplaySettings.HIGH_QUALITY, ViewDisplaySettings.OPTIMIZED, ViewDisplaySettings.TYPICAL]
app.activeWindow.viewDisplaySetting = dOptions[idx++]
if(idx == 3) idx = 0

 

-Manan

Likes

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 ,
Aug 29, 2021 Aug 29, 2021

Copy link to clipboard

Copied

LATEST

Thanks Manan. Works an absolute treat 🙂

Likes

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