Image scrolling
Hi,
I've a modal ScriptUI dialog with buttons that zoom in and zoom out using this 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, my problem is that I can't pan the image - the window is modal. Is there a way to implement such a control via script (scroll-left, scroll-right, etc)?
Thanks in advance,
Davide