Image scrolling
hi,
i've modal scriptui dialog buttons zoom in , zoom out using kind of code:
var s2t= function (s) { return app.stringidtotypeid(s) } var zoomin= function() { var d, r; d = new actiondescriptor(); r = new actionreference(); r.putenumerated(s2t('menuitemclass'), s2t('menuitemtype'), s2t('zoomin')); d.putreference(s2t('target'), r); executeaction(s2t('select'), d, dialogmodes.no); return app.refresh(); };
now, problem can't pan image - window modal. there way implement such control via script (scroll-left, scroll-right, etc)?
thanks in advance,
davide
i bump own topic after 2 years - has found way center image's view on ps cc2014?
thank you!
davide barranca
---
www.davidebarranca.com
www.cs-extensions.com
More discussions in Photoshop Scripting
adobe
Comments
Post a Comment