The toolbar provides a way to zoom to 100%. But this is not available from the menu. Which means I can't set a hotkey for it. If it's at all possible, I'd very much like to be able to have this choice as a menu pick.
Thoughts?
Thanks.
- Bal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Works great - and hotkey assigned!
However, I didn't find it in under the File menu. Rather I found it
under the Scripts submenu, under the Tools menu.
Thank you very much, Luigi. :)
- Bal
Last edit: Bal Simon 2017-06-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you''d like a input box where you can type in the percentage of your desired zoom level, similar to the one you'd get by pressing ctrl+y when using Adobe Acrobat Reader, you can use the following script.
def percent = javax.swing.JOptionPane.&showInputDialog 'Zoom To (%)' toInteger()
c.setZoom(percent/100)
Thanks for the script!
I'd also suggest zoom to 100% be added in the default toolbar, in order less experienced users can take advantage of the feature too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
Is it possible to add the command "center selected node" to the script?
The idea is to zoom to 100% then "center selected node" in same script.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The toolbar provides a way to zoom to 100%. But this is not available from the menu. Which means I can't set a hotkey for it. If it's at all possible, I'd very much like to be able to have this choice as a menu pick.
Thoughts?
Thanks.
- Bal
+1 I could use that, too. I suspect there is a one-line script for this.
This is the (suspected) one-line script. :p
Once the script is loaded and appears in the file menu, you can assign a hotkey to it.
Works great - and hotkey assigned!
However, I didn't find it in under the File menu. Rather I found it
under the Scripts submenu, under the Tools menu.
Thank you very much, Luigi. :)
- Bal
Last edit: Bal Simon 2017-06-24
I meant file menu as in menu bar, sorry for my poor choice of words, and I'm glad you found it under Tools -> Scripts -> (script name here).
Luigi,
Thanks. Do you know - if Zoom(1) = 100% , what are other options?
[edit] after a little experimentation, .5 = 50% ; 2.5 = 250% ; etc
Last edit: Ken Hill 2017-06-24
Yes, that's correct inference.
If you''d like a input box where you can type in the percentage of your desired zoom level, similar to the one you'd get by pressing ctrl+y when using Adobe Acrobat Reader, you can use the following script.
Thanks for the script!
I'd also suggest zoom to 100% be added in the default toolbar, in order less experienced users can take advantage of the feature too.
Hi.
Is it possible to add the command "center selected node" to the script?
The idea is to zoom to 100% then "center selected node" in same script.
Thanks!
Here's a script that also centers the selected node.
Cadux, have you checked out the script, MapInsight? It has a connection manager tool that you wanted.
Many thanks for the script Luigi Kang!
Thank you Luigi, nice script, I find it very useful.
Sfpc