Copiar vínculo al Portapapeles
Copiado
I do not think there's a Menu Command for it. However, here's a snippet you can link to kBar button to do just that.
(function setMagnification() {
var magnificationValue = 1;
isRetina() && magnificationValue /= 2;
app.activeViewer.views[0].options.zoom = magnificationValue;
function isRetina() {
var command, result;
if (isMac()) {
command = 'system_profiler SPDisplaysDataType | grep Resolution';
result = system.callSystem(command);
return /retina/i.test(result);
}
return
...
Copiar vínculo al Portapapeles
Copiado
I do not think there's a Menu Command for it. However, here's a snippet you can link to kBar button to do just that.
(function setMagnification() {
var magnificationValue = 1;
isRetina() && magnificationValue /= 2;
app.activeViewer.views[0].options.zoom = magnificationValue;
function isRetina() {
var command, result;
if (isMac()) {
command = 'system_profiler SPDisplaysDataType | grep Resolution';
result = system.callSystem(command);
return /retina/i.test(result);
}
return false;
}
function isMac() {
return $.os.indexOf('Mac') !== -1;
}
})();
Copiar vínculo al Portapapeles
Copiado
Hey Tomas!
I can set magnification!
I use your script, Roll it, Slice it up and Flow!
Very Very Helpful.
Thank you so much!
Copiar vínculo al Portapapeles
Copiado