how can I Edit>preferences>performance>use Graphics Processor option through the jsx script


hi need check , access edit>preferences>performance>use graphics processor option setting through script. cant find in object domain, have following check current state:

var ref = new actionreference();

ref.putenumerated( charidtotypeid('capp'), charidtotypeid('ordn'), charidtotypeid('trgt') );

var openglenabled = executeactionget(ref).getobjectvalue (charidtotypeid('cchp')).getboolean (stringidtotypeid('openglenabled'));

alert( openglenabled );

 

but unable set value using this:

 

var openglenabled = executeactionget(ref).getobjectvalue (charidtotypeid('cchp')).putboolean (stringidtotypeid('openglenabled'));

 

 

i tried using recorded action doesnt work. recommendations?

i can't on specifics, know little scripting subsystem , object model in area, i'm compelled ask: 

 

why want this?

 

is photoshop dropping out of opengl mode repeatedly?

 

if so, perhaps should address directly, rather trying work around it.  os run, , video card have?

 

-noel



More discussions in Photoshop General Discussion


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account