Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > Windows
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2016, 10:33 AM
pn2015 pn2015 is offline
Member
 
Join Date: Nov 2015
Location: Stockholm
Posts: 3
Default Free scrollwheel-script: Vertical over tracklist and Horizontal zoom over workarea.

Here is a free script that makes the scrollwheel dynamic in Protools.

When mousepointer is on the left side over the tracklist the scrollwheel is working in vertical mode.

When mousepointer is on the right side over the audio/workarea the scrollwheel is working in horizontal zoom mode.

Download Autohotkey (Free opensource)
https://autohotkey.com/

Choose edit script in AHK and paste this. (If you want, you can adjust the values of 430 to fit your session)

Code:
#SingleInstance
#InstallKeybdHook
#InstallMouseHook
CoordMode, Mouse, Relative
 
#IfWinActive, ahk_class DigiAppWndClass


$WheelDown::
MouseGetPos, OutputVarX
If (OutputVarX > 430) 
	Send, ^{vkDBsc01A}
Else
	Send {WheelDown}
Return		
 
$WheelUp::
MouseGetPos, OutputVarX
If (OutputVarX > 430) 
	Send, ^{vkDDsc01B}
Else
	Send {WheelUp}
Return		
#If
Best
Eric
Reply With Quote
  #2  
Old 01-09-2016, 04:25 PM
scullionj scullionj is offline
Member
 
Join Date: Sep 2010
Location: LA
Posts: 32
Default Re: Free scrollwheel-script: Vertical over tracklist and Horizontal zoom over workare

This is really cool, thanks!
Reply With Quote
  #3  
Old 01-11-2016, 01:53 PM
Shan's Avatar
Shan Shan is offline
Moderator
 
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 13,583
Default Re: Free scrollwheel-script: Vertical over tracklist and Horizontal zoom over workare

Quote:
Originally Posted by pn2015 View Post
Here is a free script that makes the scrollwheel dynamic in Protools...

Best
Eric
It's great to see another AHK colleague post their work. This is a great advanced example of using coordinates. Well done Eric!

I noticed you used the "#IF" command with no assigned expression or parameters at the end of your code. I've never seen it used that way before. I'll have to research that approach.

Shane
__________________
Pro Tools Power User Editing

Give your plug-ins a facelift...and skin 'em!
__________________

"Music should be performed by the musician, not by the engineer."

Michael Wagener 25th July 2005, 02:59 PM

__________________

Pro Tools|HD Native 9.0.1 | Pro Tools|HDX 10.2 | Studio One | REAPER 4.22 | HD OMNI | HoboMac Pro 2.26Ghz Quad-Core | W7 Ultimate 64-bit
Reply With Quote
  #4  
Old 01-11-2016, 03:15 PM
guitardom guitardom is offline
Member
 
Join Date: May 2004
Location: New Mexico
Posts: 6,809
Default Re: Free scrollwheel-script: Vertical over tracklist and Horizontal zoom over workare

Quote:
Originally Posted by Shan View Post
It's great to see another AHK colleague post their work. This is a great advanced example of using coordinates. Well done Eric!

I noticed you used the "#IF" command with no assigned expression or parameters at the end of your code. I've never seen it used that way before. I'll have to research that approach.

Shane
Seems to do with IF Pro Tools is active. I as I believe you do, just use "Winactive...." and not #IF. Either way should work.
__________________

pro-tools-pc.com


TRASHER Pro Tools Utility(updated 4-11-2024)

HD Native, Avid 16x16, Eleven Rack, Focusrite Clarett 8preX, UA Quad Apollo TB.

Intel I7 9900k
Win 10
Reply With Quote
  #5  
Old 01-12-2016, 06:37 AM
YYR123's Avatar
YYR123 YYR123 is offline
Member
 
Join Date: Dec 2010
Location: Austin TX
Posts: 13,737
Default Re: Free scrollwheel-script: Vertical over tracklist and Horizontal zoom over workare

When I see code like that for either AHK or Mac Automator or Keyboard Maestro...I realize how big of a simpleton I am....

Oh well you have to start somewhere huh.
__________________
Daniel
HDX - PT12.5.1 - HD I/O 16x8x8
Win10-Pro (v1709)- 6 Core i7-6850k - ASUS X99 Deluxe ii
D-Command Main Unit - 'Ole Blue


http://www.sknoteaudio.com/ plugins rock and are affordable.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical and Horizontal zoom ncmetalguitar88 Pro Tools 10 2 01-17-2013 07:34 PM
Zoom vertical and horizontal at the same time melino 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 4 10-05-2010 12:00 PM
Horizontal zooming w/ scrollwheel mouse in OS X Dopamine Pro Tools TDM Systems (Mac) 3 02-19-2005 08:31 PM
OT: NS-10's - Vertical vs. Horizontal?? rmccam Pro Tools TDM Systems (Mac) 4 05-26-2004 05:12 AM
short cut for horizontal and vertical zoom settings surchur 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 1 08-13-2002 02:26 AM


All times are GMT -7. The time now is 06:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com