Friday, January 16, 2015

TINA-TI : Zoom with CTRL-Scrollwheel

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 :)
  • No comments: