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.
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
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
Copy link to clipboard
Copied
Thanks Manan. Works an absolute treat š