-
1. Re: Zooming in and out with predictable, consistent increments.
P Spier Apr 2, 2011 5:20 AM (in response to Canned Pug)<sigh> It's not just you. </sigh>
Back in the good old days of CS3 and earlier, ID had a navigator panel like Photoshop and Illustrator, and it was great. It even included a zoom slider that allowed you to adjust the size on a continuum. In CS4 the new Power Zoom feature (which I find utterly impossible to use) where holding the mouse down with the hand tool zooms out to show the whole pasteboard was introduced, and the navigator was completely removed. I screamed very loudly about this, as did at least one other supposedly influential user, but alas the desicion was set in stone and the navigator is no more.
So now any zooming you do with a click of the zoom tool or by using the scroll wheel in conjunction with Power Zoom (which is what I find essentially impossible) is limited to the preset increments you'll find in the zoom dropdown list. It's stupid, annoying, and outside user control to change. It probably won't do any good, but please file a feature request on the official form: Adobe - Feature Request/Bug Report Form
-
2. Re: Zooming in and out with predictable, consistent increments.
Marijan Tompa Apr 2, 2011 5:47 AM (in response to P Spier)Hey,
I just tired to create workaround through scripting!
#targetengine tomaxxiTEST var myWin = new Window('palette', "myZoom"); var g0 = myWin.add('group'); g0.orientation = 'row'; var mySlider = g0.add('slider'); mySlider.minvalue = 25; mySlider.maxvalue = 1000; mySlider.preferredSize = [250,20]; mySlider.value = (app.documents.length ? app.activeWindow.zoomPercentage : 0); mySlider.onChanging = function(){try{app.activeWindow.zoomPercentage = this.value; myLabel.text = this.value;}catch(_){}}; var myLabel = g0.add('statictext', undefined, (app.documents.length ? app.activeWindow.zoomPercentage : "N/A")); myLabel.characters = 5; var g1 = myWin.add('group'); var btnSub10 = g1.add('button', undefined, "- 10%", {xZoom: -10}); btnSub10.onClick = function(){adjustZoom(this);}; var btnSub25 = g1.add('button', undefined, "- 25%", {xZoom: -25}); btnSub25.onClick = function(){adjustZoom(this);}; var btnSub50 = g1.add('button', undefined, "- 50%", {xZoom: -50}); btnSub50.onClick = function(){adjustZoom(this);}; var g2 = myWin.add('group'); var btnAdd10 = g2.add('button', undefined, "10%", {xZoom: 10}); btnAdd10.onClick = function(){adjustZoom(this);}; var btnAdd25 = g2.add('button', undefined, "25%", {xZoom: 25}); btnAdd25.onClick = function(){adjustZoom(this);}; var btnAdd50 = g2.add('button', undefined, "50%", {xZoom: 50}); btnAdd50.onClick = function(){adjustZoom(this);}; myWin.onActivate = function(){ try{ mySlider.value = app.activeWindow.zoomPercentage; myLabel.text = app.activeWindow.zoomPercentage; g0.enabled = g1.enabled = g2.enabled = true; }catch(_){ mySlider.value = (app.documents.length ? app.activeWindow.zoomPercentage : 0); myLabel.text = (app.documents.length ? app.activeWindow.zoomPercentage : "N/A"); g0.enabled = g1.enabled = g2.enabled = false; } } myWin.center(); myWin.show(); function adjustZoom(obj){ try{app.activeWindow.zoomPercentage += obj.properties.xZoom; mySlider.value = app.activeWindow.zoomPercentage; myLabel.text = app.activeWindow.zoomPercentage;} catch(_){} }Hope that helps.
--
Marijan (tomaxxi)
-
3. Re: Zooming in and out with predictable, consistent increments.
peter at knowhowpro Apr 2, 2011 6:22 AM (in response to Marijan Tompa)Marijan [tomaxxi] wrote:
Hey,
I just tired to create workaround through scripting!
#targetengine tomaxxiTEST var myWin = new Window('palette', "myZoom"); var g0 = myWin.add('group'); g0.orientation = 'row'; var mySlider = g0.add('slider'); mySlider.minvalue = 25; mySlider.maxvalue = 1000; mySlider.preferredSize = [250,20]; mySlider.value = (app.documents.length ? app.activeWindow.zoomPercentage : 0); mySlider.onChanging = function(){try{app.activeWindow.zoomPercentage = this.value; myLabel.text = this.value;}catch(_){}}; var myLabel = g0.add('statictext', undefined, (app.documents.length ? app.activeWindow.zoomPercentage : "N/A")); myLabel.characters = 5; var g1 = myWin.add('group'); var btnSub10 = g1.add('button', undefined, "- 10%", {xZoom: -10}); btnSub10.onClick = function(){adjustZoom(this);}; var btnSub25 = g1.add('button', undefined, "- 25%", {xZoom: -25}); btnSub25.onClick = function(){adjustZoom(this);}; var btnSub50 = g1.add('button', undefined, "- 50%", {xZoom: -50}); btnSub50.onClick = function(){adjustZoom(this);}; var g2 = myWin.add('group'); var btnAdd10 = g2.add('button', undefined, "10%", {xZoom: 10}); btnAdd10.onClick = function(){adjustZoom(this);}; var btnAdd25 = g2.add('button', undefined, "25%", {xZoom: 25}); btnAdd25.onClick = function(){adjustZoom(this);}; var btnAdd50 = g2.add('button', undefined, "50%", {xZoom: 50}); btnAdd50.onClick = function(){adjustZoom(this);}; myWin.onActivate = function(){ try{ mySlider.value = app.activeWindow.zoomPercentage; myLabel.text = app.activeWindow.zoomPercentage; g0.enabled = g1.enabled = g2.enabled = true; }catch(_){ mySlider.value = (app.documents.length ? app.activeWindow.zoomPercentage : 0); myLabel.text = (app.documents.length ? app.activeWindow.zoomPercentage : "N/A"); g0.enabled = g1.enabled = g2.enabled = false; } } myWin.center(); myWin.show(); function adjustZoom(obj){ try{app.activeWindow.zoomPercentage += obj.properties.xZoom; mySlider.value = app.activeWindow.zoomPercentage; myLabel.text = app.activeWindow.zoomPercentage;} catch(_){} }Hope that helps.
--
Marijan (tomaxxi)
This is absolutely terrific!
I don't mean to dismiss the value of this amazing script, but Mac users who have trackpads can use the two-finger pinch gesture to zoom in and out. Mac and Windows users can zoom with trackballs or wheel mice, either by default, or by setting a modifier key to work with the ball or wheel.
HTH
Regards,
Peter
_______________________
Peter Gold
KnowHow ProServices
-
4. Re: Zooming in and out with predictable, consistent increments.
Marijan Tompa Apr 2, 2011 6:26 AM (in response to peter at knowhowpro)Yes, yes, I know that,
but this was more like "moment of inspiration"
It took me few minutes to write this piece of script--
Marijan (tomaxxi)
-
5. Re: Zooming in and out with predictable, consistent increments.
peter at knowhowpro Apr 2, 2011 6:31 AM (in response to Marijan Tompa)Marijan [tomaxxi] wrote:
Yes, yes, I know that,
but this was more like "moment of inspiration"
It took me few minutes to write this piece of script--
Marijan (tomaxxi)
It IS inspired and brilliant, no question about it!
So, how long would it take you to script something like "speech-to-layout," that would work like Dragon Naturally Speaking, which converts speech to text?
Regards,
Peter
_______________________
Peter Gold
KnowHow ProServices
-
6. Re: Zooming in and out with predictable, consistent increments.
Marijan Tompa Apr 2, 2011 6:41 AM (in response to peter at knowhowpro)Hey, wait a minute!
Maybe we can integrate Google Motion techology into InDesign!
http://mail.google.com/mail/help/motion.html
I think it's Feature Request time!!!
--
Marijan (tomaxxi)
-
7. Re: Zooming in and out with predictable, consistent increments.
P Spier Apr 2, 2011 6:42 AM (in response to peter at knowhowpro)peter at knowhowpro wrote:
I don't mean to dismiss the value of this amazing script, but Mac users who have trackpads can use the two-finger pinch gesture to zoom in and out. Mac and Windows users can zoom with trackballs or wheel mice, either by default, or by setting a modifier key to work with the ball or wheel.
But you only get, at least on Windows XP, the predfined zoom levels, not anything in between, which is what the slider is providing.
Marijan,
This is a great improvement. Can you think of a way to make it dockable so it could be run as a startup script and behave like a panel that could be shown or hidden without having to rerun the script? Or maybe a way to minmize the window so it isn't always taking up so much space? I know that's asking an awful lot.
Also, I love seeing the zoom percentage listed, but on my system there doesn't seem to be quite enough space for two decimal places:
-
8. Re: Zooming in and out with predictable, consistent increments.
Marijan Tompa Apr 2, 2011 6:52 AM (in response to P Spier)Yes, I know it's taking a lot of space, and it's really ugly!
You are right, I have to make it like dockable panel!
Also, maybe I can integrate "real" zoom into it http://adobe.ly/frdcgF
and also few other buttons (Fit Page, Fit Spread, Fit Selected Object...)
--
Marijan (tomaxxi)
-
9. Re: Zooming in and out with predictable, consistent increments.
P Spier Apr 2, 2011 6:58 AM (in response to Marijan Tompa)Well, if you're not too busy....
-
10. Re: Zooming in and out with predictable, consistent increments.
Marijan Tompa Apr 2, 2011 7:02 AM (in response to P Spier)I'll do my best
--
Marijan (tomaxxi)
-
11. Re: Zooming in and out with predictable, consistent increments.
Canned Pug Apr 2, 2011 8:44 AM (in response to P Spier)i will do that.
i am in cs3 and it doesnt go incremenrally up the lsts of available... it skips to the closest view and you have to go down backwards to where u want. maybe u meant cs2?
Grrrr
...from Miickii's iiPhone
-
12. Re: Zooming in and out with predictable, consistent increments.
Canned Pug Apr 2, 2011 8:50 AM (in response to Marijan Tompa)go for it!
...from Miickii's iiPhone
-
13. Re: Zooming in and out with predictable, consistent increments.
Canned Pug Apr 2, 2011 8:52 AM (in response to P Spier)what about us'ns who work with stylus/tablets and keyboard shortcuts?!
...from Miickii's iiPhone
-
14. Re: Zooming in and out with predictable, consistent increments.
Canned Pug Apr 2, 2011 8:53 AM (in response to Marijan Tompa)... and Smell Technology for realism...
...from Miickii's iiPhone





