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 > Dev > Pro Tools Scripting SDK Toolkit
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-27-2023, 02:49 PM
melodydetective melodydetective is offline
Member
 
Join Date: Sep 2002
Location: Austin, TX
Posts: 123
Default Before I start - a quick question

Is it possible within this framework to add functionality to PT like “when a window with this in the title is in front, send a CC/Program Change to this port”? Or maybe if I hit a hot key it could read the title of the window and then send the message?
__________________
M2 Mac Studio Ultra 192/4; Lynx Aurora 16; PT Studio, Cubase, Logic, DP; Video Sync; Aja T-Tap; Metagrid Pro; TouchOSC; VEPro; Acoustic Samples, SM, AM, SF, EW OPUS, JFK, JFC, MTBF, TL;DR
Reply With Quote
  #2  
Old 05-03-2023, 01:42 AM
Dmytro L's Avatar
Dmytro L Dmytro L is offline
Avid
 
Join Date: Dec 2022
Location: Ukraine
Posts: 41
Default Re: Before I start - a quick question

Hi melodydetective, unfortunately, the Scripting SDK does not provide any mechanism to get the state of PT windows to know which one is active or focused and this is not something planned to be added in foreseeable future.

Dmytro
Reply With Quote
  #3  
Old 05-08-2023, 12:50 PM
JamieHardt JamieHardt is offline
Member
 
Join Date: Jan 2023
Location: Los Angeles, CA
Posts: 54
Default Re: Before I start - a quick question

If you want to be able to access the state of application windows, this information is available through the accessibility APIs in macOS and Windows. Definitely check out scripting solutions in the OSs or some tool like Keyboard Maestro that makes these events easier to work with.
__________________
___
Jamie Hardt MPSE
Pro Tools Ultimate 2022.12.0
Mac OS X 12.6.2
Mac Pro (Late 2013)
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
quick start dialog Macsearcher macOS 4 04-29-2014 06:30 PM
Quick start dialog box Jswassing Windows 1 12-05-2012 12:06 AM
Quick Start has failed arkada Pro Tools SE and Essential (Win) 0 03-10-2012 01:54 PM
Quick Tip for re-start/troubleshooting summersleep 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 2 10-25-2006 08:38 PM
Quick quick quick DSP farm card Question Mr335 Pro Tools TDM Systems (Mac) 1 12-06-2002 07:37 AM


All times are GMT -7. The time now is 01:52 PM.


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