Friday, January 16, 2015

TINA-TI : Zoom with CTRL-Scrollwheel

Back to list
Cadence gives you zoom in/out with the scrollwheel (I prefer CTRL-wheel, but scrollwheel also works, no complaints).

Now, you want the same thing with TINA-TI.

  1. Download and install Autohotkey
  2. Install the Easy Window Dragging (KDE) Style script in your Startup folder so it launches automatically each time you boot your PC.
  3. With the script running, go to the task bar notification area, rightclick on the H (autohotkey) icon and choose Edit this Script.
  4. Insert below code above the "!LButton::" line in your script.
^WheelUp::
SetTitleMatchMode 2
IfWinActive, Schematic Editor
{
    Send !vzi
    return
}
    Send ^{WheelUp}
return
^WheelDown::
SetTitleMatchMode 2
IfWinActive, Schematic Editor
{
    Send !vzo
    return
}
    Send ^{WheelDown}
return

  • Go back to the H icon and this time, do "Reload this Script".
  • You should not be able to zoom in and out with CTRL-wheel. If you don't want to have to do CTRL, you just have to remove the "^" before WheelUp and WheelDown - even on the Send lines :)
  • 1 comment:

    Osman Eralp said...

    The lack of scroll wheel zoom is still a problem with Tina. I never thought to write an Autohotkey script. Great idea! There is still the problem that most tools zoom based on the position of the cursor, whereas Tina always zooms into the middle of the screen. Got any ideas on how to solve that problem?